Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. public Get_Random_Class(ent)
  2. {
  3. static class, zombie_wave
  4. class = random(Total_Class)
  5. zombie_wave = ArrayGetCell(g_class_wave, class)
  6. while(zombie_wave > Wave)
  7. {
  8. class = random(Total_Class)
  9. zombie_wave = ArrayGetCell(g_class_wave, class)
  10. }
  11.  
  12. return class
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement