RedM Natives

GET_VEHICLE_WHEEL_TYPE

Hash0xDA58D7AE
Runtime nameGetVehicleWheelType
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

int GET_VEHICLE_WHEEL_TYPE(Vehicle vehicle);

Parameters

NameTypeDescription
vehicleVehicle—

Returns int

Usage

Lua
local retval = GetVehicleWheelType(vehicle)

-- always works, by hash
local retval = Citizen.InvokeNative(0xda58d7ae, vehicle, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetVehicleWheelType(vehicle);

// by hash
const retval = Citizen.invokeNative('0xda58d7ae', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xda58d7ae, vehicle);

Sources

Cfx.re native reference

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.