🛠ī¸Installation

qb-inventory/html/js/app.js

} else if (itemData.name == "stickynotepad") {
    $(".item-info-title").html("<p>" + itemData.label + "</p>");
    $(".item-info-description").html(
        "<p><strong>Text: </strong><span>" +
        itemData.info.text +
        "</span></p>"
    );

qb-core/shared/items.lua

['stickynotepad']                   = {['name'] = 'stickynotepad',                ['label'] = 'Notepad',          ['weight'] = 0,         ['type'] = 'item',         ['image'] = 'stickynotepad.png',                 ['unique'] = false,     ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},

Last updated