FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
ADD_VEHICLE_COMBAT_ANGLED_AVOIDANCE_AREA
(float p0, float p1, float p2, float p3, float p4, float p5, float p6)
ADD_VEHICLE_PHONE_EXPLOSIVE_DEVICE
(Vehicle vehicle)
ADD_VEHICLE_STUCK_CHECK_WITH_WARP
(Any p0, float p1, Any p2, BOOL p3, BOOL p4, BOOL p5, Any p6)
ADD_VEHICLE_UPSIDEDOWN_CHECK
(Vehicle vehicle)
ALLOW_AMBIENT_VEHICLES_TO_AVOID_ADVERSE_CONDITIONS
(Vehicle vehicle)
ARE_ALL_VEHICLE_WINDOWS_INTACT
(Vehicle vehicle)
ARE_ANY_VEHICLE_SEATS_FREE
(Vehicle vehicle)
_ARE_BOMB_BAY_DOORS_OPEN
(Vehicle aircraft)
_ARE_HELI_STUB_WINGS_DEPLOYED
(Vehicle vehicle)
_ARE_OUTRIGGER_LEGS_DEPLOYED
(Vehicle vehicle)
ARE_PLANE_CONTROL_PANELS_INTACT
(Vehicle vehicle, BOOL checkForZeroHealth)
ARE_PLANE_PROPELLERS_INTACT
(Vehicle plane)
_ARE_PLANE_WINGS_INTACT
(Vehicle plane)
_ATTACH_CONTAINER_TO_HANDLER_FRAME
(Vehicle handler, Entity container)
ATTACH_ENTITY_TO_CARGOBOB
(Vehicle vehicle, Entity entity, int p2, float x, float y, float z)
ATTACH_VEHICLE_ON_TO_TRAILER
(Vehicle vehicle, Vehicle trailer, float offsetX, float offsetY, float offsetZ, float coordsX, float coordsY, float coordsZ, float rotationX, float rotationY, float rotationZ, float disableColls)
ATTACH_VEHICLE_TO_CARGOBOB
(Vehicle cargobob, Vehicle vehicle, int vehicleBoneIndex, float x, float y, float z)
ATTACH_VEHICLE_TO_TOW_TRUCK
(Vehicle towTruck, Vehicle vehicle, BOOL rear, float hookOffsetX, float hookOffsetY, float hookOffsetZ)
ATTACH_VEHICLE_TO_TRAILER
(Vehicle vehicle, Vehicle trailer, float radius)
BRING_VEHICLE_TO_HALT
(Vehicle vehicle, float distance, int duration, BOOL bControlVerticalVelocity)
CAN_ANCHOR_BOAT_HERE
(Vehicle vehicle)
_CAN_ANCHOR_BOAT_HERE_2
(Vehicle vehicle)
CAN_CARGOBOB_PICK_UP_ENTITY
(Vehicle cargobob, Entity entity)
CAN_SHUFFLE_SEAT
(Vehicle vehicle, int seatIndex)
CLEAR_LAST_DRIVEN_VEHICLE
()
CLEAR_VEHICLE_CUSTOM_PRIMARY_COLOUR
(Vehicle vehicle)
CLEAR_VEHICLE_CUSTOM_SECONDARY_COLOUR
(Vehicle vehicle)
CLEAR_VEHICLE_GENERATOR_AREA_OF_INTEREST
()
_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)