OPX//77
CreatorsServer exports

GetGangs

Last updated on

Lists every gang this server defines, with its grades.

local res = exports.opx_infinity:GetGangs()

Scope read · sync.

  • Same shape as GetJobs, from the GANGS config.

Returns

  • table[] — { name, label, type, defaultDuty, grades }

Errors

  • error.unavailable
Example
local res = exports.opx_infinity:GetGangs()
for _, gang in ipairs(res.value) do print(gang.name, gang.label) end

On this page

No Headings