removed xPlayer .addBank() and .removeBank()

Phasing out ES code, and those functions were misleading
This commit is contained in:
ElPumpo
2020-01-19 22:54:45 +01:00
parent 133825dbea
commit a109701253
-16
View File
@@ -78,22 +78,6 @@ function CreateExtendedPlayer(player, accounts, inventory, job, loadout, name, c
end
end
self.addBank = function(money)
money = ESX.Math.Round(money)
if money > 0 then
self.player.addBank(money)
end
end
self.removeBank = function(money)
money = ESX.Math.Round(money)
if money > 0 then
self.player.removeBank(money)
end
end
self.displayMoney = function(money)
self.player.displayMoney(money)
end