Money color and formatting in inventory

This commit is contained in:
ElPumpo
2018-11-17 12:37:17 +01:00
parent a4152db8c3
commit d804fb316f
10 changed files with 25 additions and 13 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ AddEventHandler('esx:playerLoaded', function(xPlayer)
})
ESX.UI.HUD.UpdateElement('account_' .. xPlayer.accounts[i].name, {
money = xPlayer.accounts[i].money
money = ESX.Math.GroupDigits(xPlayer.accounts[i].money)
})
end
@@ -166,7 +166,7 @@ AddEventHandler('esx:setAccountMoney', function(account)
if Config.EnableHud then
ESX.UI.HUD.UpdateElement('account_' .. account.name, {
money = account.money
money = ESX.Math.GroupDigits(account.money)
})
end
end)