15.03.2016, 20:38
hello...
Quote:
warning 208: function with tag result used before definition, forcing reparse Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. |
Quote:
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); } |