14.08.2015, 17:47
(
Последний раз редактировалось Dutheil; 18.08.2015 в 18:41.
)
dth_vehspeed v0.3 - Control the speed of a vehicle
With that include easily control the vehicle speed of your server.
Contents : With that include easily control the vehicle speed of your server.
- 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 vehicleid, speed, const dth_speed_unit:unit=kmh);
native GetSpeedByMilliseconds(const speed, const milliseconds);
native GetVehicleModelTopSpeed(const modelid);