Item Setup
To make the House Robbery script fully functional, you must add the provided items to your inventory system.
Depending on the framework/inventory you use, follow the correct setup below.
🟦 QBCore Setup
Open your QBCore shared items file:
[qb]/qb-core/shared/items.luaAdd the following items at the bottom:
-- 🔐 FM House Robbery Items
["hack_laptop"] = {["name"] = "hack_laptop", ["label"] = "Hacking Laptop", ["weight"] = 20, ["type"] = "item", ["image"] = "hack_laptop.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["lockpick"] = {["name"] = "lockpick", ["label"] = "Lockpick", ["weight"] = 300, ["type"] = "item", ["image"] = "lockpick.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["description"] = "Very useful if you lose your keys a lot.. or if you want to use it for something else..."},
["drill"] = {["name"] = "drill", ["label"] = "Drill", ["weight"] = 20000, ["type"] = "item", ["image"] = "drill.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["description"] = "The real deal..."},
["bong"] = {["name"] = "bong", ["label"] = "Bong", ["weight"] = 25, ["type"] = "item", ["image"] = "bong.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["book"] = {["name"] = "book", ["label"] = "Book", ["weight"] = 25, ["type"] = "item", ["image"] = "book.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["toiletry"] = {["name"] = "toiletry", ["label"] = "Toiletry", ["weight"] = 10, ["type"] = "item", ["image"] = "toiletry.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["boombox"] = {["name"] = "boombox", ["label"] = "Boombox", ["weight"] = 85, ["type"] = "item", ["image"] = "boombox.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["bracelet"] = {["name"] = "bracelet", ["label"] = "Bracelet", ["weight"] = 25, ["type"] = "item", ["image"] = "bracelet.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["gold_bracelet"] = {["name"] = "gold_bracelet", ["label"] = "Gold Bracelet", ["weight"] = 45, ["type"] = "item", ["image"] = "gold_bracelet.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["earings"] = {["name"] = "earings", ["label"] = "Earrings", ["weight"] = 25, ["type"] = "item", ["image"] = "earings.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["gold_watch"] = {["name"] = "gold_watch", ["label"] = "Gold Watch", ["weight"] = 55, ["type"] = "item", ["image"] = "gold_watch.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["laptop"] = {["name"] = "laptop", ["label"] = "Laptop", ["weight"] = 100, ["type"] = "item", ["image"] = "laptop.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["necklace"] = {["name"] = "necklace", ["label"] = "Necklace", ["weight"] = 55, ["type"] = "item", ["image"] = "necklace.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["pencil"] = {["name"] = "pencil", ["label"] = "Pencil", ["weight"] = 25, ["type"] = "item", ["image"] = "pencil.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["shampoo"] = {["name"] = "shampoo", ["label"] = "Shampoo", ["weight"] = 25, ["type"] = "item", ["image"] = "shampoo.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["romantic_book"] = {["name"] = "romantic_book", ["label"] = "Romantic Book", ["weight"] = 25, ["type"] = "item", ["image"] = "romantic_book.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["soap"] = {["name"] = "soap", ["label"] = "Soap", ["weight"] = 25, ["type"] = "item", ["image"] = "soap.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["shoebox"] = {["name"] = "shoebox", ["label"] = "Shoe Box", ["weight"] = 45, ["type"] = "item", ["image"] = "shoebox.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["watch"] = {["name"] = "watch", ["label"] = "Watch", ["weight"] = 35, ["type"] = "item", ["image"] = "watch.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["wallet"] = {["name"] = "wallet", ["label"] = "Wallet", ["weight"] = 45, ["type"] = "item", ["image"] = "wallet.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["candle"] = {["name"] = "candle", ["label"] = "Candle", ["weight"] = 25, ["type"] = "item", ["image"] = "candle.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["teddy_bear"] = {["name"] = "teddy_bear", ["label"] = "Teddy Bear", ["weight"] = 45, ["type"] = "item", ["image"] = "teddy_bear.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["trophy"] = {["name"] = "trophy", ["label"] = "Trophy", ["weight"] = 55, ["type"] = "item", ["image"] = "trophy.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},🟥 Ox Inventory Setup
Open your Ox Inventory items file:
Add the same items in this format:
✅ Notes
Make sure the images (
.png) exist in yourinventory/html/images(QBCore) orox_inventory/web/images(Ox).Item names must match exactly with your config in
houseRobbery.lua.You can customize weights, descriptions, and unique/usable flags depending on your server economy.
Last updated