Help with Team PlayerMarkers please
#1

So i put this on OnPlayerConnect:
Код:
if(UAVSTATUS == true){
  switch(gTeam[playerid]){
   case TEAM_ARMY:{
     for(new i;i<MAX_PLAYERS;i++)
      SetPlayerMarkerForPlayer(i, playerid, TEAM_COLOR_ARMY);
   }
   case TEAM_MAFFIA:{
     for(new i;i<MAX_PLAYERS;i++)
      SetPlayerMarkerForPlayer(i, playerid, TEAM_COLOR_MAFFIA);
   }
  }
  } else {
   for(new i;i<MAX_PLAYERS;i++)
     SetPlayerMarkerForPlayer(i, playerid, invisible);
  }
on GameModeInit
UAVSTATUS = false
and if someone buys it it will be true
But the players are still visible :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)