SA-MP Forums Archive
Teambalance 6 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: Teambalance 6 teams (/showthread.php?tid=315608)



Teambalance 6 teams - MR.T[NL] - 03.02.2012

i need a team balance for 6 teams, 5 teams are used, my script uses gTeam dan has 0-5 team id's

0 Teamless
1 LS Aztecas
2 Ballas
3 Vagos
4 Grove
5 Police

but i need a team balancer can someone of u guys help me

i made a team teamless so if players did not chosen a team they get a grey colour,


Re: Teambalance 6 teams - jamesbond007 - 03.02.2012

do it on OnPlayerRequestSpawn

check if Team1>team2 if true return 0;

it will not let him spawn and send message like "sorry, this team is full"


Re: Teambalance 6 teams - MR.T[NL] - 04.02.2012

if seen alot of that teambalance, but i need it working for 6 teams