QBCore format
The Racing System items in the QBCore format (qb-core shared items), with their pictures.
1. Add the items
Open qb-core/shared/items.lua and paste these lines inside the QBShared.Items table, above its last }. Do not replace the whole file.
gg_racing_tablet = { name = 'gg_racing_tablet', label = 'Racing Tablet', weight = 1000, type = 'item', image = 'gg_racing_tablet.png', unique = true, useable = true, shouldClose = true, description = 'Find races, join the grid and follow your results.' },
gg_racing_case_participation = { name = 'gg_racing_case_participation', label = 'Participation Racing Case', weight = 2500, type = 'item', image = 'gg_racing_case_participation.png', unique = true, useable = true, shouldClose = true, description = "A contract finish's reward case. Use it to set it down and open it." },
gg_racing_case_bronze = { name = 'gg_racing_case_bronze', label = 'Bronze Racing Case', weight = 2500, type = 'item', image = 'gg_racing_case_bronze.png', unique = true, useable = true, shouldClose = true, description = "A contract medal's reward case. Use it to set it down and open it." },
gg_racing_case_silver = { name = 'gg_racing_case_silver', label = 'Silver Racing Case', weight = 2500, type = 'item', image = 'gg_racing_case_silver.png', unique = true, useable = true, shouldClose = true, description = "A contract medal's reward case. Use it to set it down and open it." },
gg_racing_case_gold = { name = 'gg_racing_case_gold', label = 'Gold Racing Case', weight = 2500, type = 'item', image = 'gg_racing_case_gold.png', unique = true, useable = true, shouldClose = true, description = "A contract medal's reward case. Use it to set it down and open it." },
gg_racing_arcade = { name = 'gg_racing_arcade', label = 'Arcade Racing Machine', weight = 25000, type = 'item', image = 'gg_racing_arcade.png', unique = true, useable = true, shouldClose = true, description = "A two-seat racing cabinet. Use it to set it down anywhere; sit at it to race the arena's courses." },
gg_racing_arcade_blackout = { name = 'gg_racing_arcade_blackout', label = 'Blackout Arcade Racing Machine', weight = 25000, type = 'item', image = 'gg_racing_arcade_blackout.png', unique = true, useable = true, shouldClose = true, description = "A two-seat racing cabinet, all black. Use it to set it down anywhere; sit at it to race the arena's courses." },
gg_racing_arcade_redline = { name = 'gg_racing_arcade_redline', label = 'Redline Arcade Racing Machine', weight = 25000, type = 'item', image = 'gg_racing_arcade_redline.png', unique = true, useable = true, shouldClose = true, description = "A two-seat racing cabinet in red. Use it to set it down anywhere; sit at it to race the arena's courses." },
gg_racing_arcade_volt = { name = 'gg_racing_arcade_volt', label = 'Volt Arcade Racing Machine', weight = 25000, type = 'item', image = 'gg_racing_arcade_volt.png', unique = true, useable = true, shouldClose = true, description = "A two-seat racing cabinet, black with mint cars. Use it to set it down anywhere; sit at it to race the arena's courses." },
gg_racing_arcade_royal = { name = 'gg_racing_arcade_royal', label = 'Royal Arcade Racing Machine', weight = 25000, type = 'item', image = 'gg_racing_arcade_royal.png', unique = true, useable = true, shouldClose = true, description = "A two-seat racing cabinet in purple. Use it to set it down anywhere; sit at it to race the arena's courses." },
gg_racing_arcade_frost = { name = 'gg_racing_arcade_frost', label = 'Frost Arcade Racing Machine', weight = 25000, type = 'item', image = 'gg_racing_arcade_frost.png', unique = true, useable = true, shouldClose = true, description = "A two-seat racing cabinet in white. Use it to set it down anywhere; sit at it to race the arena's courses." },
Keep useable = true: Racing System opens the tablet, the cases and the machines when they are used. The five painted machines after gg_racing_arcade are optional.
2. Add the pictures
Copy every file in gg_racing/!SETUP/IMAGES into your inventory's image folder: qb-inventory/html/images on qb-inventory.
3. Restart
Restart your server. Open /ggsettings, pick Racing System, and check that no missing item shows at the top.
