Skip to main content

Vehicle::setColours

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