forked from Simnation/Main
Update functions.lua
This commit is contained in:
parent
848bec9ed1
commit
dacca71df6
1 changed files with 3 additions and 0 deletions
|
@ -38,12 +38,15 @@ getAccountMoney = function(account)
|
||||||
end)
|
end)
|
||||||
elseif Config.banking == 'qb-management' then
|
elseif Config.banking == 'qb-management' then
|
||||||
value = exports[Config.banking]:GetMoney(account)
|
value = exports[Config.banking]:GetMoney(account)
|
||||||
|
elseif Config.banking == 'okokBanking' then
|
||||||
|
value = exports['okokBanking']:GetBankBalance(account) -- Use the correct export name
|
||||||
else
|
else
|
||||||
value = exports[Config.banking]:GetAccountBalance(account)
|
value = exports[Config.banking]:GetAccountBalance(account)
|
||||||
end
|
end
|
||||||
return value
|
return value
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
---@param webhook string
|
---@param webhook string
|
||||||
---@param title string
|
---@param title string
|
||||||
---@param message string
|
---@param message string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue