FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_VEHICLE_CLASS_MAX_BRAKING
(int vehicleClass)
GET_VEHICLE_CLASS_MAX_TRACTION
(int vehicleClass)
GET_VEHICLE_COLOR
(Vehicle vehicle, int* r, int* g, int* b)
GET_VEHICLE_COLOUR_COMBINATION
(Vehicle vehicle)
GET_VEHICLE_COLOURS
(Vehicle vehicle, int* colorPrimary, int* colorSecondary)
_GET_VEHICLE_COUNTERMEASURE_COUNT
(Vehicle aircraft)
_GET_VEHICLE_CURRENT_SLIPSTREAM_DRAFT
(Vehicle vehicle)
GET_VEHICLE_CUSTOM_PRIMARY_COLOUR
(Vehicle vehicle, int* r, int* g, int* b)
GET_VEHICLE_CUSTOM_SECONDARY_COLOUR
(Vehicle vehicle, int* r, int* g, int* b)
_GET_VEHICLE_DASHBOARD_COLOR
(Vehicle vehicle, int* color)
GET_VEHICLE_DEFORMATION_AT_POS
(Vehicle vehicle, float offsetX, float offsetY, float offsetZ)
GET_VEHICLE_DIRT_LEVEL
(Vehicle vehicle)
GET_VEHICLE_DOOR_ANGLE_RATIO
(Vehicle vehicle, int doorIndex)
GET_VEHICLE_DOOR_LOCK_STATUS
(Vehicle vehicle)
GET_VEHICLE_DOORS_LOCKED_FOR_PLAYER
(Vehicle vehicle, Player player)
GET_VEHICLE_ENGINE_HEALTH
(Vehicle vehicle)
GET_VEHICLE_ENVEFF_SCALE
(Vehicle vehicle)
GET_VEHICLE_ESTIMATED_MAX_SPEED
(Vehicle vehicle)
GET_VEHICLE_EXTRA_COLOURS
(Vehicle vehicle, int* pearlescentColor, int* wheelColor)
GET_VEHICLE_FLIGHT_NOZZLE_POSITION
(Vehicle aircraft)
GET_VEHICLE_HAS_KERS
(Vehicle vehicle)
_GET_VEHICLE_HAS_PARACHUTE
(Vehicle vehicle)
GET_VEHICLE_HEALTH_PERCENTAGE
(Vehicle vehicle)
GET_VEHICLE_HOMING_LOCKON_STATE
(Vehicle vehicle)
GET_VEHICLE_INDIVIDUAL_DOOR_LOCK_STATUS
(Vehicle vehicle, int doorIndex)
_GET_VEHICLE_INTERIOR_COLOR
(Vehicle vehicle, int* color)
GET_VEHICLE_IS_MERCENARY
(Vehicle vehicle)
GET_VEHICLE_LAYOUT_HASH
(Vehicle vehicle)
GET_VEHICLE_LIGHTS_STATE
(Vehicle vehicle, BOOL* lightsOn, BOOL* highbeamsOn)
GET_VEHICLE_LIVERY
(Vehicle vehicle)
GET_VEHICLE_LIVERY_COUNT
(Vehicle vehicle)
GET_VEHICLE_LOCK_ON_TARGET
(Vehicle vehicle, Entity* entity)
GET_VEHICLE_MAX_BRAKING
(Vehicle vehicle)
GET_VEHICLE_MAX_NUMBER_OF_PASSENGERS
(Vehicle vehicle)
GET_VEHICLE_MAX_TRACTION
(Vehicle vehicle)