From eb516e4de64d76ef4938399c8261a4d24234854c Mon Sep 17 00:00:00 2001 From: MrNewb <47620135+MrNewb@users.noreply.github.com> Date: Fri, 30 May 2025 03:46:26 -0400 Subject: [PATCH] force folder casing part2 --- modules/managment/renewed-banking/server.lua | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 modules/managment/renewed-banking/server.lua diff --git a/modules/managment/renewed-banking/server.lua b/modules/managment/renewed-banking/server.lua new file mode 100644 index 0000000..f1d8525 --- /dev/null +++ b/modules/managment/renewed-banking/server.lua @@ -0,0 +1,30 @@ +---@diagnostic disable: duplicate-set-field +if GetResourceState('Renewed-Banking') == 'missing' then return end +Managment = Managment or {} + +---This will return a table with account details +---@param account string +---@return table +Managment.GetAccountMoney = function(account) + return exports['Renewed-Banking']:getAccountMoney(account) +end + +---This will add money to the specified account of the passed amount +---@param account string +---@param amount number +---@param _ string +---@return boolean +Managment.AddAccountMoney = function(account, amount, _) + return exports['Renewed-Banking']:addAccountMoney(account, amount) +end + +---This will remove money from the specified account of the passed amount +---@param account string +---@param amount number +---@param _ string +---@return boolean +Managment.RemoveAccountMoney = function(account, amount, _) + return exports['Renewed-Banking']:removeAccountMoney(account, amount) +end + +return Managment \ No newline at end of file