1
0
Fork 0
forked from Simnation/Main

Update functions.lua

This commit is contained in:
Nordi98 2025-06-29 11:52:53 +02:00
parent 848bec9ed1
commit dacca71df6

View file

@ -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