📋Exports & Events

All exports and events available to integrate this resource into others.

Server Sided Exports

Add a blueprint

-- @param source<int> | The server ID for the target
-- @param blueprint<string> | Blueprint (item name) you want to add
-- @param random<bool> | If set to true, it will randomly choose a valid blueprint
-- @return blueprint<string> | Returns the blueprint chosen, nil if none
exports["zyke_crafting"]:AddBlueprint(source, blueprint, random)

Transfer a blueprint

-- @param source<int> | The server id for the sender
-- @param blueprint<string> | Blueprint (item name) you want to add
-- @param targetSource<int> | The server id for the target
exports["zyke_crafting"]:TransferBlueprint(source, blueprint, targetSource)

Last updated