mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Money color and formatting in inventory
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user