17.02.2012, 14:46
The native random doesn't accept floats. You just mindfucked me, but I figured it out, anyway I scripted this, and it worked like a charm 
And if you want minimum value param, try this:

Код:
stock Float:RandomEx(Float:max) { new Float:range = max; new Float:num = range * random(32767)/32767; return num; }
Код:
stock Float:RandomEx(Float:min,Float:max) { new Float:range = max-min; new Float:num = min+range * random(32767)/32767; return num; }