FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_VEHICLE_BODY_HEALTH
(Vehicle vehicle, float value)
_SET_VEHICLE_BOMB_COUNT
(Vehicle aircraft, int bombCount)
SET_VEHICLE_BRAKE
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_BRAKE_LIGHTS
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_BULLDOZER_ARM_POSITION
(Vehicle vehicle, float position, BOOL p2)
SET_VEHICLE_BURNOUT
(Vehicle vehicle, BOOL toggle)
_SET_VEHICLE_CAN_BE_LOCKED_ON
(Vehicle vehicle, BOOL canBeLockedOn, BOOL unk)
SET_VEHICLE_CAN_BE_TARGETTED
(Vehicle vehicle, BOOL state)
SET_VEHICLE_CAN_BE_USED_BY_FLEEING_PEDS
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_CAN_BE_VISIBLY_DAMAGED
(Vehicle vehicle, BOOL state)
SET_VEHICLE_CAN_BREAK
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_CAN_DEFORM_WHEELS
(Vehicle vehicle, BOOL toggle)
_SET_VEHICLE_CAN_ENGINE_OPERATE_ON_FIRE
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_CAN_LEAK_OIL
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_CAN_LEAK_PETROL
(Vehicle vehicle, BOOL toggle)
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)