Help - Max player in team
#1

Hello , I have 1 teams police

I want something like 5 players max in this team.

Please help me.
Reply
#2

How you save it ? Like you account saving.
Reply
#3

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


Forum Jump:


Users browsing this thread: 2 Guest(s)