wheelColor

Used to set or get the wheel color of a vehicle.

Values between 1 and 159.

Returns a number.

Declaration

vehicle.wheelColor: number;

Usage

const tireColor = vehicle.wheelColor;

// OR

vehicle.wheelColor = 136;

Real World Example

const vehicle = new alt.Vehicle('police', 0, 0, 0, 0, 0, 0);
vehicle.wheelColor = 136;

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

results matching ""

    No results matching ""