stock 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;}