small cleanup

This commit is contained in:
MrNewb committed 2025-06-28 17:12:56 -04:00
1 parent 0829bfa112
commit 4775f43e83
7 files changed
+15 -15

No files matched your search

+3 -3
View File
@@ -7,11 +7,11 @@ Managment.GetManagmentName = function()
return 'default'
end
---This will return a table with account details
---This will return a number
---@param account string
---@return table
---@return number
Managment.GetAccountMoney = function(account)
return {}, print("The resource you are using does not support this function.")
return 0, print("The resource you are using does not support this function.")
end
---This will add money to the specified account of the passed amount
+2 -2
View File
@@ -10,9 +10,9 @@ Managment.GetManagmentName = function()
return 'fd_banking'
end
---This will return a table with account details
---This will return a number
---@param account string
---@return table
---@return number
Managment.GetAccountMoney = function(account)
return fd_banking:GetAccount(account)
end
+2 -2
View File
@@ -10,9 +10,9 @@ Managment.GetManagmentName = function()
return 'okokBanking'
end
---This will return a table with account details
---This will return a number
---@param account string
---@return table
---@return number
Managment.GetAccountMoney = function(account)
return okokBanking:GetAccount(account)
end
+2 -2
View File
@@ -10,9 +10,9 @@ Managment.GetManagmentName = function()
return 'qb-banking'
end
---This will return a table with account details
---This will return a number
---@param account string
---@return table
---@return number
Managment.GetAccountMoney = function(account)
return qbBanking:GetAccountBalance(account)
end
+2 -2
View File
@@ -10,9 +10,9 @@ Managment.GetManagmentName = function()
return 'Renewed-Banking'
end
---This will return a table with account details
---This will return a number
---@param account string
---@return table
---@return number
Managment.GetAccountMoney = function(account)
return renewed:getAccountMoney(account)
end
+2 -2
View File
@@ -10,9 +10,9 @@ Managment.GetManagmentName = function()
return 'tgiann-bank'
end
---This will return a table with account details
---This will return a number
---@param account string
---@return table
---@return number
Managment.GetAccountMoney = function(account)
return tgiann:GetJobAccountBalance(account)
end
+2 -2
View File
@@ -10,9 +10,9 @@ Managment.GetManagmentName = function()
return 'wasabi_banking'
end
---This will return a table with account details
---This will return a number
---@param account string
---@return table
---@return number
Managment.GetAccountMoney = function(account)
local balance = exports['wasabi_banking']:GetAccountBalance(account, 'society')
return balance or 0