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 withRegisterCraftingBench -
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
exports.opx_infinity:OpenCraftingBench('bar')