qb-inventory

Add the gg_boosting items, the Digi Scanner and the images to qb-core for qb-inventory, ps-inventory or lj-inventory.

qb-inventory, ps-inventory and lj-inventory all read their items from qb-core, so the steps are the same. Only the image folder differs.

1. Add the items

Open qb-core/shared/items.lua and paste these lines inside the QBShared.Items = { table, above its closing }.

Lua
gg_boosting_tablet = { name = 'gg_boosting_tablet', label = 'Boosting Tablet', weight = 1000, type = 'item', image = 'gg_boosting_tablet.png', unique = true, useable = true, shouldClose = true, description = 'A tablet for boosting contracts.' },
gg_tracker_scrambler = { name = 'gg_tracker_scrambler', label = 'Tracker Scrambler', weight = 1000, type = 'item', image = 'gg_tracker_scrambler.png', unique = true, useable = true, shouldClose = true, description = 'Disables the GPS tracker on a boosted car.' },
gg_rattle_can = { name = 'gg_rattle_can', label = 'Rattle Can', weight = 100, type = 'item', image = 'gg_rattle_can.png', unique = false, useable = true, shouldClose = true, description = 'Quickly give your boost a new coat.' },
gg_signal_jammer = { name = 'gg_signal_jammer', label = 'Signal Jammer', weight = 1000, type = 'item', image = 'gg_signal_jammer.png', unique = true, useable = true, shouldClose = true, description = 'Block tower signals by using this item near a tower.' },
gg_wire_cutters = { name = 'gg_wire_cutters', label = 'Wire Cutters', weight = 1000, type = 'item', image = 'gg_wire_cutters.png', unique = true, useable = true, shouldClose = true, description = 'Cut the wires within the vehicle to stop alarms.' },
gg_boost_plate = { name = 'gg_boost_plate', label = 'Stolen Plate', weight = 1000, type = 'item', image = 'gg_boost_plate.png', unique = true, useable = true, shouldClose = true, description = 'Plate from a local vehicle.' },

If the same file has no weapon_digiscanner line, add this one too:

Lua
weapon_digiscanner = { name = 'weapon_digiscanner', label = 'Digi Scanner', weight = 1000, type = 'weapon', ammotype = nil, image = 'weapon_digiscanner.png', unique = true, useable = true, description = 'Hacks keyless entry on boosted cars.' },

2. Add the weapon

Open qb-core/shared/weapons.lua. If it has no weapon_digiscanner entry, paste this inside the QBShared.Weapons = { table.

Lua
[`weapon_digiscanner`] = { name = 'weapon_digiscanner', label = 'Digi Scanner', weapontype = 'Melee', ammotype = nil, damagereason = 'Whacked' },

3. Add the images

Copy every PNG from gg_boosting/!SETUP/IMAGES into your inventory's image folder:

InventoryImage folder
qb-inventoryqb-inventory/html/images
ps-inventoryps-inventory/html/images
lj-inventorylj-inventory/html/images

If your folder has no weapon_digiscanner.png, add one with that name.

4. Restart

Restart your server so qb-core and the inventory load the new items.

Support

Questions before you buy?

Ask the team in our Discord before you pay a thing. Setup help, update notes, giveaways and discount codes, all in one place.

831 online now2,241 members