mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 17:58:54 +00:00
removed xPlayer .addBank() and .removeBank()
Phasing out ES code, and those functions were misleading
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user