Server Exports

getAccount
exports["nass_bossmenu"]:getAccount(jobName)

Returns the amount in the society funds for a specific job

addMoney
exports["nass_bossmenu"]:addMoney(jobName, amount)

Adds money to a specifc society fund returns nothing

removeMoney
exports["nass_bossmenu"]:removeMoney(jobName, amount)

Removes money from society funds and returns weather the amount was removed or not.

QBCore Gang Exports

getGangAccount
exports["nass_bossmenu"]:getGangAccount(gangName)

Returns the amount in the society funds for a specific gang

addGangMoney
exports["nass_bossmenu"]:addGangMoney(gangName, amount)

Adds money to a specific gang fund returns nothing

removeGangMoney
exports["nass_bossmenu"]:removeGangMoney(gangName, amount)

Removes money from gang funds and returns weather the amount was removed or not.

Last updated