Round out players
#4

pawn Код:
new TeamStatus; //At the top

//When you assign teams
for(new i=0; i<MAX_PLAYERS; i++)
{
   if(IsPlayerConnected(playerid))
   {
      /* Team Variable */ = TeamStatus;
     TeamStatus++;
     if(TeamStatus == 4) TeamStatus = 0;
   }
}
Try that. It should deal players out to the teams.

Edit:Beat me to it. But two different ways. Maybe I read the post wrong.
Reply


Messages In This Thread
Round out players - by StrickenKid - 13.04.2009, 22:26
Re: Round out players - by StrickenKid - 14.04.2009, 00:56
Re: Round out players - by ICECOLDKILLAK8 - 14.04.2009, 01:08
Re: Round out players - by Backwardsman97 - 14.04.2009, 01:12
Re: Round out players - by StrickenKid - 14.04.2009, 01:25
Re: Round out players - by Backwardsman97 - 14.04.2009, 02:18

Forum Jump:


Users browsing this thread: 1 Guest(s)