diff --git a/client/functions.lua b/client/functions.lua index 8d951a8..4bdb2a6 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -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