πŸ“¬Exports

To add and remove points we provide exports so you can make the reputation system work with your job scripts.

Add Points

Parameters:

  • Label - The label of the job that are on config_jobs.lua.

  • Points - The number of points to add to the person.

exports['yoda-reputation']:addPoints(source, label, points)

Remove Points

Parameters:

  • Label - The label of the job that are on config_jobs.lua.

  • Points - The number of points to remove to the person.

exports['yoda-reputation']:removePoints(source, lable, points)

Last updated

Was this helpful?