How to change color of blips/marker to my Store

Hello world,
today I start my project of store

do you know how to change the color of the Blips/marker because I can’t do it

to make my code, I help to the code of hoegarden31 fo your Weapon Store [v1.1]
this is his code

 function ShowWeashopBlips(bool)
	if bool and #weashop_blips == 0 then
		for station,pos in pairs(weashop_locations) do
			local loc = pos
			pos = pos.entering
			local blip = AddBlipForCoord(pos[1],pos[2],pos[3])
			-- 60 58 137
			SetBlipSprite(blip,110)
			BeginTextCommandSetBlipName("STRING")
			AddTextComponentString('Ammunation')
			EndTextCommandSetBlipName(blip)
			SetBlipAsShortRange(blip,true)
			SetBlipAsMissionCreatorBlip(blip,true)
			table.insert(weashop_blips, {blip = blip, pos = loc})
		end

I try with SetBlipColor(blip, 3) for change the color but I can’t

Can you help me Please ?

Benjamin

Hello,

Anybody with info about setting color to blips ?

Thanks !

1 Like

Try this…

SetBlipColour(blip, 3)

And please where is possible to see all the number for the colors ? thanks

1 = Red
2 = Green
3 = Orange
4 = Blue
5 = Light Blue
6 = Purple
7 = White
1 Like

thank you so much ! thanks

Hello,

“SetBlipColour(blip, 3)” works perfect but “4” is white not blue for me…

I can’t find any blue/darkblue color, I’ve tested from “1” to “12” without success…

Try this one…

3 Likes

Perfect ! :innocent:

Here, all blips ID if you want :wink:

https://wiki.■■■■■■■■■■■/index.php?title=Blips

1 Like

3 year old topic