FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_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)
GET_DISPLAY_NAME_FROM_VEHICLE_MODEL
(Hash modelHash)
_GET_DOES_VEHICLE_HAVE_TOMBSTONE
(Vehicle vehicle)
_GET_DRIFT_TYRES_ENABLED
(Vehicle vehicle)
_GET_ENTITY_ATTACHED_TO_CARGOBOB
(Vehicle vehicle)
GET_ENTITY_ATTACHED_TO_TOW_TRUCK
(Vehicle towTruck)
_GET_ENTRY_POSITION_OF_DOOR
(Vehicle vehicle, int doorIndex)
_GET_HAS_RETRACTABLE_WHEELS
(Vehicle vehicle)
_GET_HAS_ROCKET_BOOST
(Vehicle vehicle)
GET_HELI_MAIN_ROTOR_HEALTH
(Vehicle vehicle)
GET_HELI_TAIL_BOOM_HEALTH
(Vehicle vehicle)
GET_HELI_TAIL_ROTOR_HEALTH
(Vehicle vehicle)
_GET_HYDRAULIC_WHEEL_VALUE
(Vehicle vehicle, int wheelId)
GET_IS_BOAT_CAPSIZED
(Vehicle vehicle)
_GET_IS_DOOR_VALID
(Vehicle vehicle, int doorIndex)
GET_IS_LEFT_VEHICLE_HEADLIGHT_DAMAGED
(Vehicle vehicle)