Vehicle::setColorRGB

From RAGE Multiplayer Wiki
Revision as of 17:31, 23 September 2017 by Austin (talk | contribs)

This function used to get the vehicle RGB body color.

Syntax

Object vehicle.getColourRGB(int slot);

Required Arguments

  • slot: The color you want to get. (valid is 0 or 1)

Example

let primaryColor = vehicle.getColourRGB(0);
let secondaryColor = vehicle.getColourRGB(1);

See Also

Template:Vehicle block