FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
DOES_VEHICLE_HAVE_SEARCHLIGHT
(Vehicle vehicle)
DOES_VEHICLE_HAVE_STUCK_VEHICLE_CHECK
(Vehicle vehicle)
DOES_VEHICLE_HAVE_WEAPONS
(Vehicle vehicle)
_DOES_VEHICLE_TYRE_EXIST
(Vehicle vehicle, int tyreIndex)
_EJECT_JB700_ROOF
(Vehicle vehicle, float x, float y, float z)
_ENABLE_AIRCRAFT_OBSTACLE_AVOIDANCE
(Vehicle vehicle, BOOL avoidObstacles)
EXPLODE_VEHICLE
(Vehicle vehicle, BOOL isAudible, BOOL isInvisible)
EXPLODE_VEHICLE_IN_CUTSCENE
(Vehicle vehicle, BOOL p1)
_FIND_RANDOM_POINT_IN_SPACE
(Ped ped)