Setting Players To Random Teams! - 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: Setting Players To Random Teams! (
/showthread.php?tid=268298)
Setting Players To Random Teams! -
[R]ambo - 12.07.2011
Can someone help me on how to set players to random teams on onplayerrequestspawn or onplayerrequestclass. I made a team balancer in order to spawn each players evenly to both teams. The problem is, that I have about eight sets of team players. For example if I would have two teams so Team A and Team B are the main teams but then under Team A there's Pilot, Soldier, Bomber , Shopper and under Team B there's Pilot, Soldier, Bomber and also Shopper. so, How could I set forceable spawn to even teams in the onplayerclass/onplayerrequestspawn. Thank You.
Re: Setting Players To Random Teams! -
WoodPecker - 12.07.2011
Well Rambo i scripted Counter Strike Souce with same system you want, here:
http://pastebin.com/i9gz4Yqy you can check it and if you like the team system and the team balance you can copy it from there.
Re: Setting Players To Random Teams! -
[R]ambo - 12.07.2011
Thanks Wood Pecker