Vehicle::setColorRGB
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);