random(max)
#2

just put a minus before the return not before the number

pawn Код:
new rand = -random(50);
That will give you a random number from 0 till -49
Reply


Messages In This Thread
random(max) - by letters - 07.07.2011, 00:56
AW: random(max) - by Nero_3D - 07.07.2011, 01:00
Re: random(max) - by letters - 07.07.2011, 01:02
Re: random(max) - by =WoR=Varth - 07.07.2011, 01:05
Re: random(max) - by letters - 07.07.2011, 01:09
Re: random(max) - by Ricop522 - 07.07.2011, 02:25
Re: random(max) - by letters - 07.07.2011, 02:45

Forum Jump:


Users browsing this thread: 2 Guest(s)