A full configurable rental script for QBCore
Youtube preview: https://www.youtube.com/watch?v=HacwQPnuVOQ
['renting_contract'] = {['name'] = 'renting_contract', ['label'] = 'Renting Contract', ['weight'] = 500, ['type'] = 'item', ['image'] = 'renting_contract.png', ['unique'] = true, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
else if (itemData.name == "renting_contract") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html("<p>Name: " + itemData.info.name + "</p> <p>Vehicle Plate: " + itemData.info.plate + "</p> <p>Renting Time: " + itemData.info.time + "</p> <p>Paid Price: " + itemData.info.price + "</p> <p>Vehicle Model: " + itemData.info.vehiclename + "</p>");
}