🧾
docs.scriptsfivem.com
CtrlK
  • 👋Welcome
  • 🧾Resources
    • 📱sfphone
      • Installations
      • Config
      • Exports
      • Open phone
    • 🚗sfracing
      • Installations
      • Config
      • Exports
    • 💵sfbanking
      • Installations
      • Config
      • Exports
    • 💻sfctab
      • Installations
      • Config
      • Open tablet
      • Exports // Triggers
    • 🛠️sfcrafting
      • Installations
      • Config
      • Open crafting table
    • 🔔sfnotify
      • Installations
      • Config
      • Exports // Triggers
    • 👷‍♂️sfjob
      • Installations
      • Config
      • Exports // Triggers
    • 💻sfjobtab
      • Installations
      • Config
      • Triggers
    • ⌚sfgps
      • Installations
      • Config
      • Exports
    • 👮sfpolice
      • Installations
      • Config
      • Exports/Triggers
    • 🏥sfems
      • Installations
      • Config
      • Exports/Triggers
    • 🅿️sfgarages
      • Installations
      • Config
      • Exports/Triggers
    • 🏛️sfdoj
      • Installations
      • Config
      • Exports/Triggers
    • 🎣sffishing
      • Installations
      • Config
      • Triggers
    • 🚗sfvehicleshop
      • Installations
      • Config
    • 🔧sfmechanic
      • Installations
      • Config
      • Exports/Triggers
    • 🏰sfjail
      • Installations
      • Config
      • Exports
    • 🔑sfkeys
      • Exports
Powered by GitBook
On this page
  1. 🧾Resources
  2. 🛠️sfcrafting

Open crafting table

TRIGGERS Lua code examples for Client Side

local name_table = "table1"
local job = "none"
local name_inv = "client"
TriggerEvent("sfcrafting:openCrafting", name_table, job, name_inv)
local name_table = "table2"
local job = "burgershot"
local name_inv = "burgershot-warehouse"
TriggerEvent("sfcrafting:openCrafting", name_table, job, name_inv)
TriggerEvent("nuifix") -- if the NUI breaks.

PreviousConfigNextsfnotify

Last updated 2 years ago