Advertisement
ijontichy

<stdin>

Aug 31st, 2014
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. int NextSoundSlot[64];
  2.  
  3. script 648 (int low, int high)
  4. {
  5. int pln = PlayerNumber();
  6.  
  7. if (low == 0) { low = 4; }
  8. if (high == 0) { high = 7; }
  9.  
  10. int range = (high - low) + 1;
  11.  
  12. ret = (NextSoundSlot[pln]++ % range) + low;
  13. break;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement