How to add weapons to qb-blackmarket

Wanna add weapons to my qb-blackmarket and have no idea how to do it can anyone with a bit more knowledge help me figure this out have been trying on my own but keep failing:/

what black market do you have?

1 Like

The qb-blackmarket :+1:

1 Like

oh qbus right

Yeah exactly

1 Like

Qbus Systems Dose Not work on core dont know of u know

When I go inside my resources i see alot with qb- and one named qb-blackmarket but it’s so complicated in there so have no idea how to add but know it works when I tp to the coords in the blackmarket I get to a door where I need to knock to open blackmarket :blush:

1 Like

can u send the script?

Of course where you want me to send it to just in here or directly to you :+1:

1 Like

just in here
i will send u the line where u cann work on

Okay perfect here you go and thanks alot for the help :+1:
Config.lua (6.7 KB)
server.lua (428 Bytes)
client.lua (23.2 KB)
__resource.lua (237 Bytes)
That’s anything inside the folder :+1:

its easy bro u need just to add some like:

—ITEM NON GANG

Config.Itemspistol = {

label = "Ammo Pistol",

slots = 10000,

items = {

[1] = {

        name = "weapon_pistol",

        price = 1000,

        amount = 1,

        info = {

            serie = "",    

            attachments = {

                {component = "COMPONENT_AT_PI_FLSH", label = "Flashlight"},

            }

        },

        type = "weapon",

        slot = 1,

    },

    [2] = {

        name = "pistol_ammo",

        price = 40,

        amount = 5,

        info = {},

        type = "item",

        slot = 2,

    },

    [3] = {

        name = "weapon_appistol",

        price = 10000,

        amount = 1,

        info = {

            serie = "",            

        },

        type = "weapon",

        slot = 3,

    },

    [4] = {

        name = "weapon_heavypistol",

        price = 8000,

        amount = 1,

        info = {

            serie = "",            

        },

        type = "weapon",

        slot = 4,

    },

    [5] = {

        name = "weapon_minismg",

        price = 19000,

        amount = 1,

        info = {

            serie = "",            

        },

        type = "weapon",

        slot = 5,

    },

    [6] = {

        name = "smg_ammo",

        price = 200,

        amount = 1,

        info = {

            serie = "",            

        },

        type = "weapon",

        slot = 6,

    },
    [7] = {

        name = "new Weapon",

        price = 200,

        amount = 1,

        info = {

            serie = "",            

        },

        type = "weapon",

        slot = 7,

    },

}

}

Like so

Thanks you i will try it normal I work with esx and that is just in the database so was a little confused about it when I saw it in there but I will give it a try and if I f**k it up I will just return :sweat_smile::sweat_smile::+1::+1:

ohhh than have fun adding new cars or items :'D

Haha found a way for cars took me 4 hour to add 560 cars :rofl:items still a learning process​:sweat_smile:

What if i wanna add so people can use a suppressor on the weapon its also in there I need to add that or how does that work🤔

When I try to go into the blackmarket after it say there is a fail in aj-iventory but can see the same weapon is under gang and it working there :sweat_smile:

Can you Mavericks Send some screens or a vod

Yeah of course will do it later I am on work right now can do it when I come home :blush:
But was looking there and it was saying when I looked on the line it was iteminfo:as in name,label,and so on but took all the names from qb-core so having a little idea it’s maybe the inventory there is the problem

https://drive.google.com/file/d/14az8gcf5Pb7xw6IGnA_6GTlZJrdOGG7N/view?usp=sharing