24.12.2011, 01:31
Quote:
Thanks Nero, im guessing the 20 is the minimum, +21 is the max but why is it divided over 100?
Just want to understand the code a bit better before I put it to use. |
pawn Код:
#define RandomEx(%0,%1) (random((%1) - (%0)) + (%0))
new pcash = RandomEx(1000, 100000); //1000 <-> 100000