Warning
#4

Well, it's either:
pawn Код:
stock Float:GetDistanceBetweenPoints(Float:X, Float:Y, Float:Z, Float:PointX, Float:PointY, Float:PointZ) return floatsqroot(floatpower(floatsub(X, PointX), 2.0) + floatpower(floatsub(Y, PointY), 2.0) + floatpower(floatsub(Z, PointZ), 2.0));
or

pawn Код:
stock Float:GetDistanceBetweenPoints(Float:X, Float:Y, Float:Z, Float:PointX, Float:PointY, Float:PointZ)
{
    x1 -= x2;
    y1 -= y2;
    z1 -= z2;
    return floatsqroot((x1 * x1) + (y1 * y1) + (z1 * z1));
}
Reply


Messages In This Thread
Warning - by deimantas1 - 23.01.2013, 06:27
Re: Warning - by park4bmx - 23.01.2013, 06:58
Re: Warning - by deimantas1 - 23.01.2013, 07:11
Re: Warning - by antonio112 - 23.01.2013, 07:18

Forum Jump:


Users browsing this thread: 1 Guest(s)