Random();
#1

Hey folks,
I'm using a varible to get an random gravity.
pawn Код:
new Float:RandomGravity=random(24)/2000+0.002;
SetGravity(RandomGravity);
Now the problem is that I always get a the same gravity (0.002).
That means the random function has always the value 0.
What's wrong?
Reply


Messages In This Thread
Random(); - by Marc_307 - 14.10.2009, 20:14
Re: Random(); - by yom - 14.10.2009, 20:30
Re: Random(); - by Marc_307 - 15.10.2009, 06:31

Forum Jump:


Users browsing this thread: 1 Guest(s)