QS-Inventory Support

This Is QS-Inventory Support Docs Please Follow The Step

Install

Add the item images to your inventory script

[qb] > qs-inventory > html > images

QBShared Items

[yourfoldername] > qs-inventory > shared > items.lua

    -- Kael Organs
	['organcooler'] 				 = {['name'] = 'organcooler', 			  	  	['label'] = 'Cooler Box', 			['weight'] = 1000, 		['type'] = 'item', 		['image'] = 'coolerbox.png', 			['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'A Cooler Box For Trasfering Organs'},
	['organbox'] 				 = {['name'] = 'organbox', 			  	  	['label'] = 'Organ Cooler Box', 			['weight'] = 1000, 		['type'] = 'item', 		['image'] = 'organbox.png', 			['unique'] = true, 		['useable'] = false, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = ''},
	['trojan_usb'] 				 	 = {['name'] = 'trojan_usb', 			  	  	['label'] = 'Trojan USB', 				['weight'] = 0, 		['type'] = 'item', 		['image'] = 'usb_device.png', 			['unique'] = false, 	['useable'] = false, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Handy software to shut down some systems'},
	['chloroform']                  = {['name'] = 'chloroform',                         ['label'] = 'Chloroform Bottle',             ['weight'] = 1000,         ['type'] = 'item',         ['image'] = 'chloroform.png',             ['unique'] = true,         ['useable'] = false,     ['shouldClose'] = true,       ['combinable'] = nil,   ['description'] = 'A Bottle Of Chloroform'},

Add This In QS-Inventory

[YourFolder] > config > metadata.js

else if (itemData.name == "organbox") {
            $(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
            $(".item-info-description").html(
                "</span></p><p><strong>Description: </strong><span>" +
                itemData.description +
                "</span></p><p><strong>Blood Type: </strong><span>" +
                itemData.info.bloodtype +
                "</span></p><p><strong>Status: </strong><span>" +
                itemData.info.status +
                "</span></p>"
            );
        } 

Last updated