FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_ROTATION_OF_VEHICLE_RECORDING_ID_AT_TIME
(int id, float time)
GET_SUBMARINE_IS_UNDER_DESIGN_DEPTH
(Vehicle submarine)
GET_SUBMARINE_NUMBER_OF_AIR_LEAKS
(Vehicle submarine)
GET_TIME_POSITION_IN_RECORDING
(Vehicle vehicle)
GET_TOTAL_DURATION_OF_VEHICLE_RECORDING
(int recording, char* script)
GET_TOTAL_DURATION_OF_VEHICLE_RECORDING_ID
(int id)
GET_TRAIN_CARRIAGE
(Vehicle train, int trailerNumber)
_GET_TYRE_HEALTH
(Vehicle vehicle, int wheelIndex)
_GET_TYRE_WEAR_MULTIPLIER
(Vehicle vehicle, int wheelIndex)
GET_VEHICLE_ACCELERATION
(Vehicle vehicle)
GET_VEHICLE_ATTACHED_TO_CARGOBOB
(Vehicle cargobob)
GET_VEHICLE_BODY_HEALTH
(Vehicle vehicle)
_GET_VEHICLE_BOMB_COUNT
(Vehicle aircraft)
_GET_VEHICLE_CAN_ACTIVATE_PARACHUTE
(Vehicle vehicle)
GET_VEHICLE_CAUSE_OF_DESTRUCTION
(Vehicle vehicle)
GET_VEHICLE_CLASS
(Vehicle vehicle)
GET_VEHICLE_CLASS_ESTIMATED_MAX_SPEED
(int vehicleClass)
GET_VEHICLE_CLASS_FROM_NAME
(Hash modelHash)
GET_VEHICLE_CLASS_MAX_ACCELERATION
(int vehicleClass)
GET_VEHICLE_CLASS_MAX_AGILITY
(int vehicleClass)
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)