FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_SET_VEHICLE_DASHBOARD_COLOR
(Vehicle vehicle, int color)
SET_VEHICLE_DEFORMATION_FIXED
(Vehicle vehicle)
SET_VEHICLE_DENSITY_MULTIPLIER_THIS_FRAME
(float multiplier)
SET_VEHICLE_DIRT_LEVEL
(Vehicle vehicle, float dirtLevel)
SET_VEHICLE_DISABLE_TOWING
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_DOOR_BROKEN
(Vehicle vehicle, int doorIndex, BOOL deleteDoor)
_SET_VEHICLE_DOOR_CAN_BREAK
(Vehicle vehicle, int doorIndex, BOOL isBreakable)
SET_VEHICLE_DOOR_CONTROL
(Vehicle vehicle, int doorIndex, int speed, float angle)
SET_VEHICLE_DOOR_LATCHED
(Vehicle vehicle, int doorIndex, BOOL forceClose, BOOL lock, BOOL p4)
SET_VEHICLE_DOOR_OPEN
(Vehicle vehicle, int doorIndex, BOOL loose, BOOL openInstantly)
SET_VEHICLE_DOOR_SHUT
(Vehicle vehicle, int doorIndex, BOOL closeInstantly)
SET_VEHICLE_DOORS_LOCKED
(Vehicle vehicle, int doorLockStatus)
SET_VEHICLE_DOORS_LOCKED_FOR_ALL_PLAYERS
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_DOORS_LOCKED_FOR_NON_SCRIPT_PLAYERS
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_DOORS_LOCKED_FOR_PLAYER
(Vehicle vehicle, Player player, BOOL toggle)
SET_VEHICLE_DOORS_LOCKED_FOR_TEAM
(Vehicle vehicle, int team, BOOL toggle)
_SET_VEHICLE_DOORS_LOCKED_FOR_UNK
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_DOORS_SHUT
(Vehicle vehicle, BOOL closeInstantly)
SET_VEHICLE_DROPS_MONEY_WHEN_BLOWN_UP
(Vehicle vehicle, BOOL toggle)
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)