17.05.2015, 09:27
The above (from your quote) would return some weird value as the input must be 0 to max-1.
EDIT: usage:
cash is a value between 8000 and 40000.
pawn Код:
RandomEx(min, max) // By ******
{
return random(max - min) + min;
}
pawn Код:
new cash = RandomEx(8000, 40001);