Skip to main content

Vehicle::setTyreSmokeColor

Sets the tire smoke's color of this vehicle.

vehicle: The vehicle that is the target of this method. r: The red level in the RGB color code. g: The green level in the RGB color code. b: The blue level in the RGB color code.

Note: setting r,g,b to 0 will give the car independance day tyre smoke

Syntax

```js vehicle.setTyreSmokeColor(r, g, b); ```

Required Arguments

  • r: int
  • g: int
  • b: int

Return value

  • Undefined

Example

```js // todo ```

See also