refactor(es_extended): Remove Native money HUD

This commit is contained in:
Mycroft
2022-09-15 20:34:13 +01:00
parent 425723f84c
commit 1458e62f05
-7
View File
@@ -198,13 +198,6 @@ AddEventHandler('esx:setAccountMoney', function(account)
for i=1, #(ESX.PlayerData.accounts) do
if ESX.PlayerData.accounts[i].name == account.name then
ESX.PlayerData.accounts[i] = account
if ESX.PlayerData.accounts[i].name == "bank" then
PlayerBank = account.money
StatSetInt("BANK_BALANCE", PlayerBank, true)
elseif ESX.PlayerData.accounts[i].name == "money" then
PlayerMoney = account.money
StatSetInt("MP0_WALLET_BALANCE", PlayerMoney, true)
end
break
end
end