💽Installation
Navigate to .../[qb]/qb-core/shared/items.lua
Scroll to the bottom of the item list and paste the following text. It should look like this https://ibb.co/g3frFBv (Bear in mind you can alter the weight of the parcel)
["parcel"] = {["name"] = "parcel", ["label"] = "Delivery Parcel", ["weight"] = 30000, ["type"] = "item", ["image"] = "parcelBox.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Deliver this to a happy customer!"},
Once added, navigate to .../[qb]/qb-inventory/html/images/ - Paste the following picture into the images folder hhttps://ibb.co/RBk60zc. Make sure the file is called 'parcelBox.png'
Once added, navigate to .../[qb]/qb-inventory/html/js/app.js
Scroll down to around line 400 where you should see a function called
FormatItemInfo
. Paste the following text before you see the wordselse if
- https://pastebin.com/sh0386va - It should look like this https://ibb.co/ZhdB0Wj
else if (itemData.name == "parcel") {
$(".item-info-title").html('<p>' + itemData.label + '</p>')
}
You are now done.
Last updated