For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add society account money

To add money to a society

Export

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

Parameters

Name
Data Type
Description

jobName

string

Job ID (example police)

amount

integer

Amount of money to add

Return value

Name
Data Type
Description

isSuccessful

boolean

If money are added or not

Example

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

print(isSuccessful)

Last updated