🛠️Installation

Run the motels.sql

qb-core/shared/items.lua

['motel_key']          = {['name'] = 'motel_key',           ['label'] = 'Motel Key',       ['weight'] = 1000,   ['type'] = 'item',    ['image'] = 'motel_key.png',           ['unique'] = true,     ['useable'] = true,     ['shouldClose'] = true,     ['combinable'] = nil,   ['description'] = ''},

qb-inventory/html/js/app.js

} else if (itemData.name == "motel_key") {
    $(".item-info-title").html("<p>" + itemData.label + "</p>");
    $(".item-info-description").html(
        "<p><strong>Name: </strong><span>" +
        itemData.info.name +
        "</span></p><p><strong>Citizen ID: </strong><span>" +
        itemData.info.citizenid +
        "</span></p><p><strong>Door ID: </strong><span>" +
        itemData.info.doorid +
        "</span></p>"
    );

Last updated