Hide Player Map Icon - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Hide Player Map Icon (
/showthread.php?tid=168806)
Hide Player Map Icon -
juuleman - 17.08.2010
Hello Guys,
I'm wondering how i can hide a player's map icon, so that others can't see that player.
I already tried something but that didn't worked...
Best Regards,
Juuleman
Re: Hide Player Map Icon -
Mike Garber - 17.08.2010
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
SetPlayerMarkerForPlayer(i,playerid,00);
}
00 = Transpartent (invisible) according to the Wiki
Re: Hide Player Map Icon -
juuleman - 17.08.2010
Quote:
Originally Posted by Mike Garber
|
Yeah, i tried this but other players still see mee with my old color...
Re: Hide Player Map Icon -
vital2k - 17.08.2010
SetPlayerMarkerForPlayer(i,playerid,0x
FFFFFF00);
First two F's = Red Channel
Second two F's = Green Channel
Third two F's = Blue channel
The 0's is where you put the alpha.
These values are base 16 from 0-F
Try using SetPlayerColor(playerid, 0xFFFFFFFF); as well?