numberPlateIndex

Used to set or get the current display plate for the license plate.

Returns a number.

Declaration

vehicle.numberPlateIndex: number;

Usage

const currentIndex = vehicle.numberPlateIndex;

// OR

vehicle.numberPlateIndex = 4;

Real World Example

const vehicle = new alt.Vehicle('washington', 0, 0, 0, 0, 0, 0);
vehicle.numberPlateIndex = 1;

Visual

No specific order on these, just showing what it does.

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

results matching ""

    No results matching ""