isWheelOnFire

Used to get if a wheel has burst into flames.

Returns a boolean.

Declaration

vehicle.isWheelOnFire(wheel: number): boolean;

Usage

const isWheelOnFire = vehicle.isWheelOnFire();

Real World Example

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

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

results matching ""

    No results matching ""