17.05.2010, 12:07
Quote:
Originally Posted by DJDhan
Quote:
On top of script: Код:
new bool: UAVSTATUS[MAX_PLAYERS]; Код:
ShowPlayerMarkers(0); Код:
UAVSTATUS[playerid]=true; switch(gTeam[playerid]) { case TEAM_ARMY: { for(new i=0;i<=GetMaxPlayer();i++) SetPlayerMarkerForPlayer(playerid, i, TEAM_COLOR_MAFFIA); } case TEAM_MAFFIA: { for(new i=0;i<=GetMaxPlayers();i++) SetPlayerMarkerForPlayer(playerid, i, TEAM_COLOR_ARMY); } } Код:
UAVSTATUS[playerid]=false; |
and at the start all ennemy players must be invisible