07.10.2010, 19:57
You can like
pawn Code:
#define MAX_TEAM_MEMBERS 20 //Change to yours...
//OnFilterScriptInIt
SetTimerEx("AutoBalance",600000,true,"d",playerid); //600000 = 10minutes.
forward AutoBalance(playerid);
public AutoBalance(playerid)
{
//Use 'if' statement to see how many people on team, something like this
if(gTeam[playerid] > MAX_TEAM_MEMBERS)
{
SetPlayerTeam(playerid,2); // Something like this should work.
}
return 1;
}

