14.04.2009, 01:12
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;
}
}
Edit:Beat me to it. But two different ways. Maybe I read the post wrong.