Zyke Resources' Products
DiscordStore
  • Introduction
  • Common Issues
    • zyke_lib error
    • Lacking Entitlement
    • UI Not Working
    • Missing Files Via FTP
    • Resource Starting Sequence
    • Item Not Usable
    • Any other issues?
  • FAQ
  • Paid Resources
    • Consumables
      • Resource Description
      • Config
      • Exports & Events
      • Dependencies
      • Changelog
      • Guides
      • Setup
    • Smoking
      • Resource Description
      • Config
      • Exports & Events
      • Examples
      • Dependencies
      • Changelog
      • Test Server
      • Setup
    • Garages
      • Resource Description
      • Config
      • Exports & Events
      • Dependencies
      • Changelog
      • Setup
      • Common Issues
    • Drugdealer
      • Resource Description
      • Config
      • Exports & Events
      • Dependencies
      • Changelog
    • Crafting
      • Resource Description
      • Config
      • Exports & Events
      • Dependencies
      • Changelog
    • Plants
      • Resource Description
      • Config
      • Exports & Events
      • Dependencies
      • Changelog
    • Mugging
      • Resource Description
      • Config
      • Exports & Events
      • Changelog
    • Gangsystem
      • Resource Description
      • Config
      • Exports & Events
      • Examples
      • Dependencies
      • Changelog
  • Free Resources
    • Zyke Lib
      • Resource Description
      • Dependencies
      • Config
      • Setup
    • Status
      • Resource Description
      • Exports & Events
      • Dependencies
      • Changelog
      • Setup
    • Propaligner
      • Resource Description
      • Exports & Events
      • Dependencies
      • Changelog
    • Vending Machines
      • Resource Description
      • Dependencies
      • Changelog
    • Sounds
      • Resource Description
      • Exports & Events
    • Key Minigame
      • Resource Description
      • Exports & Events
      • Changelog
    • Stabwheels
      • Resource Description
      • Dependencies
      • Changelog
    • Burncars
      • Resource Description
      • Dependencies
      • Changelog
    • Catalytic
      • Resource Description
      • Exports & Events
      • Config
      • Dependencies
      • Changelog
Powered by GitBook
On this page
  • Server Sided Exports
  • Add a blueprint
  • Transfer a blueprint

Was this helpful?

  1. Paid Resources
  2. Crafting

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)
PreviousConfigNextDependencies

Last updated 12 months ago

Was this helpful?