interiorColor

Used to set or get the color of the interior in a vehicle.

Valid values range from 0 to 159.

Returns a number.

Declaration

vehicle.interiorColor: number

Usage

const interiorColor = vehicle.interiorColor;

// OR

vehicle.interiorColor = 9;

Real World Example

const vehicle = new alt.Vehicle('elegy', 0, 0, 0, 0, 0, 0);
vehicle.modKit = 1;
vehicle.interiorColor = 139;

Visual

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

results matching ""

    No results matching ""