SetPlayerColor within Markers - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SetPlayerColor within Markers (
/showthread.php?tid=642043)
SetPlayerColor within Markers -
Dello - 23.09.2017
Hello there.
I need a system that, set color to player, but dont't set markers. I dont know if you understand me.
I used SetPlayerColor(playerid, COLOR_VIP);
But, "COLOR_VIP" is seen in around the map.
(I dont want disable all the player markers, because in the gamemode, there are a system that used this)
(Sorry for the bad english)
Re: SetPlayerColor within Markers -
Zhao - 23.09.2017
See:
https://sampwiki.blast.hk/wiki/Color_list
You need to change the alpha value in your define. So let's say if the HEX code was #FFFFFF (white) then you would need to do this to make them invisible on the radar/map:
Код:
#define COLOR_VIP 0xFFFFFF00
Re: SetPlayerColor within Markers -
Dello - 23.09.2017
Ohhh, thanks, i going to try this.