Installation
Dependencies
QBCore Framework
How to install
Drag the script in your folder
Add the following item to yourinventory/data/items.lua
QBCore users to qbcore/shared/items.lua
Add the item image to your inventory/images
-- Blackmarket
["blackcard"] = {
["name"] = "blackcard",
["label"] = "Black Card",
["weight"] = 0,
["type"] = "item",
["image"] = "blackcard.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Black Card"
},
Create new item
Make sure you use the right item name. The items must always be numbered.
-- This is a example
[1] = { ItemName= "weapon_knuckle", Label= "Knuckle", Price= 7500 },
[2] = { ItemName= "weapon_knife", Label= "Knife", Price= 10000 },
[3] = { ItemName= "weapon_pistol", Label= "Pistol", Price= 15000 },
Last updated