Random Value Help
#6

pawn Код:
stock RandomEx(min, max) // By ******
{
    return random(max - min) + min;
}
and you can use it as:
pawn Код:
RandomEx(100000, 500000)
Reply


Messages In This Thread
Random Value Help - by AroseKhanNiazi - 14.05.2014, 08:21
Re: Random Value Help - by Mriss - 14.05.2014, 08:34
Re: Random Value Help - by AroseKhanNiazi - 14.05.2014, 08:56
Re: Random Value Help - by Vince - 14.05.2014, 09:05
Re: Random Value Help - by AroseKhanNiazi - 14.05.2014, 09:45
Re: Random Value Help - by Konstantinos - 14.05.2014, 09:57
Re: Random Value Help - by AroseKhanNiazi - 14.05.2014, 11:17

Forum Jump:


Users browsing this thread: 1 Guest(s)