QB
Deleting Script
If you have qb-weapons script delete it
SetPlayerItems and SetPlayerClotheItems
Open "qb-core\server\player.lua" file
Find the "function self.Functions.UpdatePlayerData()" and add the following code to it
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
Item List
Take a backup before replacing the item file with yours!
Enter the "qb-core/shared" folder
Download the following item list and put it in the qb-core/shared directory
Edit the new file as you wish
qb-shops
I edited qb-shops according to the inventory! Please check config for necessary explanations
qb-policejob
Open "qb-policejob\client\job.lua" file
Find the "RegisterNetEvent('qb-police:client:openArmoury', function()" event and replace it with the following
qb-ambulancejob
Open "qb-ambulancejob\client\job.lua" file
Find the "RegisterNetEvent('qb-ambulancejob:armory', function()" event and replace it with the following
qb-mechanicjob
Open "qb-mechanicjob\client\main.lua" file
Find the "exports['qb-target']:AddCircleZone(k .. '_shop', v.shop, 0.5, {" export and replace it with the following
Last updated