[INC HELP] Speed.inc
#5

Don't use anything, just put
Float:GetPlayerSpeed(playerid)
{
..
}

and FYI that is an inaccurate representation of speed
try

floatsqroot(floatpower(x2-x1,2)+floatpower(y2-y1,2)+floatpower(z2-z1,2));

that is the algorithm to get the distance between 2 3 dimensional points
Reply


Messages In This Thread
[INC HELP] Speed.inc - by szep_anita_01 - 18.04.2009, 16:49
Re: [INC HELP] Speed.inc - by Castle - 18.04.2009, 17:05
Re: [INC HELP] Speed.inc - by ICECOLDKILLAK8 - 18.04.2009, 17:35
Re: [INC HELP] Speed.inc - by pspleo - 18.04.2009, 17:38
Re: [INC HELP] Speed.inc - by Joe Staff - 18.04.2009, 17:39

Forum Jump:


Users browsing this thread: 3 Guest(s)