07.07.2015, 16:45
(
Последний раз редактировалось Dutheil; 08.07.2015 в 17:07.
)
dth_vehcat.inc - Categorized vehicles
With this include which is easy to use, you have access to about ten functions to help you know using the model of the vehicle in his category.
Contents : With this include which is easy to use, you have access to about ten functions to help you know using the model of the vehicle in his category.
- 20 functions
Informations :
Functions return a Boolean value, so true/false (0/1).
HasModelValidHood/Boot are two functions which allow you to know if through SetVehicleParamsEx hood or boot/trunk opens physically.PHP код:
native IsModelAirplane(const modelid);
native IsModelHelicopter(const modelid);
native IsModelScooter(const modelid);
native IsModelBicycle(const modelid);
native IsModelMoto(const modelid);
native IsModelQuad(const modelid);
native IsModelTwoWheels(const modelid);
native IsModelConvertible(const modelid);
native IsModelSport(const modelid);
native IsModelLowrider(const modelid);
native IsModelPolice(const modelid);
native IsModelMilitary(const modelid);
native IsModelRescue(const modelid);
native IsModelBoat(const modelid);
native IsModelTrailer(const modelid);
native IsModelTruck(const modelid);
native IsModel4x4(const modelid);
native IsModelRC(const modelid);
native HasModelValidHood(const modelid);
native HasModelValidBoot(const modelid);
If you have to add categories to this include, please manifest it in this topic.