[help]The vehicle speed
#2

Returns speed in km/h

pawn Код:
stock(GetVehicleVelocity, &Float:vel)
{
    new Float:vx, Float:vy, Float:vz;
    vel = GetVehicleVelocity(GetPlayerVehicleID(playerid), vx, vy, vz);
    vel = (floatsqroot(((vx*vx)+(vy*vy))+(vz*vz))* 181.5);
}
Reply


Messages In This Thread
[help]The vehicle speed - by Vlad_Dredd - 30.09.2013, 23:31
Re: [help]The vehicle speed - by Pottus - 01.10.2013, 00:29
Re: [help]The vehicle speed - by Mattakil - 01.10.2013, 03:02
Re: [help]The vehicle speed - by ChristianIvann - 01.10.2013, 03:44
Re: [help]The vehicle speed - by Vlad_Dredd - 01.10.2013, 08:56
Re: [help]The vehicle speed - by Konstantinos - 01.10.2013, 09:01
Re: [help]The vehicle speed - by Vlad_Dredd - 01.10.2013, 09:04
Re: [help]The vehicle speed - by Pottus - 01.10.2013, 09:25
Re: [help]The vehicle speed - by Konstantinos - 01.10.2013, 09:33
Re: [help]The vehicle speed - by Pottus - 01.10.2013, 09:36

Forum Jump:


Users browsing this thread: 2 Guest(s)