The issue that I’m having is that I’m finding some map icons will not show. For instance, 497, 499 and 500 don’t show up when I try to use them. If I change the number to something else and restart the resource, the icon will show on the map.
What’s the deal? Are some icons no longer available or is there something I need to change to be able to use certain icons?
blip1 = {x = -1756.19, y = 427.31, z =126.68, sprite = 500, color = 75},
if Config.ShowBlips then
-- Create blips
Citizen.CreateThread(function()
for k,v in pairs(Config.Zones) do
local blip = AddBlipForCoord(v.x, v.y, v.z)
SetBlipSprite (blip, v.sprite)
SetBlipDisplay(blip, 4)
SetBlipScale (blip, 0.9)
SetBlipColour (blip, v.color)
SetBlipAsShortRange(blip, true)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString(v.name)
EndTextCommandSetBlipName(blip)
end
end)
end
blip1 = {x = -1756.19, y = 427.31, z =126.68, sprite = 500, color = 75, name = "CHANGE ME!"},
if Config.ShowBlips then
-- Create blips
Citizen.CreateThread(function()
for k,v in pairs(Config.Zones) do
local blip = AddBlipForCoord(blip1.x, blip1.y, blip1.z)
SetBlipSprite (blip, blip1.sprite)
SetBlipDisplay(blip, 4)
SetBlipScale (blip, 0.9)
SetBlipColour (blip, blip1.color)
SetBlipAsShortRange(blip, true)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString(blip1.name)
EndTextCommandSetBlipName(blip)
end
end)
end
Sorry for the confusion, Woopi, my issue isn’t with the vars not carrying over. If I choose one of the hundred or so other blip ID’s and use it, it works fine. If I use one those DLC blips whose ID’s I listed, it does not. There’s 20 or so blips around the map with this function, the only ones that don’t show are the one’s whose Id’s are those that I listed.
Playing around a bit but no progress. I updated to latest artifact, and left all other resources unstarted to try to weed out any code conflicts but the DLC icons still won’t show.
I found another thread where someone had the same issue but said a vrp install was able to display them so I’m going to download a copy to dig through in the hopes of finding an alternate method of setting the blip that can show the dlc content.