13.08.2011, 10:10
Make a counter like this
//above your script
new teamcount=0;
//if player enter team
teamcount++;
//if player leaves team
teamcount--;
And
Make for every team this count.
//above your script
new teamcount=0;
//if player enter team
teamcount++;
//if player leaves team
teamcount--;
And
Код:
//onplayerrequestspawn if(teamcount>=5) { return 0; }