small cleanup
This commit is contained in:
1 parent
0829bfa112
commit
4775f43e83
7 files changed
+15
-15
No files matched your search
@@ -7,11 +7,11 @@ Managment.GetManagmentName = function()
|
|||||||
return 'default'
|
return 'default'
|
||||||
end
|
end
|
||||||
|
|
||||||
---This will return a table with account details
|
---This will return a number
|
||||||
---@param account string
|
---@param account string
|
||||||
---@return table
|
---@return number
|
||||||
Managment.GetAccountMoney = function(account)
|
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
|
end
|
||||||
|
|
||||||
---This will add money to the specified account of the passed amount
|
---This will add money to the specified account of the passed amount
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ Managment.GetManagmentName = function()
|
|||||||
return 'fd_banking'
|
return 'fd_banking'
|
||||||
end
|
end
|
||||||
|
|
||||||
---This will return a table with account details
|
---This will return a number
|
||||||
---@param account string
|
---@param account string
|
||||||
---@return table
|
---@return number
|
||||||
Managment.GetAccountMoney = function(account)
|
Managment.GetAccountMoney = function(account)
|
||||||
return fd_banking:GetAccount(account)
|
return fd_banking:GetAccount(account)
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ Managment.GetManagmentName = function()
|
|||||||
return 'okokBanking'
|
return 'okokBanking'
|
||||||
end
|
end
|
||||||
|
|
||||||
---This will return a table with account details
|
---This will return a number
|
||||||
---@param account string
|
---@param account string
|
||||||
---@return table
|
---@return number
|
||||||
Managment.GetAccountMoney = function(account)
|
Managment.GetAccountMoney = function(account)
|
||||||
return okokBanking:GetAccount(account)
|
return okokBanking:GetAccount(account)
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ Managment.GetManagmentName = function()
|
|||||||
return 'qb-banking'
|
return 'qb-banking'
|
||||||
end
|
end
|
||||||
|
|
||||||
---This will return a table with account details
|
---This will return a number
|
||||||
---@param account string
|
---@param account string
|
||||||
---@return table
|
---@return number
|
||||||
Managment.GetAccountMoney = function(account)
|
Managment.GetAccountMoney = function(account)
|
||||||
return qbBanking:GetAccountBalance(account)
|
return qbBanking:GetAccountBalance(account)
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ Managment.GetManagmentName = function()
|
|||||||
return 'Renewed-Banking'
|
return 'Renewed-Banking'
|
||||||
end
|
end
|
||||||
|
|
||||||
---This will return a table with account details
|
---This will return a number
|
||||||
---@param account string
|
---@param account string
|
||||||
---@return table
|
---@return number
|
||||||
Managment.GetAccountMoney = function(account)
|
Managment.GetAccountMoney = function(account)
|
||||||
return renewed:getAccountMoney(account)
|
return renewed:getAccountMoney(account)
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ Managment.GetManagmentName = function()
|
|||||||
return 'tgiann-bank'
|
return 'tgiann-bank'
|
||||||
end
|
end
|
||||||
|
|
||||||
---This will return a table with account details
|
---This will return a number
|
||||||
---@param account string
|
---@param account string
|
||||||
---@return table
|
---@return number
|
||||||
Managment.GetAccountMoney = function(account)
|
Managment.GetAccountMoney = function(account)
|
||||||
return tgiann:GetJobAccountBalance(account)
|
return tgiann:GetJobAccountBalance(account)
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ Managment.GetManagmentName = function()
|
|||||||
return 'wasabi_banking'
|
return 'wasabi_banking'
|
||||||
end
|
end
|
||||||
|
|
||||||
---This will return a table with account details
|
---This will return a number
|
||||||
---@param account string
|
---@param account string
|
||||||
---@return table
|
---@return number
|
||||||
Managment.GetAccountMoney = function(account)
|
Managment.GetAccountMoney = function(account)
|
||||||
local balance = exports['wasabi_banking']:GetAccountBalance(account, 'society')
|
local balance = exports['wasabi_banking']:GetAccountBalance(account, 'society')
|
||||||
return balance or 0
|
return balance or 0
|
||||||
|
|||||||
Reference in new issue
Block a user