setWheelOnFire

Used to set if a wheel is on fire or not.

Declaration

vehicle.setWheelOnFire(wheel: number, isOnFire: boolean): void;

Usage

vehicle.setWheelOnFire(0, false);

Real World Example

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

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

results matching ""

    No results matching ""