FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_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)
_FIND_VEHICLE_CARRYING_THIS_ENTITY
(Entity entity)
FIX_VEHICLE_WINDOW
(Vehicle vehicle, int windowIndex)
FORCE_PLAYBACK_RECORDED_VEHICLE_UPDATE
(Vehicle vehicle, BOOL p1)
FORCE_SUBMARINE_NEURTAL_BUOYANCY
(Vehicle submarine, int time)
FORCE_SUBMARINE_SURFACE_MODE
(Vehicle vehicle, BOOL toggle)
_GET_ALL_VEHICLES
(int* vehArray)
GET_BOAT_BOOM_POSITION_RATIO
(Vehicle vehicle)
_GET_BOAT_BOOM_POSITION_RATIO_2
(Vehicle vehicle, BOOL p1)
_GET_BOAT_BOOM_POSITION_RATIO_3
(Vehicle vehicle, BOOL p1)
GET_BOAT_VEHICLE_MODEL_AGILITY
(Hash modelHash)
_GET_CAN_VEHICLE_JUMP
(Vehicle vehicle)
_GET_CARGOBOB_HOOK_POSITION
(Vehicle cargobob)
GET_CLOSEST_VEHICLE
(float x, float y, float z, float radius, Hash modelHash, int flags)
GET_CONVERTIBLE_ROOF_STATE
(Vehicle vehicle)
GET_CURRENT_PLAYBACK_FOR_VEHICLE
(Vehicle vehicle)