near pos
#4

Loop and GetDistanceBetweenPoints.

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


Messages In This Thread
near pos - by usersamp - 30.06.2012, 21:03
Re: near pos - by .FuneraL. - 30.06.2012, 21:13
Re: near pos - by usersamp - 30.06.2012, 21:20
Re: near pos - by Vince - 30.06.2012, 22:52
AW: near pos - by Nero_3D - 01.07.2012, 01:35
Re: near pos - by [MM]RoXoR[FS] - 01.07.2012, 04:56
Re: near pos - by usersamp - 01.07.2012, 10:34

Forum Jump:


Users browsing this thread: 1 Guest(s)