[Bug] Setting paintType1/paintType2 with vehicleProperties does not work with custom colors
Describe the bug Currently I am trying to set a custom color matte on a vehicle, however no matter what I put into the paintType1/2 setting it doesn't change anything.
To Reproduce Steps to reproduce the behavior:
- Use the
ox_lib:setVehiclePropertieswith this table
model = 1934384720,
dirtLevel = 0,
plateIndex = 1,
modSmokeEnabled = true,
wheels = 1,
modFrame = 0,
modSpoilers = 2,
modFender = 2,
modRoof = 0,
wheelColor = 0,
paintType1 = 3,
paintType2 = 3,
tyreSmokeColor = {0, 175, 218, },
modFrontBumper = 2,
color1 = {0, 175, 218, },
color2 = {0, 175, 218, },
- Use something to set it while in car
- The paint RGB changes, but it is not matte color type
Expected behavior
After setting the paint index to 3 I would expect that the custom color RGB would be changed to a matte paint type. It just sets it to 0 as far as I am seeing.
Additionally, if you set the car to a matte color ID (ex. 131) first via color1 or any color menu, it will then custom color the matte when you run just the RGB color1/color2 values above
I agree there is a weird conflict going on here. I will be digging into it further.