fix(esx_lscustom): config based default wheels price

This commit is contained in:
hmmehdi
2022-11-11 11:46:47 +01:00
parent 30e6b19053
commit e4298e1eb8
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ function GetAction(data)
modType = "modFrontWheels",
modNum = -1,
wheelType = -1,
price = 1
price = Config.DefaultWheelsPriceMultiplier
})
else
table.insert(elements, {
+2
View File
@@ -68,6 +68,8 @@ Config.Colors = {
{label = TranslateCap('gold'), value = 'gold'}
}
Config.DefaultWheelsPriceMultiplier = 2
function GetColors(color)
local colors = {}
if color == 'black' then