Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public MoveZombies()
- {
- static dCheckTimes = 0;
- for(new i = 0; i < MAX_ZOMBIES; i ++) if(dZombie[i][dZombieID] != INVALID_PLAYER_ID) ZombieAttack(i);
- for(new i = 0 + (dCheckTimes * ZOMBIE_5TH); i < ((dCheckTimes + 1) * ZOMBIE_5TH); i ++) if(dZombie[i][dZombieID] != INVALID_PLAYER_ID) MoveZombie(i);
- //---
- dCheckTimes ++;
- if(dCheckTimes == 5)
- {
- dCheckTimes = 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement