FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_POSITION_OF_VEHICLE_RECORDING_AT_TIME
(int recording, float time, char* script)
GET_POSITION_OF_VEHICLE_RECORDING_ID_AT_TIME
(int id, float time)
GET_RANDOM_VEHICLE_BACK_BUMPER_IN_SPHERE
(float p0, float p1, float p2, float p3, int p4, int p5, int p6)
GET_RANDOM_VEHICLE_FRONT_BUMPER_IN_SPHERE
(float p0, float p1, float p2, float p3, int p4, int p5, int p6)
GET_RANDOM_VEHICLE_IN_SPHERE
(float x, float y, float z, float radius, Hash modelHash, int flags)
GET_RANDOM_VEHICLE_MODEL_IN_MEMORY
(BOOL p0, Hash* modelHash, int* successIndicator)
GET_ROTATION_OF_VEHICLE_RECORDING_AT_TIME
(int recording, float time, char* script)
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)