01.04.2019, 10:08
stock Float:GetDistanceBetweenPoints(Float: x1f,Float:y1f,Float: z1f,Float: x2f,Float:y2f,Float:z2f)
{
return floatadd(floatadd(floatsqroot(floatpower(floatsub( x1f,x2f),2)),floatsqroot(floatpower(floatsub(y1f,y 2f),2))),floatsqroot(floatpower(floatsub(z1f,z2f), 2)));
}
{
return floatadd(floatadd(floatsqroot(floatpower(floatsub( x1f,x2f),2)),floatsqroot(floatpower(floatsub(y1f,y 2f),2))),floatsqroot(floatpower(floatsub(z1f,z2f), 2)));
}