Auto Balance?
#1

Ok, ive NEVER atempted this, so i need help. I need a teem balancer.

I want it so every 5 minutes it checks if the teams are balanced, and if not it balances them by choosing a random person and setting their team team[playerid]=teamwithlessplayershere; and the one chosen at random is respawned but not killed.

So if team=1 has 10 people and team=2 only has 8, it goes to 9 and 9. But if team=1 has 7 and team=2 has 8, it stays the same.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)