├── README.md
├── config.lua
├── efblips.lua
└── fxmanifest.lua
/README.md:
--------------------------------------------------------------------------------
1 |
Make easy blip for your FiveM Server
2 |
3 |
4 | 
5 |
6 |
7 |
8 |
9 | easy config
10 |
11 |
12 | ```lua
13 | [1] = {
14 | vector = vector3(538.32, -183.18, 54.47),
15 | text = "Repair Station",
16 | color = 1,
17 | sprite = 446,
18 | scale = 0.5,
19 | },
20 | ```
21 |
22 |
23 |
24 | # [Tebex ](https://ef-productions.tebex.io/)
25 | # [Discord ](https://discord.gg/WbDp5GQ45t)
26 | # [More Scripts ➤](https://github.com/blastersuraj?tab=repositories)
27 | # [Buy me a Coffee 😊 ➤](https://ef-development.tebex.io/package/5636646)
28 |
29 |
--------------------------------------------------------------------------------
/config.lua:
--------------------------------------------------------------------------------
1 | Config = Config or {}
2 |
3 | ---EF-Blips
4 | Config.blipsShow = true
5 |
6 | Config.Locations = {
7 | [1] = {
8 | vector = vector3(538.32, -183.18, 54.47),
9 | text = "Repair Station",
10 | color = 1,
11 | sprite = 446,
12 | scale = 0.5,
13 | },
14 | [2] = {
15 | vector = vector3(-778.01, 4965.29, 209.68),
16 | text = "Hunting Zone",
17 | color = 5,
18 | sprite = 432,
19 | scale = 0.5,
20 | },
21 | [3] = {
22 | vector = vector3(-72.05, 6252.36, 31.09),
23 | text = "Chicken Factory",
24 | color = 26,
25 | sprite = 273,
26 | scale = 0.5,
27 | },
28 | -- Example
29 | -- [[
30 | -- [4] = {
31 | -- vector = vector3(0, 0, 0),
32 | -- text = "Blip Name",
33 | -- color = 3,
34 | -- sprite = Blip ID,
35 | -- scale = size,
36 | -- }, ]]
37 |
38 | --- add more
39 | }
40 |
--------------------------------------------------------------------------------
/efblips.lua:
--------------------------------------------------------------------------------
1 | if Config.blipsShow then
2 | CreateThread(function()
3 | for _,v in pairs(Config.Locations) do
4 | local blip = AddBlipForCoord(v.vector)
5 | SetBlipSprite(blip, v.sprite)
6 | SetBlipScale(blip, v.scale)
7 | SetBlipColour(blip, v.color)
8 | SetBlipAsShortRange(blip, true)
9 | BeginTextCommandSetBlipName("STRING")
10 | AddTextComponentString(v.text)
11 | EndTextCommandSetBlipName(blip)
12 | end
13 | end)
14 | end
15 |
--------------------------------------------------------------------------------
/fxmanifest.lua:
--------------------------------------------------------------------------------
1 | fx_version 'cerulean'
2 | game 'gta5'
3 |
4 |
5 | author 'blastersuraj'
6 | description 'Blip Creator Free For QBCore and ESX'
7 | version '1.0'
8 | discord 'https://discord.gg/WbDp5GQ45t'
9 | scriptname 'ef-blips'
10 |
11 |
12 |
13 | shared_script 'config.lua'
14 | client_script 'efblips.lua'
15 |
--------------------------------------------------------------------------------