getWheelHealth

Used to get the wheel health of a wheel.

Returns a number.

Declaration

vehicle.getWheelHealth(wheel: number): number;

Usage

const health = vehicle.getWheelHealth();

Real World Example

const vehicle = new alt.Vehicle(`elegy`, 0, 0, 0, 0, 0, 0);
const health = vehicle.getWheelHealth(0);

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

results matching ""

    No results matching ""