FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_VEHICLE_ENGINE_CAN_DEGRADE
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_ENGINE_HEALTH
(Vehicle vehicle, float health)
SET_VEHICLE_ENGINE_ON
(Vehicle vehicle, BOOL value, BOOL instantly, BOOL disableAutoStart)
SET_VEHICLE_ENVEFF_SCALE
(Vehicle vehicle, float fade)
SET_VEHICLE_EXCLUSIVE_DRIVER
(Vehicle vehicle, BOOL toggle)
_SET_VEHICLE_EXCLUSIVE_DRIVER_2
(Vehicle vehicle, Ped ped, int index)
SET_VEHICLE_EXPLODES_ON_HIGH_EXPLOSION_DAMAGE
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_EXTENDED_REMOVAL_RANGE
(Vehicle vehicle, int range)
SET_VEHICLE_EXTRA
(Vehicle vehicle, int extraId, BOOL disable)
SET_VEHICLE_EXTRA_COLOURS
(Vehicle vehicle, int pearlescentColor, int wheelColor)
SET_VEHICLE_FIXED
(Vehicle vehicle)
SET_VEHICLE_FLIGHT_NOZZLE_POSITION
(Vehicle vehicle, float angleRatio)
SET_VEHICLE_FLIGHT_NOZZLE_POSITION_IMMEDIATE
(Vehicle vehicle, float angle)
SET_VEHICLE_FORCE_AFTERBURNER
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_FORWARD_SPEED
(Vehicle vehicle, float speed)
SET_VEHICLE_FRICTION_OVERRIDE
(Vehicle vehicle, float friction)
SET_VEHICLE_FULLBEAM
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_GENERATES_ENGINE_SHOCKING_EVENTS
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_GENERATOR_AREA_OF_INTEREST
(float x, float y, float z, float radius)
SET_VEHICLE_GRAVITY
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_HANDBRAKE
(Vehicle vehicle, BOOL toggle)
_SET_VEHICLE_HANDLING_HASH_FOR_AI
(Vehicle vehicle, Hash hash)
SET_VEHICLE_HAS_BEEN_DRIVEN_FLAG
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_HAS_BEEN_OWNED_BY_PLAYER
(Vehicle vehicle, BOOL owned)
SET_VEHICLE_HAS_MUTED_SIRENS
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_HAS_STRONG_AXLES
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_HAS_UNBREAKABLE_LIGHTS
(Vehicle vehicle, BOOL p1)
SET_VEHICLE_INACTIVE_DURING_PLAYBACK
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_INDICATOR_LIGHTS
(Vehicle vehicle, int turnSignal, BOOL toggle)
SET_VEHICLE_INDIVIDUAL_DOORS_LOCKED
(Vehicle vehicle, int doorIndex, int doorLockStatus)
SET_VEHICLE_INFLUENCES_WANTED_LEVEL
(Vehicle vehicle, BOOL influenceWantedLevel)
_SET_VEHICLE_INTERIOR_COLOR
(Vehicle vehicle, int color)
SET_VEHICLE_INTERIORLIGHT
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_IS_CONSIDERED_BY_PLAYER
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_IS_RACING
(Vehicle vehicle, BOOL toggle)