QB
Deleting Script
If you have qb-weapons and qb-inventory or another inventory script. delete it
Exports
Search for exports['qb-inventory']
and exports["qb-inventory"]
in all your scripts, and replace them with exports['tgiann-inventory']
New itemList Event
Add this event to the bottom of qb-core\shared\main.lua to update the QB Shared Items data
Convert QB Inventory Data to TGIANN Inventory Data
Upload sql_main.sql to your database
Start tgiann-inventory and use convertqb ( server/convert.lua ) on cmd/live console
OpenInventory Exports
In default QB, the export looks like this:
You need to modify these exports as follows: Add the "stash"
value after the player's ID (src
, source
, etc.). Here's the updated example:
More Examples
More Info
Last updated