FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_VEHICLE_DOOR_BROKEN
(Vehicle vehicle, int doorIndex, BOOL deleteDoor)
SET_VEHICLE_DOORS_LOCKED
(Vehicle vehicle, int doorLockStatus)
SET_VEHICLE_ENGINE_TEMPERATURE
(Vehicle vehicle, float temperature)
SET_VEHICLE_FUEL_LEVEL
(Vehicle vehicle, float level)
SET_VEHICLE_GEAR_RATIO
(Vehicle vehicle, int gear, float ratio)
SET_VEHICLE_GRAVITY_AMOUNT
(Vehicle vehicle, float gravity)
SET_VEHICLE_HANDLING_FIELD
(Vehicle vehicle, char* class_, char* fieldName, Any value)
SET_VEHICLE_HANDLING_FLOAT
(Vehicle vehicle, char* class_, char* fieldName, float value)
SET_VEHICLE_HANDLING_INT
(Vehicle vehicle, char* class_, char* fieldName, int value)
SET_VEHICLE_HANDLING_VECTOR
(Vehicle vehicle, char* class_, char* fieldName, Vector3 value)
SET_VEHICLE_HIGH_GEAR
(Vehicle vehicle, int gear)
SET_VEHICLE_NITRO_PTFX_RANGE
(float range)
SET_VEHICLE_NUMBER_PLATE_TEXT
(Vehicle vehicle, char* plateText)
SET_VEHICLE_OIL_LEVEL
(Vehicle vehicle, float level)
SET_VEHICLE_PITCH_BIAS
(Vehicle vehicle, float value)
SET_VEHICLE_ROLL_BIAS
(Vehicle vehicle, float value)
SET_VEHICLE_STEERING_ANGLE
(Vehicle vehicle, float angle)
SET_VEHICLE_STEERING_SCALE
(Vehicle vehicle, float scale)
SET_VEHICLE_SUSPENSION_HEIGHT
(Vehicle vehicle, float newHeight)
SET_VEHICLE_TURBO_PRESSURE
(Vehicle vehicle, float pressure)
SET_VEHICLE_WHEEL_BRAKE_PRESSURE
(Vehicle vehicle, int wheelIndex, float pressure)
SET_VEHICLE_WHEEL_FLAGS
(Vehicle vehicle, int wheelIndex, int flags)
SET_VEHICLE_WHEEL_HEALTH
(Vehicle vehicle, int wheelIndex, float health)
SET_VEHICLE_WHEEL_IS_POWERED
(Vehicle vehicle, int wheelIndex, BOOL powered)
SET_VEHICLE_WHEEL_POWER
(Vehicle vehicle, int wheelIndex, float power)
SET_VEHICLE_WHEEL_RIM_COLLIDER_SIZE
(Vehicle vehicle, int wheelIndex, float value)
SET_VEHICLE_WHEEL_ROTATION_SPEED
(Vehicle vehicle, int wheelIndex, float speed)
SET_VEHICLE_WHEEL_SIZE
(Vehicle vehicle, float size)
SET_VEHICLE_WHEEL_TIRE_COLLIDER_SIZE
(Vehicle vehicle, int wheelIndex, float value)
SET_VEHICLE_WHEEL_TIRE_COLLIDER_WIDTH
(Vehicle vehicle, int wheelIndex, float value)
SET_VEHICLE_WHEEL_TRACTION_VECTOR_LENGTH
(Vehicle vehicle, int wheelIndex, float length)
SET_VEHICLE_WHEEL_WIDTH
(Vehicle vehicle, float width)
SET_VEHICLE_WHEEL_X_OFFSET
(Vehicle vehicle, int wheelIndex, float offset)
SET_VEHICLE_WHEEL_Y_ROTATION
(Vehicle vehicle, int wheelIndex, float value)
SET_VEHICLE_WHEELIE_STATE
(Vehicle vehicle, int state)