Hi there,
I’ve added a custom blip using the following script (clientside)
local blips = {
-- Example {title="", colour=, id=, x=, y=, z=}
{title="Laundry", colour=69, id=500, x=1190.6, y=-3329.49, z=5.61}
}
-- DO NOT EDIT BELOW ME
Citizen.CreateThread(function()
for _, info in pairs (blips) do
local newblip = AddBlipForCoord(info.x,info.y,info.z)
SetBlipSprite(newblip, info.id)
SetBlipDisplay(newblip,4)
SetBlipScale(newblip,1.2)
SetBlipColour(newblip, info.colour)
SetBlipAsShortRange(newblip,true)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString(info.title)
EndTextCommandSetBlipName(newblip)
end
end)
This makes my blip appear in the list on the right-hand side, but not on the actual map itself. I can click on where the blip would be on the map, and it highlights it, but for some reason the sprite doesn’t appear?
Am I being stupid here?