Server exports
getUserOrg
local orgId = exports['pp-orgpanel']:getUserOrg(
source -- user id
)getProgress
local progress = exports['pp-orgpanel']:getProgress(
orgId -- organization id
)addProgress
local success = exports['pp-orgpanel']:addProgress(
orgId, -- organization id
amount -- amount of progress | number
)removeProgress
local success = exports['pp-orgpanel']:removeProgress(
orgId, -- organization id
amount -- amount of progress | number
)Was this helpful?