Kilometers...
#3

From that you've posted is this the func?

Код:
stock Float:GetDistanceVehicleFromPoint(vehicleid,float:pontox,float:pontoy,float:pontoz)
{
    new Float:x,Float:y,Float:z;
    GetVehiclePos(vehicleid,x,y,z);
    return floatsqroot(floatpower(floatabs(floatsub(pontox,x)),2)+floatpower(floatabs(floatsub(pontoy,y)),2)+floatpower(floatabs(floatsub(pontoz,z)),2));
}
stock GetDistanceTraveled(vehicleid) return Percorreu[vehicleid];
Reply


Messages In This Thread
Kilometers... - by NeroX98 - 07.12.2012, 19:51
Re: Kilometers... - by Dolby - 07.12.2012, 20:09
Re: Kilometers... - by NeroX98 - 07.12.2012, 20:13
Re: Kilometers... - by Dolby - 07.12.2012, 20:24
Re: Kilometers... - by NeroX98 - 07.12.2012, 20:31
Re: Kilometers... - by NeroX98 - 07.12.2012, 20:40
Re: Kilometers... - by Dolby - 07.12.2012, 20:58
Re: Kilometers... - by NeroX98 - 07.12.2012, 21:22
Re: Kilometers... - by Dolby - 07.12.2012, 21:34

Forum Jump:


Users browsing this thread: 3 Guest(s)