From 19a835a9f4c2a2a742fc36c62a2265723bc54b01 Mon Sep 17 00:00:00 2001 From: MrNewb <47620135+MrNewb@users.noreply.github.com> Date: Fri, 30 May 2025 04:07:39 -0400 Subject: [PATCH] Update server.lua --- modules/managment/renewed-banking/server.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/managment/renewed-banking/server.lua b/modules/managment/renewed-banking/server.lua index f1d8525..5155ef7 100644 --- a/modules/managment/renewed-banking/server.lua +++ b/modules/managment/renewed-banking/server.lua @@ -2,11 +2,13 @@ if GetResourceState('Renewed-Banking') == 'missing' then return end Managment = Managment or {} +local renewed = exports['Renewed-Banking'] + ---This will return a table with account details ---@param account string ---@return table Managment.GetAccountMoney = function(account) - return exports['Renewed-Banking']:getAccountMoney(account) + return renewed:getAccountMoney(account) end ---This will add money to the specified account of the passed amount @@ -15,7 +17,7 @@ end ---@param _ string ---@return boolean Managment.AddAccountMoney = function(account, amount, _) - return exports['Renewed-Banking']:addAccountMoney(account, amount) + return renewed:addAccountMoney(account, amount) end ---This will remove money from the specified account of the passed amount @@ -24,7 +26,7 @@ end ---@param _ string ---@return boolean Managment.RemoveAccountMoney = function(account, amount, _) - return exports['Renewed-Banking']:removeAccountMoney(account, amount) + return renewed:removeAccountMoney(account, amount) end return Managment \ No newline at end of file