02.10.2014, 03:27
Can't Understand Value
This function will return value in Meters or foot ?
Код:
stock GetDistance(Float:x1,Float:y1,Float:z1, Float:x2,Float:y2,Float:z2) { return floatround(floatsqroot(floatpower(floatabs(floatsub(x2,x1)),2)+floatpower(floatabs(floatsub(y2,y1)),2)+floatpower(floatabs(floatsub(z2,z1)),2))); }