Random Cash
#10

Quote:
Originally Posted by Infamous
Посмотреть сообщение
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
Reply


Messages In This Thread
Random Cash - by Infamous - 22.12.2011, 23:23
Re: Random Cash - by Tigerkiller - 22.12.2011, 23:36
Re: Random Cash - by Infamous - 22.12.2011, 23:37
Re: Random Cash - by Tigerkiller - 22.12.2011, 23:44
Re: Random Cash - by Infamous - 22.12.2011, 23:51
Re: Random Cash - by [ABK]Antonio - 23.12.2011, 00:07
Re: Random Cash - by Infamous - 23.12.2011, 23:31
AW: Re: Random Cash - by Nero_3D - 23.12.2011, 23:48
Re: Random Cash - by Infamous - 24.12.2011, 01:15
Re: Random Cash - by Lorenc_ - 24.12.2011, 01:31

Forum Jump:


Users browsing this thread: 2 Guest(s)