FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
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)