Page cover

1️⃣Installation

Required Resources

Resource
Download's

Supported Inventories

  • qb-inventory (old)

  • qb-inventory (latest)

  • ox-inventory (coming soon)


OLD - QB-INVENTORY Installation

What needs to be done for stash and meta key system!

Find the function FormatItemInfo(itemData) in your qb-inventory/html/js/app.js file path.

Find the line of code indicated in red in the photo above and add the following code block to the appropriate place.


House Keys Image

For the Housekeys photo, drag and drop the housekeys.png file into the qb-inventory/html/images folder.

You can find the Housekeys photo by accessing the scode-home-v1/setup file path.

housekeys.png

QB-PHONE Installation

To receive notifications via QB-Phone, open the qb-phone/fxmanifest.lua file path and add the following code block.

It should look like this after your changes.

QB-CORE Installation

Find and open the qb-core/shared/items.lua file path in your server file. Then add the following code as item.


STEP - 1 LATEST - QB-INVENTORY Installation

Find the AddItem function and update it as follows: (qb-inventory/server/functions.lua)

Find the relevant code block in step 1, replace it with the code line given below in step 2.


STEP 2 - Find the AddItem function and update it as follows:

(qb-inventory/server/functions.lua)

Find the : exports('SetItemData', SetItemData) function.

STEP 3 - Find the relevant code block in step 1, replace it with the code line given below in step 2.


STEP 4 - Find the AddItem function and update it as follows: (qb-inventory/server/main.lua)

You can add the following code block anywhere in qb-inventory/server/main.lua.

Last updated