Vehicle::setTyreSmokeColor

From RAGE Multiplayer Wiki
Revision as of 23:49, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

vehicle.setTyreSmokeColor(r, g, b);

Required Arguments

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

Return value

  • Undefined

Example

// todo

See also