Posts: 591
Threads: 121
Joined: Oct 2010
Reputation:
0
hey, I own a zombie server, there's a option to choose team when a player connects, but sometimes nobody want's to go to be a zombie, how do I make a auto team balance, that chooses a random player and changes its team ?
Posts: 591
Threads: 121
Joined: Oct 2010
Reputation:
0
anybody knows how to do it ?
Posts: 150
Threads: 14
Joined: Sep 2010
if you want to totally block "team choosing" then create global int variable. and onplayerspawn like set one team to a player if a variable == 0, and then set it to 1, and then if variable == 1 set it to 0 and set other player's team different