FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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 boat)
CAN_ANCHOR_BOAT_HERE_IGNORE_PLAYERS
(Vehicle boat)
CAN_CARGOBOB_PICK_UP_ENTITY
(Vehicle cargobob, Entity entity)
CAN_SHUFFLE_SEAT
(Vehicle vehicle, int seatIndex)
CLEAR_LAST_DRIVEN_VEHICLE
()
CLEAR_NITROUS
(Vehicle 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)
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)