[Include] dth_vehspeed - Control the speed of a vehicle
#1

dth_vehspeed v0.3 - Control the speed of a vehicle
With that include easily control the vehicle speed of your server.
Contents :
  • 6 functions (3 macros)
Informations :
As you will see in the parameters of 2 functions, you will be asked if you want to call these functions in km/h or mp/h.

PHP код:
native ConvertKmhToMph(const kmh);
native ConvertMphToKmh(const mph);
native GetVehicleSpeed(const vehicleid, const dth_speed_unit:unit=kmh);
native SetVehicleSpeed(const vehicleidspeed, const dth_speed_unit:unit=kmh);
native GetSpeedByMilliseconds(const speed, const milliseconds);
native GetVehicleModelTopSpeed(const modelid); 
With these functions, you can create a speedometer, a speed limiter, cruise control, and mileage system easily.

Download :





Cruise control made by Sellize with this include :
[ame]http://www.youtube.com/watch?v=plVOzpO5iPM[/ame]
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)