Advertisement
FoxHound

randomEx

Mar 9th, 2011
388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.14 KB | None | 0 0
  1. stock randomEx(const min, const max) {
  2.     new result=random(max);
  3.     if(result<min) {
  4.         for(;result<min;result=random(max)) { } }
  5.     return result; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement