FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_VEHICLE_MODEL_VALUE
(Hash vehicleModel)
_GET_VEHICLE_NEON_LIGHTS_COLOUR
(Vehicle vehicle, int* r, int* g, int* b)
_GET_VEHICLE_NUMBER_OF_BROKEN_BONES
(Vehicle vehicle)
_GET_VEHICLE_NUMBER_OF_BROKEN_OFF_BONES
(Vehicle vehicle)
GET_VEHICLE_NUMBER_OF_PASSENGERS
(Vehicle vehicle)
GET_VEHICLE_NUMBER_PLATE_TEXT
(Vehicle vehicle)
GET_VEHICLE_NUMBER_PLATE_TEXT_INDEX
(Vehicle vehicle)
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)