23.06.2010, 09:59
You could either make a variable like this
The other way is to do a check that checks if there is anyone in a team using a for loop.
pawn Код:
new TeamBlue, TeamRed;
//When a player joins
TeamBlue ++; /* Or*/ TeamRed ++;
//When a player leaves
TeamBlue --; /* Or*/ TeamRed --;

