OPX//77
CreatorsClient exports

AppendPanel

Last updated on

Adds items to your open panel.

local res = exports.opx_infinity:AppendPanel(handle, items, done)

Sync.

Parameters

  • handle: integer

  • items: table[] — panel items

  • done?: boolean — the last batch

  • The panel splits a batch to fit the page; up to 200 items per call.

Returns

  • true

Errors

  • stale_handle, panel item codes, export.badArgument
Example
exports.opx_infinity:AppendPanel(handle, { { id = 'water', label = 'Water' } }, true)

On this page

No Headings