Vehicle Velocity to Kilometers Per Hour
#4

pawn Код:
new Float:x,Float:y,Float:z;
GetVehicleVelocity(vehicleid,x,y,z);
YourSpeedInkmph=floatsqroot((x*x)+(y*y)+(z*z))*198;
YourSpeedInMPH=YourSpeedInkmph*0.621371192;
Reply


Messages In This Thread
Vehicle Velocity to Kilometers Per Hour - by [NWA]Hannes - 30.12.2010, 20:24
Re: Vehicle Velocity to Kilometers Per Hour - by jameskmonger - 30.12.2010, 20:27
Re: Vehicle Velocity to Kilometers Per Hour - by Kaylux - 30.12.2010, 20:29
Re: Vehicle Velocity to Kilometers Per Hour - by jameskmonger - 30.12.2010, 20:31
Re: Vehicle Velocity to Kilometers Per Hour - by jameskmonger - 30.12.2010, 20:32
Re: Vehicle Velocity to Kilometers Per Hour - by [NWA]Hannes - 30.12.2010, 20:40
Re: Vehicle Velocity to Kilometers Per Hour - by Kaylux - 30.12.2010, 20:43
Re: Vehicle Velocity to Kilometers Per Hour - by jameskmonger - 30.12.2010, 20:43
Re: Vehicle Velocity to Kilometers Per Hour - by pmk1 - 30.12.2010, 22:05

Forum Jump:


Users browsing this thread: 1 Guest(s)