Vehicle::setModColor1: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
Line 1: Line 1:
paintType:<br>0: Normal<br>1: Metallic<br>2: Pearl<br>3: Matte<br>4: Metal<br>5: Chrome<br><br>color: number of the color.<br><br>p3 seems to always be 0.
paintType:<br>0: Normal<br>1: Metallic<br>2: Pearl<br>3: Matte<br>4: Metal<br>5: Chrome<br><br>color: number of the color.<br><br>p3 seems to always be 0.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">vehicle.setModColor1(paintType, color, p3);</syntaxhighlight>
<syntaxhighlight lang="javascript">vehicle.setModColor1(paintType, color, pearlescentColor);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''paintType:''' int
*'''paintType:''' int
*'''color:''' int
*'''color:''' int
*'''p3:''' int
*'''pearlescentColor:''' int
===Return value===
===Return value===
*'''Undefined'''
*'''Undefined'''

Revision as of 22:57, 25 February 2019

paintType:
0: Normal
1: Metallic
2: Pearl
3: Matte
4: Metal
5: Chrome

color: number of the color.

p3 seems to always be 0.

Syntax

vehicle.setModColor1(paintType, color, pearlescentColor);

Required Arguments

  • paintType: int
  • color: int
  • pearlescentColor: int

Return value

  • Undefined

Example

// todo

See also