repairsCount

Used to get the total amount of repairs the vehicle has had.

Returns a number.

Declaration

vehicle.repairsCount: number;

Usage

const count = vehicle.repairsCount;

Real World Example

const vehicle = new alt.Vehicle('elegy', 0, 0, 0, 0, 0, 0);
console.log(`Repaired ${vehicle.repairsCount}x Times`);

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

results matching ""

    No results matching ""