12.03.2016, 17:48
Good job, keep it up
warning 208: function with tag result used before definition, forcing reparse Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. |
stock Float:frandom(Float:max, Float:m2 = 0.0, dp = 3) // < warning. { new Float:mn = m2; if(m2 > max) { mn = max, max = m2; } m2 = floatpower(10.0, dp); return floatadd(floatdiv(float(random(floatround(floatmul (floatsub(max, mn), m2)))), m2), mn); } |