02.08.2011, 00:51
pawn Code:
new count;
for(new i;i<MAX_PLAYERS;i++)
{
if(PlayerTeam[i] == 3) count ++;//Of course change this line
}
if(count > 5)
{
//You can freeze player, set their pos to somewhere, and make them spectating other player.
}
else
{
//Spawn player
}