qb-inventory
Inventory Items
Navigate to
qb-core/shared/items.lua
and paste the following lineswritten_card = { name = 'written_card', label = 'Written Card', weight = 1, type = 'item', image = 'written_card.png', unique = true, useable = false, shouldClose = false, combinable = nil, description = 'A written card with someones data' }, laptop = { name = 'laptop', label = 'Laptop', weight = 1, type = 'item', image = 'laptop.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'A basic laptop' }, msr605x = { name = 'msr605x', label = 'MSR 605X', weight = 1, type = 'item', image = 'msr605x.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'A card reader/writer' }, cell_adapter = { name = 'cell_adapter', label = 'Cellular Adapter', weight = 1, type = 'item', image = 'cell_adapter.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'A 4G Module for connecting to the internet' }, blank_card = { name = 'blank_card', label = 'Blank Card', weight = 1, type = 'item', image = 'blank_card.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'A card reader/writer' },
Inventory Images
Drag the images from devm-fraud/_INSTALL FIRST/items/images
into qb-inventory/html/images
Inventory Labeling
Put the following code in qb-inventory/html/js/app.js
under the generateDescription
function near line 336 with the rest of the similar lines
case "written_card":
return `<p><strong>Card Holder: </strong><span>${itemData.info.label}</span></p><p><strong>Card Type: </strong><span>${itemData.info.subtype}</span></p>`;
Last updated