Quote:
Originally Posted by Kitten
pawn Код:
frandom(Float:max, Float:min = 0.0, dp = 4) { new Float:mul = floatpower(10.0, dp), imin = floatround(min * mul), imax = floatround(max * mul); return float(random(imax - imin) + imin) / mul; }
|
Yea, just searched up on ****** and found that from ******..Looks like it should work.