How to start a team balancer
#2

foreach player
if(selected classid is gTeam[playerid] == Zombie)
zcount++;

foreach player
if(selected classid is gTeam[playerid] == Humans)
hcount++;

if selected team_humans - if(hcount >= zcount) gTeam[playerid] = Zombie;
Reply


Messages In This Thread
How to start a team balancer - by Kitten - 13.12.2010, 04:28
Re: How to start a team balancer - by The_Gangstas - 13.12.2010, 04:35
Re: How to start a team balancer - by admantis - 13.12.2010, 04:46
Re: How to start a team balancer - by Kwarde - 13.12.2010, 04:52

Forum Jump:


Users browsing this thread: 1 Guest(s)