Inventory Items

This section includes the complete item list for the script, ready to be integrated into the most popular inventory systems. Each item is properly configured with its name, label, and parameters to ensure full compatibility and seamless functionality within your server’s inventory setup.


qs-inventory
['scratchcard'] = {
    ['name'] = 'scratchcard',
    ['label'] = 'Scratch & Win',
    ['weight'] = 10,
    ['type'] = 'item',
    ['image'] = 'scratchcard.png',
    ['unique'] = false,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = 'A lottery scratchcard. Scratch the surface and test your luck — you might win some cash or nothing at all.'
},
esx_inventory
INSERT INTO `items` (`name`, `label`, `weight`) VALUES
    ('scratchcard', 'Scratch & Win', 10)
;
qb-inventory
["scratchcard"]         = { name = "scratchcard", label = "Scratch & Win", weight = 10, type = "item", image = "scratchcard.png", unique = false, useable = true, shouldClose = true, description = "A lottery scratchcard. Scratch the surface and test your luck — you might win some cash or nothing at all." },
ox_inventory
["scratchcard"] = {
    label = "Scratch & Win",
    weight = 10,
    stack = true,
},