Corrected number grouping

This commit is contained in:
ElPumpo
2018-11-05 20:31:57 +01:00
parent 542ff5a505
commit b50650db54
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ function OpenBuyLicenseMenu(zone)
ESX.UI.Menu.Open('default', GetCurrentResourceName(), 'shop_license', {
title = _U('buy_license'),
elements = {
{ label = _U('yes', ('<span style="color: green;">%s</span>'):format(ESX.Math.GroupDigits(_U('shop_menu_item', Config.LicensePrice)))), value = 'yes' },
{ label = _U('yes', ('<span style="color: green;">%s</span>'):format((_U('shop_menu_item', ESX.Math.GroupDigits(Config.LicensePrice)))), value = 'yes' },
{ label = _U('no'), value = 'no' }
}
}, function(data, menu)
@@ -64,7 +64,7 @@ function OpenShopMenu(zone)
local item = Config.Zones[zone].Items[i]
table.insert(elements, {
label = ('%s - <span style="color: green;">%s</span>'):format(item.label, ESX.Math.GroupDigits(_U('shop_menu_item', item.price))),
label = ('%s - <span style="color: green;">%s</span>'):format(item.label, _U('shop_menu_item', ESX.Math.GroupDigits(item.price))),
weaponName = item.item
})
end
+1 -1
View File
@@ -1,4 +1,4 @@
ESX = nil
ESX = nil
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)