Posts: 156
Threads: 46
Joined: Jul 2010
Reputation:
0
How to make a team balancer? I wanted to make a team balancer for 3 teams, onplayerrequestspawn.. but it wasnt working....
Anyone could help me with that ?
Posts: 2,175
Threads: 235
Joined: Sep 2009
Reputation:
0
make a var when player select a team then if(var == 3) you cant select a team ..
Posts: 2,896
Threads: 11
Joined: Sep 2008
Reputation:
0
Create a variable that holds the amount of players on each team. If they spawn with the specified team, up the variable by one. Then in OnPlayerRequestSpawn, check if the team the player wants to spawn with has a higher count then the others. If so, return 0 and notify them why they cannot spawn with that team.