get the current pearl color on the vehicle.
Pearl color is an underlying color that is applied to the vehicle when the camera is moved around. Pearl color does not work with CUSTOM COLORS you must use
vehicle.secondaryColor to apply a
Valid values range from
const currentPaintType = vehicle.pearlColor; // OR vehicle.pearlColor = 136;
Real World Example
const vehicle = new alt.Vehicle('zentorno', 0, 0, 0, 0, 0, 0); vehicle.PrimaryColor = 5; vehicle.SecondaryColor = 5; vehicle.pearlColor = 27;
These examples assume you have vehicle created or available on