Random();
#3

Quote:
Originally Posted by 0rb
Always divide by a float.
pawn Код:
new Float:RandomGravity=random(24)/2000.000+0.002;
SetGravity(RandomGravity);
Thank you, it works.
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)