Hey, so I’ve seen this asked a couple of times, so I made a simple ass blip function set:
Blip sprites, colors: https://docs.fivem.net/docs/game-references/blips/
Blip displays:
1 = Doesn’t show up, ever, anywhere.
2 = Shows on both main map and minimap. (Selectable on map)
3 = Shows on main map only. (Selectable on map)
4 = Shows on main map only. (Selectable on map)
5 = Shows on minimap only.
6 = Shows on both main map and minimap. (Selectable on map)
7 = Doesn’t show up, ever, anywhere.
8 = Shows on both main map and minimap. (Not selectable on map)
9 = Shows on minimap only.
10 = Shows on both main map and minimap. (Not selectable on map)
Blip scales: experiment (I recommend 1.0)
allBlips = {}
function makeBlip(x, y, z, sprite, color, size, display, title)
local blip = AddBlipForCoord(x, y, z)
SetBlipSprite(blip, sprite)
SetBlipColour(blip, color)
SetBlipDisplay(blip, display)
SetBlipScale(blip, size)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString(title)
EndTextCommandSetBlipName(blip)
table.insert(AllBlips, blip)
end
function removeAll()
for i, blip in pairs(allBlips) do
RemoveBlip(blip)
end
end
--REMOVE SPECIFIC BLIP:
RemoveBlip(allBlips[1])