10.08.2012, 10:56
I'm looking a random function for floats:
fRandom(230.4, 530.7);
Have anyone created a function like this?
I have this function, but it shows error. ((error in the comment)
fRandom(230.4, 530.7);
Have anyone created a function like this?
I have this function, but it shows error. ((error in the comment)
pawn Код:
stock Float:fRandomEx(Float:min, Float:max) // function with tag result used before definition, forcing reparse
{
return min+(max - min)*random(32768)/32768.0;
}