FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_TRAIN_DOOR_OPEN_RATIO
(Vehicle train, int doorIndex, float ratio)
SET_TRAINS_FORCE_DOORS_OPEN
(bool forceOpen)
SET_VEHICLE_ALARM
(Vehicle vehicle, BOOL state)
SET_VEHICLE_ALARM_TIME_LEFT
(Vehicle vehicle, int time)
SET_VEHICLE_AUTO_REPAIR_DISABLED
(Vehicle vehicle, BOOL value)
SET_VEHICLE_BODY_HEALTH
(Vehicle vehicle, float value)
SET_VEHICLE_CLUTCH
(Vehicle vehicle, float clutch)
SET_VEHICLE_COLOUR_COMBINATION
(Vehicle vehicle, int colorCombination)
SET_VEHICLE_COLOURS
(Vehicle vehicle, int colorPrimary, int colorSecondary)
SET_VEHICLE_CURRENT_RPM
(Vehicle vehicle, float rpm)
SET_VEHICLE_CUSTOM_PRIMARY_COLOUR
(Vehicle vehicle, int r, int g, int b)
SET_VEHICLE_CUSTOM_SECONDARY_COLOUR
(Vehicle vehicle, int r, int g, int b)
SET_VEHICLE_DIRT_LEVEL
(Vehicle vehicle, float dirtLevel)
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)