Vehicle::dashboardColor
This property using for getting or setting vehicle dashboard color. Dashboard colors are 1-157.
Setter
- color value
Getter
- color value
Example
```js mp.events.addCommand('dashboardcolor', (player, _, color) => {
if (!player.vehicle) return; // check if player in vehicle or not
if (color < 1 || color > 157) return; // check player input good color or not
player.vehicle.dashboardColor = parseInt(color); // set vehicle's dashboard color
}); ```