Posts: 508
Threads: 68
Joined: Feb 2009
Reputation:
0
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
Posts: 1,506
Threads: 69
Joined: Feb 2008
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
Posts: 272
Threads: 2
Joined: Jul 2010
Reputation:
0
SetPlayerMarkerForPlayer(i,playerid,0xFFFFFF00);
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?