Перейти к содержанию

Vehicle::setTyreSmokeColor

Материал из RAGE MP Wiki Archive

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

<syntaxhighlight lang="javascript">vehicle.setTyreSmokeColor(r, g, b);</syntaxhighlight>

Required Arguments

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

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also