Some DLC map icons not showing

Hi there everyone,

[EDIT] Looks like it’s some DLC map icons. How do I get those to show?[/EDIT]

I’m coming across an issue where some map icons will not show.

I’m using list of map blips and associated numbers to add icons to the map.

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?

Anyone have an idea?

How did you create blip on map?
Can you show for me your code?

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

Try to do this:

local blip = AddBlipForCoord(0.0, 0.0, 0.0)
SetBlipSprite(blip, 500)
SetBlipDisplay(blip, 4)
SetBlipScale(blip, 0.9)
SetBlipColour(blip, 1)
SetBlipAsShortRange(blip, true)

BeginTextCommandSetBlipName("STRING")
AddTextComponentString("check")
EndTextCommandSetBlipName(blip)

check it (put it out of functions)
if it work you have to check your code

It doesn’t and I found this thread which explains why it’s probably happening:

It seems that some of the DLC icons are not showing for some people. I need to find out how to get them working for me.

does it work for you on the bigmap?

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

try that

no, no, no
because for what have this loop?:
for k,v in pairs(Config.Zones) do

if it work on the big map then try change this: SetBlipAsShortRange(blip, true) for this: SetBlipAsShortRange(blip, false)

ahhh im to tired for this shit that is true tho, but why use for loop for this? why not just a while?

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.

ahh ok

good luck you then

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.