OPX//77
CreatorsClient exports

OpenCraftingBench

Last updated on

Opens one of your crafting benches for the local player.

local res = exports.opx_infinity:OpenCraftingBench(key)

Sync.

Parameters

  • key: string — the key you registered with RegisterCraftingBench

  • Asks the server for <your resource>:<key>; the server measures the reach and asks the bench's job gate, and answers with the screen or a refusal toast.

Returns

  • true — the request was sent

Errors

  • invalid_bench, no_screen, export.badArgument
Example
exports.opx_infinity:OpenCraftingBench('bar')

On this page

No Headings