codem-inventory
Add the gg_boosting items, the Digi Scanner and the images for codem-inventory.
1. Add the items
Open qb-core/shared/items.lua and paste these lines inside the QBShared.Items = { table, above its closing }.
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:
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.
[`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 codem-inventory/html/itemimages. If that folder has no weapon_digiscanner.png, add one with that name.
4. Restart
Restart your server so qb-core and codem-inventory load the new items.
