FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_SET_VEHICLE_COUNTERMEASURE_COUNT
(Vehicle aircraft, int count)
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_DAMAGE
(Vehicle vehicle, float xOffset, float yOffset, float zOffset, float damage, float radius, BOOL focusOnModel)
_SET_VEHICLE_DAMAGE_MODIFIER
(Vehicle vehicle, float p1)
_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)