14.10.2009, 20:14
Hey folks,
I'm using a varible to get an random gravity.
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?
I'm using a varible to get an random gravity.
pawn Код:
new Float:RandomGravity=random(24)/2000+0.002;
SetGravity(RandomGravity);
That means the random function has always the value 0.
What's wrong?