05.03.2014, 15:17
Hello, how can i make that this picks 2 or 3 zombies (depending on player amount)?
Код:
stock OneZombie() { new count = 0; new Random = Iter_Random(Player); foreach(Player, i) { if(team[i] == TEAM_HUMAN) count++; if(count == Iter_Count(Player)) { ZombieSetup(Random); } } return 1; }