forked from Simnation/Main
Merge branch 'master' of https://git.evolution-state-life.de/Evolution-State-Life/Main
This commit is contained in:
commit
63c1c2d588
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,6 @@ end
|
||||||
---@param account string
|
---@param account string
|
||||||
---@return number
|
---@return number
|
||||||
getAccountMoney = function(account)
|
getAccountMoney = function(account)
|
||||||
print(json.encode(account))
|
|
||||||
local value = 0
|
local value = 0
|
||||||
if Config.banking == 'Renewed-Banking' then
|
if Config.banking == 'Renewed-Banking' then
|
||||||
value = exports['Renewed-Banking']:getAccountMoney(account)
|
value = exports['Renewed-Banking']:getAccountMoney(account)
|
||||||
|
@ -48,6 +47,7 @@ getAccountMoney = function(account)
|
||||||
else
|
else
|
||||||
value = exports[Config.banking]:GetAccountBalance(account)
|
value = exports[Config.banking]:GetAccountBalance(account)
|
||||||
end
|
end
|
||||||
|
print(value)
|
||||||
return value
|
return value
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue