Random money
#9

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
I was editing my post the time you posted it but you probably didn't see that.

usage:
pawn Код:
new cash = RandomEx(8000, 40001);
cash is a value between 8000 and 40000.

It's just that RandomEx is easier to be used: RandomEx(min_number, max_number + 1)

@VishvaJeet: Your code will generate a value between 8000-39999.
Thanks to solve problem....
Reply


Messages In This Thread
Random money - by GTLS - 17.05.2015, 09:22
Re: Random money - by VishvaJeet - 17.05.2015, 09:27
Re: Random money - by Konstantinos - 17.05.2015, 09:27
Re: Random money - by GTLS - 17.05.2015, 09:28
Re: Random money - by GTLS - 17.05.2015, 09:35
Re: Random money - by VishvaJeet - 17.05.2015, 09:38
Re: Random money - by GTLS - 17.05.2015, 09:40
Re: Random money - by Konstantinos - 17.05.2015, 09:46
Re: Random money - by GTLS - 17.05.2015, 10:02
Re: Random money - by VishvaJeet - 17.05.2015, 10:08

Forum Jump:


Users browsing this thread: 1 Guest(s)