SA-MP Forums Archive
Auto team balance - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Auto team balance (/showthread.php?tid=186842)



Auto team balance - marinov - 30.10.2010

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 ?


Re: Auto team balance - marinov - 31.10.2010

anybody knows how to do it ?


Re: Auto team balance - i514x - 31.10.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