FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_VEHICLE_CAN_SAVE_IN_GARAGE
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_CEILING_HEIGHT
(Vehicle vehicle, float height)
SET_VEHICLE_CHEAT_POWER_INCREASE
(Vehicle vehicle, float value)
SET_VEHICLE_COLOUR_COMBINATION
(Vehicle vehicle, int colorCombination)
SET_VEHICLE_COLOURS
(Vehicle vehicle, int colorPrimary, int colorSecondary)
_SET_VEHICLE_CONTROLS_INVERTED
(Vehicle vehicle, BOOL state)
_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)