Invisible on minimap
#3

I'm not entirely sure what you mean by "not for all players". If you mean to make an individual player invisible to everyone you can just set their alpha to 0 like so:
pawn Код:
SetPlayerColor(playerid, GetPlayerColor(playerid) & ~0xFF);
However, if the cops need to see each other you will need to use SetPlayerMarkerForPlayer in a loop. First use the above to make the player invisible to everyone. Then start a player loop, check if they are a cop and use SetPlayerMarkerForPlayer accordingly.
Reply


Messages In This Thread
Invisible on minimap - by kyriakos587 - 14.05.2015, 21:03
Re: Invisible on minimap - by Konstantinos - 14.05.2015, 21:04
Re: Invisible on minimap - by Vince - 14.05.2015, 21:08
Re: Invisible on minimap - by kyriakos587 - 14.05.2015, 21:13

Forum Jump:


Users browsing this thread: 1 Guest(s)