FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_VEHICLE_PETROL_TANK_HEALTH
(Vehicle vehicle)
GET_VEHICLE_PLATE_TYPE
(Vehicle vehicle)
GET_VEHICLE_RECORDING_ID
(int recording, char* script)
_GET_VEHICLE_ROOF_LIVERY
(Vehicle vehicle)
_GET_VEHICLE_ROOF_LIVERY_COUNT
(Vehicle vehicle)
_GET_VEHICLE_SUSPENSION_BOUNDS
(Vehicle vehicle, Vector3* out1, Vector3* out2)
_GET_VEHICLE_SUSPENSION_HEIGHT
(Vehicle vehicle)
GET_VEHICLE_TRAILER_VEHICLE
(Vehicle vehicle, Vehicle* trailer)
GET_VEHICLE_TYRE_SMOKE_COLOR
(Vehicle vehicle, int* r, int* g, int* b)
GET_VEHICLE_TYRES_CAN_BURST
(Vehicle vehicle)
_GET_VEHICLE_WEAPON_CAPACITY
(Vehicle vehicle, int weaponIndex)
GET_VEHICLE_WHEEL_TYPE
(Vehicle vehicle)
GET_VEHICLE_WINDOW_TINT
(Vehicle vehicle)
_GET_VEHICLE_XENON_LIGHTS_COLOR
(Vehicle vehicle)
_HAS_FILLED_VEHICLE_POPULATION
()
HAS_PRELOAD_MODS_FINISHED
(Any p0)
HAS_VEHICLE_ASSET_LOADED
(int vehicleAsset)
HAS_VEHICLE_PHONE_EXPLOSIVE_DEVICE
()
HAS_VEHICLE_RECORDING_BEEN_LOADED
(int recording, char* script)
HAVE_VEHICLE_MODS_STREAMED_IN
(Vehicle vehicle)
_HIDE_VEHICLE_TOMBSTONE
(Vehicle vehicle, BOOL toggle)
INSTANTLY_FILL_VEHICLE_POPULATION
()
IS_ANY_ENTITY_ATTACHED_TO_HANDLER_FRAME
(Vehicle vehicle)
IS_ANY_PED_RAPPELLING_FROM_HELI
(Vehicle vehicle)
IS_ANY_VEHICLE_NEAR_POINT
(float x, float y, float z, float radius)
IS_BIG_VEHICLE
(Vehicle vehicle)
_IS_BOAT_ANCHORED_AND_FROZEN
(Vehicle vehicle)
IS_COP_VEHICLE_IN_AREA_3D
(float x1, float x2, float y1, float y2, float z1, float z2)
IS_ENTITY_ATTACHED_TO_HANDLER_FRAME
(Vehicle vehicle, Entity entity)
_IS_HANDLER_FRAME_ABOVE_CONTAINER
(Vehicle handler, Entity container)
IS_HELI_LANDING_AREA_BLOCKED
(Vehicle vehicle)
IS_HELI_PART_BROKEN
(Vehicle vehicle, BOOL p1, BOOL p2, BOOL p3)
_IS_MISSION_TRAIN
(Vehicle vehicle)
_IS_PED_EXCLUSIVE_DRIVER_OF_VEHICLE
(Ped ped, Vehicle vehicle, int* outIndex)
IS_PLANE_LANDING_GEAR_INTACT
(Vehicle plane)