fix for Xenon lights color not set when retrieve from the garage

Added new native and fixed a call for a non exist json parameter.
This commit is contained in:
ᐯIᖇᑌᔕ
2021-06-19 21:19:48 -04:00
committed by GitHub
parent 65c1eb70c9
commit c2171649ef
+2 -2
View File
@@ -576,8 +576,8 @@ QBCore.Functions.SetVehicleProperties = function(vehicle, props)
ToggleVehicleMod(vehicle, 22, props.modXenon)
end
if props.modXenonColor ~= nil then
SetVehicleXenonLightsColour(vehicle, props.modXenonColor)
if props.xenonColor ~= nil then
SetVehicleXenonLightsColor(vehicle, props.xenonColor)
end
if props.modFrontWheels ~= nil then