25.01.2015, 14:52
it should be
Quote:
Float:GetDistanceBetween(x1, y1, z1, x2, y2, z2) { new Float:dist; dist = floatsqroot(floatpower(floatsub(x2, x1), 2) + floatpower(floatsub( y2, y1), 2) + floatpower(floatsub( z2, z1), 2)); return dist; } |