FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_VEHICLE_TYRE_SMOKE_COLOR
(Vehicle vehicle, int r, int g, int b)
SET_VEHICLE_TYRES_CAN_BURST
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_UNDRIVEABLE
(Vehicle vehicle, BOOL toggle)
_SET_VEHICLE_UNK_DAMAGE_MULTIPLIER
(Vehicle vehicle, float multiplier)
SET_VEHICLE_USE_ALTERNATE_HANDLING
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_USE_CUTSCENE_WHEEL_COMPRESSION
(Vehicle p0, BOOL p1, BOOL p2, BOOL p3)
_SET_VEHICLE_USE_HORN_BUTTON_FOR_NITROUS
(Vehicle vehicle, BOOL bToggle)
SET_VEHICLE_USE_PLAYER_LIGHT_SETTINGS
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_USES_LARGE_REAR_RAMP
(Vehicle vehicle, BOOL toggle)
_SET_VEHICLE_WEAPON_CAPACITY
(Vehicle vehicle, int weaponIndex, int capacity)
_SET_VEHICLE_WEAPONS_DISABLED
(Vehicle vehicle, int weaponSlot)
SET_VEHICLE_WHEEL_TYPE
(Vehicle vehicle, int wheelType)
SET_VEHICLE_WHEELS_CAN_BREAK
(Vehicle vehicle, BOOL enabled)
SET_VEHICLE_WHEELS_CAN_BREAK_OFF_WHEN_BLOW_UP
(Vehicle vehicle, BOOL toggle)
_SET_VEHICLE_WHEELS_DEAL_DAMAGE
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_WINDOW_TINT
(Vehicle vehicle, int tint)
_SET_VEHICLE_XENON_LIGHTS_COLOR
(Vehicle vehicle, int color)
SKIP_TIME_IN_PLAYBACK_RECORDED_VEHICLE
(Vehicle vehicle, float time)
SKIP_TO_END_AND_STOP_PLAYBACK_RECORDED_VEHICLE
(Vehicle vehicle)
SMASH_VEHICLE_WINDOW
(Vehicle vehicle, int windowIndex)
STABILISE_ENTITY_ATTACHED_TO_HELI
(Vehicle vehicle, Entity entity, float p2)
START_PLAYBACK_RECORDED_VEHICLE
(Vehicle vehicle, int recording, char* script, BOOL p3)
START_PLAYBACK_RECORDED_VEHICLE_USING_AI
(Vehicle vehicle, int recording, char* script, float speed, int drivingStyle)
START_PLAYBACK_RECORDED_VEHICLE_WITH_FLAGS
(Vehicle vehicle, int recording, char* script, int flags, int time, int drivingStyle)
START_VEHICLE_ALARM
(Vehicle vehicle)
START_VEHICLE_HORN
(Vehicle vehicle, int duration, Hash mode, BOOL forever)
STOP_ALL_GARAGE_ACTIVITY
()
_STOP_BRING_VEHICLE_TO_HALT
(Vehicle vehicle)
STOP_PLAYBACK_RECORDED_VEHICLE
(Vehicle vehicle)
SWITCH_TRAIN_TRACK
(int trackId, BOOL state)
TOGGLE_VEHICLE_MOD
(Vehicle vehicle, int modType, BOOL toggle)
TRACK_VEHICLE_VISIBILITY
(Vehicle vehicle)
TRANSFORM_TO_CAR
(Vehicle vehicle, BOOL instantly)
TRANSFORM_TO_SUBMARINE
(Vehicle vehicle, BOOL instantly)
UNPAUSE_PLAYBACK_RECORDED_VEHICLE
(Vehicle vehicle)