Vehicle::setColours

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

colorPrimary & colorSecondary are the paint index for the vehicle.
For a list of valid paint indexes, view: pastebin.com/pwHci0xK
-------------------------------------------------------------------------
Use this to get the number of color indices: pastebin.com/RQEeqTSM
Note: minimum color index is 0, maximum color index is (numColorIndices - 1)

Syntax

vehicle.setColours(colorPrimary, colorSecondary);

Required Arguments

  • colorPrimary: int
  • colorSecondary: int

Return value

  • Undefined

Example

// todo

See also