17.05.2010, 11:50
Quote:
Originally Posted by DaneAMattie
Yes
so UAV reveals ennemy markers on the map and i made a lil script above (with some help of someone else) but its still not working :/ |
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;