setWheelHealth

Used to set the health of a wheel.

Declaration

vehicle.setWheelHealth(wheel: number, health: number): void;

Usage

vehicle.setWheelHealth(0, 100);

Real World Example

const vehicle = new alt.Vehicle('dloader', 0, 0, 0, 0, 0, 0);
vehicle.setWheelHealth(0, 100);

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

results matching ""

    No results matching ""