Skip to content

GetVehicleType ​

клиент + сервер GET_VEHICLE_TYPE

c
char* GET_VEHICLE_TYPE(Vehicle vehicle);

Returns the type of the passed vehicle.

For client scripts, reference the more detailed GET_VEHICLE_TYPE_RAW native.

Vehicle types ​

  • automobile
  • bike
  • boat
  • heli
  • plane
  • submarine
  • trailer
  • train

Параметры ​

  • vehicle: The vehicle's entity handle.

Возвращает ​

If the entity is a vehicle, the vehicle type. If it is not a vehicle, the return value will be null.


Страница собрана автоматически из native-decls/GetVehicleType.md. Нашли ошибку — поправьте исходный файл.

Независимый проект на базе Cfx.re. Не связан с Rockstar Games и Take-Two Interactive.