FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_MAKE_NAME_FROM_VEHICLE_MODEL
(Hash modelHash)
GET_MOD_SLOT_NAME
(Vehicle vehicle, int modType)
GET_MOD_TEXT_LABEL
(Vehicle vehicle, int modType, int modValue)
GET_NUM_MOD_COLORS
(int paintType, BOOL p1)
GET_NUM_MOD_KITS
(Vehicle vehicle)
GET_NUM_VEHICLE_MODS
(Vehicle vehicle, int modType)
GET_NUM_VEHICLE_WINDOW_TINTS
()
GET_NUMBER_OF_VEHICLE_COLOURS
(Vehicle vehicle)
_GET_NUMBER_OF_VEHICLE_DOORS
(Vehicle vehicle)
GET_NUMBER_OF_VEHICLE_NUMBER_PLATES
()
GET_PED_IN_VEHICLE_SEAT
(Vehicle vehicle, int seatIndex)
GET_PED_USING_VEHICLE_DOOR
(Vehicle vehicle, int doorIndex)
GET_POSITION_IN_RECORDING
(Vehicle vehicle)
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_REMAINING_NITROUS_DURATION
(Vehicle vehicle)
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)