Group digits

This commit is contained in:
ElPumpo
2018-11-10 11:39:21 +01:00
parent cd5f72e28d
commit 9363881047
2 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -275,7 +275,7 @@ function OpenPropertyMenu(property)
{
title = property.label,
align = 'top-left',
elements = elements,
elements = elements
}, function(data, menu)
menu.close()
@@ -387,7 +387,7 @@ function OpenGatewayAvailablePropertiesMenu(property)
for i=1, #gatewayProperties, 1 do
if not PropertyIsOwned(gatewayProperties[i]) then
table.insert(elements, {
label = gatewayProperties[i].label .. ' $' .. gatewayProperties[i].price,
label = gatewayProperties[i].label .. ' $' .. ESX.Math.GroupDigits(gatewayProperties[i].price),
value = gatewayProperties[i].name,
price = gatewayProperties[i].price
})