29.06.2013, 17:41
Try that
pawn Code:
stock Balance() {
new
count,
player[MAX_PLAYERS]
;
foreach(Player, i) {
player[count++] = i;
}
for(new rand, half = count / 2; halft--; count--) {
rand = random(count);
HumanSetup(player[rand]);
player[rand] = player[count];
}
while(count) {
ZombieSetup(player[--count]);
}
}