From 1f2950fcdde4ba0fa60347bb18e169b323d31c02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=90=AFI=E1=96=87=E1=91=8C=E1=94=95?= <58401490+Virus18sp@users.noreply.github.com> Date: Sun, 20 Jun 2021 19:51:41 -0400 Subject: [PATCH] Fixed Neon color and tyres smoke being not set when pull out car from garage. --- client/functions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/functions.lua b/client/functions.lua index 4bdb2a6..4273d0e 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -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