mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Merge pull request #621 from JUX84/fix_lscustom_default_wheels
fix(esx_lscustom): default wheels
This commit is contained in:
@@ -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'),
|
||||
|
||||
@@ -68,6 +68,8 @@ Config.Colors = {
|
||||
{label = TranslateCap('gold'), value = 'gold'}
|
||||
}
|
||||
|
||||
Config.DefaultWheelsPriceMultiplier = 2
|
||||
|
||||
function GetColors(color)
|
||||
local colors = {}
|
||||
if color == 'black' then
|
||||
|
||||
Reference in New Issue
Block a user