wheelsCount

Used to get the total tires on a vehicle.

Returns a number.

Declaration

vehicle.wheelsCount: number

Usage

const currentWheelsCount = vehicle.wheelsCount;

Real World Example

// Check if the local player is in a vehicle.
if (alt.Player.local.vehicle) {
    console.log(`Wheel Count is: ${alt.Player.local.vehicle.wheelsCount}`);
}

These examples assume you have a vehicle available on client-side.

results matching ""

    No results matching ""