setWheelDetached

Used to set if a wheel is detached or not.

Declaration

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

Usage

vehicle.setWheelDetached(0, false);

Real World Example

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

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

results matching ""

    No results matching ""