Merge pull request #621 from JUX84/fix_lscustom_default_wheels

fix(esx_lscustom): default wheels
This commit is contained in:
JackDUpModZ
2022-11-20 22:11:17 +00:00
committed by GitHub
2 changed files with 10 additions and 0 deletions
@@ -237,6 +237,14 @@ function GetAction(data)
modType = k,
modNum = false
})
elseif v.modType == 23 then
table.insert(elements, {
label = " " .. TranslateCap('by_default'),
modType = "modFrontWheels",
modNum = -1,
wheelType = -1,
price = Config.DefaultWheelsPriceMultiplier
})
else
table.insert(elements, {
label = " " .. TranslateCap('by_default'),
+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