Invisible in Radar... - 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: Invisible in Radar... (
/showthread.php?tid=619060)
Invisible in Radar... -
Gotham - 13.10.2016
Hi guys,
I wanna make admins if on duty invisible on radar.But the color of there name tag and chat should be red.
I have figured out of chat by using hex it works but how do I make the name tag?
Please help!
Re: Invisible in Radar... -
Gotham - 13.10.2016
Reply anyone please!?
Re: Invisible in Radar... -
Airblog - 13.10.2016
Whats your problem exactly
I think you used ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL);
If you used it use setplayermarkerforplayer for all player when connect and you can use it as you want
Re: Invisible in Radar... -
Threshold - 13.10.2016
PHP код:
SetPlayerMarkerForPlayer(playerid, showplayerid, 0xFF000000 );
??
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer
The wiki even tells you exactly how to do this...
Re: Invisible in Radar... -
Gotham - 13.10.2016
I don't get it properly lol..
Re: Invisible in Radar... -
DTV - 13.10.2016
Simply set the nametag color of the on duty admin using whatever color you want using SetPlayerColor. To have them invisible on the radar (assuming everyone else appears on the radar via ShowPlayerMarkers), you have to change the last two character of the color to 00. The last two characters of the color determine the transparency of the color (FF being non transparent and 00 being invisible).
Re: Invisible in Radar... -
Gotham - 13.10.2016
Okie dokie
Re: Invisible in Radar... -
DTV - 13.10.2016
I forgot to clarify, you should only change the last two characters of the color when you set their color on the radar via SetPlayerMarkerForPlayer.