livery

Used to set or get the livery on a vehicle that has liveries.

Returns a number.

Declaration

vehicle.livery: number;

Usage

const currentMultiplier = vehicle.livery;

// OR

vehicle.livery = 20;

Real World Example

const vehicle = new alt.Vehicle('sanchez', 0, 0, 0, 0, 0, 0);
vehicle.livery = 1;

Visual

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

results matching ""

    No results matching ""