FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_CLEAR_VEHICLE_PHONE_EXPLOSIVE_DEVICE
()
CLEAR_VEHICLE_ROUTE_HISTORY
(Vehicle vehicle)
CLOSE_BOMB_BAY_DOORS
(Vehicle vehicle)
CONTROL_LANDING_GEAR
(Vehicle vehicle, int state)
COPY_VEHICLE_DAMAGES
(Vehicle sourceVehicle, Vehicle targetVehicle)
CREATE_MISSION_TRAIN
(int variation, float x, float y, float z, BOOL direction)
CREATE_PICK_UP_ROPE_FOR_CARGOBOB
(Vehicle cargobob, int state)
CREATE_SCRIPT_VEHICLE_GENERATOR
(float x, float y, float z, float heading, float p4, float p5, Hash modelHash, int p7, int p8, int p9, int p10, BOOL p11, BOOL p12, BOOL p13, BOOL p14, BOOL p15, int p16)
CREATE_VEHICLE
(Hash modelHash, float x, float y, float z, float heading, BOOL isNetwork, BOOL netMissionEntity)
DELETE_ALL_TRAINS
()
DELETE_MISSION_TRAIN
(Vehicle* train)
DELETE_SCRIPT_VEHICLE_GENERATOR
(int vehicleGenerator)
DELETE_VEHICLE
(Vehicle* vehicle)
DETACH_CONTAINER_FROM_HANDLER_FRAME
(Vehicle vehicle)
DETACH_ENTITY_FROM_CARGOBOB
(Vehicle vehicle, Entity entity)
DETACH_VEHICLE_FROM_ANY_CARGOBOB
(Vehicle vehicle)
DETACH_VEHICLE_FROM_ANY_TOW_TRUCK
(Vehicle vehicle)
DETACH_VEHICLE_FROM_CARGOBOB
(Vehicle cargobob, Vehicle vehicle)
DETACH_VEHICLE_FROM_TOW_TRUCK
(Vehicle towTruck, Vehicle vehicle)
DETACH_VEHICLE_FROM_TRAILER
(Vehicle vehicle)
DETONATE_VEHICLE_PHONE_EXPLOSIVE_DEVICE
()
DISABLE_INDIVIDUAL_PLANE_PROPELLER
(Vehicle vehicle, int propeller)
DISABLE_PLANE_AILERON
(Vehicle vehicle, BOOL p1, BOOL p2)
_DISABLE_VEHICLE_NEON_LIGHTS
(Vehicle vehicle, BOOL toggle)
_DISABLE_VEHICLE_TURRET_MOVEMENT_THIS_FRAME
(Vehicle vehicle)
DISABLE_VEHICLE_WEAPON
(BOOL disabled, Hash weaponHash, Vehicle vehicle, Ped owner)
_DISABLE_VEHICLE_WORLD_COLLISION
(Vehicle vehicle)
DOES_CARGOBOB_HAVE_PICK_UP_ROPE
(Vehicle cargobob)
DOES_CARGOBOB_HAVE_PICKUP_MAGNET
(Vehicle cargobob)
DOES_EXTRA_EXIST
(Vehicle vehicle, int extraId)
DOES_SCRIPT_VEHICLE_GENERATOR_EXIST
(int vehicleGenerator)
_DOES_VEHICLE_ALLOW_RAPPEL
(Vehicle vehicle)
DOES_VEHICLE_EXIST_WITH_DECORATOR
(char* decorator)
_DOES_VEHICLE_HAVE_LANDING_GEAR
(Vehicle vehicle)
DOES_VEHICLE_HAVE_ROOF
(Vehicle vehicle)