Note: Some of your scripts may not work without ox_inventory. Therefore, check the errors in your console and adjust the fxmanifest files of the scripts that require ox_inventory. When you make these adjustments, you might encounter export errors. Replace the old exports with the exports from tgiann-inventory to fix these issues.
Removing the Ox Inventory requirement
Open "qbx_core\server\main.lua" file
Find and delete the 4 lines in the screenshot
Open "qbx_core\bridge\qb\server\main.lua" file
Find and delete the 2 lines in the screenshot
Open "qbx_core\bridge\qb\shared\main.lua" file
Find and delete all codes in the screenshot
Open "qbx_core\shared\main.lua" file
Add the following function to the file in the screenshot
qbShared.Items =require'shared.items'
Edit HasItem Functions
Open "qbx_core\bridge\qb\client\functions.lua" file
Find the "functions.HasItem = function(items, amount)" and replace it with the following code
Convert Ox Inventory Data to TGIANN Inventory Data
Upload sql_main.sql to your database
Start tgiann-inventory and use convertox ( server/convert.lua ) on cmd/live console
QB-Multicharacter
Open "qbx-multichar\server\main.lua" file
A 2000-millisecond delay needs to be added to the GiveStarterItems function because the inventory is created shortly after the player is loaded, and since this function runs while the player is being loaded, the starter items cannot be given. To fix this, modify the function as shown below (we added a 2000-millisecond delay at the very beginning of the function).
Note: If you are using a different multichar script and it contains a similar code, make the same adjustment there as well.