20.11.2010, 16:45
If you want to make player invisible on radar, use this function:
with this, you don't need to save anything to arrays / PVars.
pawn Код:
stock togglePlayerMapIconVisibility(playerid,bool:visible){ //written by DracoBlue
SetPlayerColor(playerid, (GetPlayerColor(playerid) | 0xFF) - (visible ? 0x00 : 0xFF));
}