qb-inventory
Add the Speaker System items and images to qb-inventory.
1. Add the items
Open qb-core/shared/items.lua and paste these entries inside the QBShared.Items table, above its last }. Do not replace the whole file.
Lua
['gg_speaker_01'] = { name = 'gg_speaker_01', label = 'Pocket speaker', weight = 700, type = 'item', image = 'gg_speaker_01.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A portable left-hand speaker. Manage it with Speaker Connect.' },
['gg_speaker_02'] = { name = 'gg_speaker_02', label = 'Plus speaker', weight = 1200, type = 'item', image = 'gg_speaker_02.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A portable left-hand speaker. Manage it with Speaker Connect.' },
['gg_speaker_03'] = { name = 'gg_speaker_03', label = 'Max speaker', weight = 2000, type = 'item', image = 'gg_speaker_03.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A portable left-hand speaker. Manage it with Speaker Connect.' },
['gg_stereo_01'] = { name = 'gg_stereo_01', label = 'Ground stereo', weight = 6000, type = 'item', image = 'gg_stereo_01.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Place this stereo before playing. Manage it with Speaker Connect.' },
['gg_stereo_02'] = { name = 'gg_stereo_02', label = 'Tripod speaker', weight = 9000, type = 'item', image = 'gg_stereo_02.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Place this stereo before playing. Manage it with Speaker Connect.' },
['gg_stereo_03'] = { name = 'gg_stereo_03', label = 'Event rig', weight = 18000, type = 'item', image = 'gg_stereo_03.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Place this stereo before playing. Manage it with Speaker Connect.' },
['gg_sub_01'] = { name = 'gg_sub_01', label = 'Sub cabinet', weight = 22000, type = 'item', image = 'gg_sub_01.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A subwoofer with no radio of its own: place it and play it together with a speaker. Manage it with Speaker Connect.' },
['gg_fx_beam_01'] = { name = 'gg_fx_beam_01', label = 'Beam light', weight = 7000, type = 'item', image = 'gg_fx_beam_01.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A moving-head beam light. Set it down near one of your speakers and it joins it, keeping time with its music. Set its look from that speaker in Speaker Connect.' },
['gg_fx_strobe_01'] = { name = 'gg_fx_strobe_01', label = 'Strobe light', weight = 5000, type = 'item', image = 'gg_fx_strobe_01.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A strobe panel. Set it down near one of your speakers and it joins it, flashing with its music. Set its look from that speaker in Speaker Connect.' },
['gg_subwoofer'] = { name = 'gg_subwoofer', label = 'Subwoofer', weight = 8000, type = 'item', image = 'gg_subwoofer.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Installs in a car with a Premium tablet: use it from a front seat of your parked car, or standing at its boot. One per car; taking the tablet out, or Remove Subwoofer on the Sound page, gives it back.' },
['gg_tablet_basic'] = { name = 'gg_tablet_basic', label = 'Car Tablet (Basic)', weight = 900, type = 'item', image = 'gg_tablet_basic.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'A 5-inch Basic dash tablet. Use it in the front seat of your parked car to fit it.' },
['gg_tablet_plus'] = { name = 'gg_tablet_plus', label = 'Car Tablet (Plus)', weight = 1100, type = 'item', image = 'gg_tablet_plus.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'A 7-inch Plus dash tablet. Use it in the front seat of your parked car to fit it.' },
['gg_tablet_premium'] = { name = 'gg_tablet_premium', label = 'Car Tablet (Premium)', weight = 1400, type = 'item', image = 'gg_tablet_premium.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'A 10.1-inch Premium dash tablet. It drives a subwoofer once one is installed. Use it in the front seat of your parked car to fit it.' },
Keep the item names exactly as they are. The script registers every item as usable itself. Speakers are unique because each one carries its own device id; the car tablets stack.
2. Add the images
Copy every PNG from gg_speakersystem/!SETUP/inventory_images/ into:
Text
qb-inventory/html/images/
3. Restart
Restart your server so the inventory loads the new items and images.
