Proportional 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)
+--- Thread: Proportional Teams (
/showthread.php?tid=481494)
Proportional Teams -
austin070 - 15.12.2013
I'm attempting to create a gamemode in which there are 3 teams (Team 1, Team 2, Team 3). Two of the teams are always assigned, but one of them is only assigned when 5 players are active (active being defined as spawned). I can't seem to figure out how to proportionalize the teams so that for every 3 players on Team 1, there is one player on Team 2. In addition, when there are not 4 players to choose from, there is always one players on Team 2 while the others are on Team 1. This description is most likely confusing to another, so if any clarification is necessary please let me know.