IsVehicleTyreBurst
Docslocal retval = IsVehicleTyreBurst(vehicle, wheelID, isBurstToRim)Description
enum eVehicleWheels
{
WHEEL_LF = 0, // Vehicle Left front
WHEEL_RF = 1, // Vehicle Right front
WHEEL_LM = 2, // Vehicle Left middle
WHEEL_RM = 3, // Vehicle Right middle
WHEEL_LR = 4, // Vehicle Left rear
WHEEL_RR = 5, // Vehicle Right rear
WHEEL_BF = 6, // Bike front
WHEEL_BR = 7, // Bike rear
MAX_WHEELS = 8
};Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | The vehicle to check the tire status of |
wheelID | int | The wheel id to check, see `eVehicleWheels` |
isBurstToRim | BOOL | Whether it should only return `true` if the tire is bursted to its rims |
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
BOOLReturns TRUE (1) or FALSE (0).