Fixed Neon color and tyres smoke being not set when pull out car from garage.

This commit is contained in:
ᐯIᖇᑌᔕ
2021-06-20 19:51:41 -04:00
committed by GitHub
parent 961c50615a
commit 1f2950fcdd
+2 -2
View File
@@ -489,7 +489,7 @@ QBCore.Functions.SetVehicleProperties = function(vehicle, props)
end
if props.neonColor ~= nil then
SetVehicleNeonLightsColour(vehicle, props.neonColor[1], props.neonColor[2], props.neonColor[3])
SetVehicleNeonLightsColour(vehicle, props.neonColor["1"], props.neonColor["2"], props.neonColor["3"])
end
if props.modSmokeEnabled ~= nil then
@@ -497,7 +497,7 @@ QBCore.Functions.SetVehicleProperties = function(vehicle, props)
end
if props.tyreSmokeColor ~= nil then
SetVehicleTyreSmokeColor(vehicle, props.tyreSmokeColor[1], props.tyreSmokeColor[2], props.tyreSmokeColor[3])
SetVehicleTyreSmokeColor(vehicle, props.tyreSmokeColor["1"], props.tyreSmokeColor["2"], props.tyreSmokeColor["3"])
end
if props.modSpoilers ~= nil then