25.03.2010, 15:58
Team Balancing
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
for(new p <= 0++; p < GetMaxPlayers(); p++)
{
if(2 > gTeam[p] == TEAM > gTeam[p] == TEAM > gTeam[p] == TEAM > gTeam[p] == TEAM > gTeam[p] == TEAM)
{
SendClientMessage(playerid,COLOR_, " ");
return 0;
}
}
return 1;
}