14.05.2015, 21:08
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:
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.
pawn Код:
SetPlayerColor(playerid, GetPlayerColor(playerid) & ~0xFF);