setWheelHasTire

Used to set if a wheel should exist in an axle.

Declaration

vehicle.setWheelHasTire(wheel: number, isPresent: boolean): void;

Usage

vehicle.setWheelHasTire(0, false);

Real World Example

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

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

results matching ""

    No results matching ""