05.05.2014, 13:02
For example you could have:
Then just use:
pawn Код:
new redTeam;
new blueTeam;
pawn Код:
if(redTeam > blueTeam)
{
// Put your player in the blue team
}
else if(blueTeam > redTeam)
{
// Put your player in the red team
}
else
{
// Just put the player in red or blue, team will be unbalanced until the next player joins.
}

