isWheelBurst

Used to get if a wheel on a vehicle has burst or is flat.

Returns a boolean.

Declaration

vehicle.isWheelBurst(wheel: number): boolean;

Usage

const isWheelFlat = vehicle.isWheelBurst();

Real World Example

const vehicle = new alt.Vehicle('riot', 0, 0, 0, 0, 0, 0);
const isWheelFlat = vehicle.isWheelBurst(2);

These examples assume you have vehicle created or available on server-side

results matching ""

    No results matching ""