setWheelBurst

Used to set if a wheel is burst or not.

Declaration

vehicle.setWheelBurst(wheel: number, isDamaged: boolean): void;

Usage

vehicle.setWheelBurst(0, false);

Real World Example

const vehicle = new alt.Vehicle('dloader', 0, 0, 0, 0, 0, 0);
vehicle.setWheelBurst(2, true);

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

results matching ""

    No results matching ""