Add society account money

To add money to a society

Export

exports["jobs_creator"]:addSocietyMoney(jobName, amount)

Parameters

NameData TypeDescription

jobName

string

Job ID (example police)

amount

integer

Amount of money to add

Return value

NameData TypeDescription

isSuccessful

boolean

If money are added or not

Example

local isSuccessful = exports["jobs_creator"]:addSocietyMoney("police", 5000)

print(isSuccessful)

Last updated