FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_VEHICLE_MOD_COLOR_1
(Vehicle vehicle, int* paintType, int* color, int* pearlescentColor)
GET_VEHICLE_MOD_COLOR_1_NAME
(Vehicle vehicle, BOOL p1)
GET_VEHICLE_MOD_COLOR_2
(Vehicle vehicle, int* paintType, int* color)
GET_VEHICLE_MOD_COLOR_2_NAME
(Vehicle vehicle)
GET_VEHICLE_MOD_IDENTIFIER_HASH
(Vehicle vehicle, int modType, int modIndex)
GET_VEHICLE_MOD_KIT
(Vehicle vehicle)
GET_VEHICLE_MOD_KIT_TYPE
(Vehicle vehicle)
GET_VEHICLE_MOD_MODIFIER_VALUE
(Vehicle vehicle, int modType, int modIndex)
GET_VEHICLE_MOD_VARIATION
(Vehicle vehicle, int modType)
GET_VEHICLE_MODEL_ACCELERATION
(Hash modelHash)
_GET_VEHICLE_MODEL_ESTIMATED_AGILITY
(Hash modelHash)
GET_VEHICLE_MODEL_ESTIMATED_MAX_SPEED
(Hash modelHash)
GET_VEHICLE_MODEL_MAX_BRAKING
(Hash modelHash)
GET_VEHICLE_MODEL_MAX_BRAKING_MAX_MODS
(Hash modelHash)
_GET_VEHICLE_MODEL_MAX_KNOTS
(Hash modelHash)
GET_VEHICLE_MODEL_MAX_TRACTION
(Hash modelHash)
GET_VEHICLE_MODEL_NUMBER_OF_SEATS
(Hash modelHash)
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)