numberPlateText

Used to set or get the current license plate text.

Max is 7 character(s).

Returns a string.

Declaration

vehicle.numberPlateText: string;

Usage

const currentText = vehicle.numberPlateText;

// OR

vehicle.numberPlateText = 'Hello';

Real World Example

const vehicle = new alt.Vehicle('washington', 0, 0, 0, 0, 0, 0);
vehicle.numberPlateText = 'Stuyk';

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 ""