GetVehicleWheelType
Docslocal retval = GetVehicleWheelType(vehicle)Description
enum eVehicleWheelType
{
VWT_SPORT = 0,
VWT_MUSCLE = 1,
VWT_LOWRIDER = 2,
VWT_SUV = 3,
VWT_OFFROAD = 4,
VWT_TUNER = 5,
VWT_BIKE = 6,
VWT_HIEND = 7,
// Benny's Original
VWT_SUPERMOD1 = 8,
// Benny's Bespoke
VWT_SUPERMOD2 = 9,
// Open Wheel
VWT_SUPERMOD3 = 10,
// Street
VWT_SUPERMOD4 = 11,
// Track
VWT_SUPERMOD5 = 12,
};Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
Quick Snippet: Get Vehiclevehicle
vehicleUse this to get the current vehicle handle for this native.
-- Get the vehicle the player is currently in
local ped = PlayerPedId()
local vehicle = GetVehiclePedIsIn(ped, false)
if vehicle ~= 0 then
print("Vehicle handle: " .. vehicle)
print("Model: " .. GetEntityModel(vehicle))
else
print("Player is not in a vehicle")
endVehicle Models

adder
alpha
blade
ardent
asea
cogcabrio
baller
blistaReturns
intReturns an integer value.