Skip to content

GetVehicleWheelSuspensionCompression ​

клиент GET_VEHICLE_WHEEL_SUSPENSION_COMPRESSION

c
float GET_VEHICLE_WHEEL_SUSPENSION_COMPRESSION(Vehicle vehicle, int wheelIndex);

Gets the current suspension compression of a wheel. Returns a positive value. 0 means the suspension is fully extended, the wheel is off the ground. Max number of wheels can be retrieved with the native GET_VEHICLE_NUMBER_OF_WHEELS.

Параметры ​

  • vehicle:
  • wheelIndex:

Возвращает ​

The current compression of the wheel's suspension.


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

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