12.02.2017, 20:46
Could do it by using Random
Код:
stock Half() {
new Humans;
foreach(new i : Player) {
if(Humans < 2 && random(100) < 50 )
{
HumanSetup(i);
printf("Selected humans");
Humans ++;
}
else
{
ZombieSetup2(i);
printf("Selected zombies");
Humans = 0;
}
}
printf("Finished Selecting teams");
return 1;
}

