Banking Scripts
Get Society Funds
-- Returns society money or false
function getSociety(name)
if not name then print('[ERROR] Function getSociety received NULL as argument') return end
return exports['Renewed-Banking']:getAccountMoney(name) -- EXAMPLE with RB
endAdd Society Funds
function addSociety(src, job, amount, name, description)
if avBusiness then -- Optional but highly recommended to keep it
--This export adds the log for Bank tab + add income for monthly goal
exports['av_business']:addMoney(name, job, amount, description)
end
-- You can add your banking exports here:
exports['Renewed-Banking']:addAccountMoney(job,amount) -- EXAMPLE with RB
endRemove Society Funds
Last updated