Quote:
Originally Posted by MayaEU
I changed it to this
pawn Код:
if(Level >= 0 && Level < 50) { Caught = random(7, 20); } else if(Level >= 50 && Level < 100) { Caught = random(20, 50); } else if(Level >= 100 && Level < 200) { Caught = random(50, 100); } else if(Level >= 200 && Level < 400) { Caught = random(60, 140); } else if(Level >= 400 && Level < 500) { Caught = random(60, 170); }
|
You have to use Random not random like in that line
Quote:
Originally Posted by MayaEU
pawn Код:
new luck = Random(1, 100);
|
Random should be somewhere in your script which basically does what VVWVV did
Random(min, max) return random(max - min + 1) + min;