Installation Guide
Dependencies
qb-core / es_extended
Yes
Framework
ox_target / qb-target / qtarget
Yes
Targeting System
ox_lib
Yes
Library
oxmysql
Yes
Database
Installation
1. Drag and Drop
Simply drag and drop it into your resources folder, and everything—database creation, framework detection, and more—is handled automatically for you.
2. Add Items and their Images
Add the following items to your inventory system to enable placeable workbenches. The images for these items are located in the images folder in the root of the resource.
Open
items.lua: Navigate toox_inventory/data/items.lua.Add the Following Items: Insert the following code into the
items.luafile:
["workbench"] = {
label = "Workbench",
weight = 10000,
stack = false,
close = true,
description = "A portable workbench for basic crafting.",
consume = 0,
client = {
image = "workbench.png",
},
server = {
export = 'sd-crafting.useWorkbench',
}
},
["advanced_workbench"] = {
label = "Advanced Workbench",
weight = 15000,
stack = false,
close = true,
description = "A high-tech workbench with advanced crafting capabilities.",
consume = 0,
client = {
image = "advanced_workbench.png",
},
server = {
export = 'sd-crafting.useAdvanced_workbench',
}
},Open
items.lua: Navigate toqb-core/shared/items.lua.Add the Following Items: Insert the following code into the
items.luafile:
Import the items.sql file from the [ESX] folder into your database:
Last updated