Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Question QB-Target & QB-Inventory-Crafting Combining need help !

Anonymouse

Gold Elite
Joined
Aug 12, 2021
Messages
136
Reaction score
2,204
Points
316
Well since that i discovered QB-Crafting is just in qb-inventory combines i cannot figure out how i can put Qb-Inventory to qb-target for crafting,
i tought the command event ='', Wat i have i tought this would work but defently not i find always a way but now i cannot figure it out, Anyone has a suggestion ?

-- crafting
["Crafting"] = {
models = {
"prop_toolchest_05"
},
options = {
{
type = "client",
event = "inventory:server:OpenInventory:crafting",
icon = "far fa-building",
label = "Maken",
}
},

distance = 2.5,
},
--- end crafting
 

snitchers

Developer
Joined
Oct 12, 2021
Messages
72
Solutions
4
Reaction score
1,657
Points
306
Location
Netherlands
Well since that i discovered QB-Crafting is just in qb-inventory combines i cannot figure out how i can put Qb-Inventory to qb-target for crafting,
i tought the command event ='', Wat i have i tought this would work but defently not i find always a way but now i cannot figure it out, Anyone has a suggestion ?

-- crafting
["Crafting"] = {
models = {
"prop_toolchest_05"
},
options = {
{
type = "client",
event = "inventory:server:OpenInventory:crafting",
icon = "far fa-building",
label = "Maken",
}
},

distance = 2.5,
},
--- end crafting
Go to your inventory/client/main.lua and paste the following code somewhere at the bottom:
Code:
RegisterNetEvent('qb-inventory:client:openCrafting', function()
    local crafting = {}
    crafting.label = "Crafting"
    crafting.items = GetThresholdItems()
    TriggerServerEvent("inventory:server:OpenInventory", "crafting", math.random(1, 99), crafting)
    sleep = 100
end)

then in your qb-target use:

Code:
event = "qb-inventory:client:openCrafting"
 

kage_oce

Member
Joined
Jun 10, 2023
Messages
6
Reaction score
0
Points
156
Location
australia
very late reply but i got my normal item crafting to work with qb-target, i can't get the attachment crafting to work though, even though i have it set to a different object, it still only brings up the normal crafting menu
 
Top