ox_inventory
Add the gg_gruppejob items and images to ox_inventory.
1. Add the items
Open ox_inventory/data/items.lua and paste these entries inside the table, above its last }. Do not replace the whole file.
['gg_atmbag'] = {
label = 'Small Money Bag',
weight = 1000,
stack = false,
close = true,
description = 'A compact bag used to store small amounts of cash.',
},
['gg_bankbag'] = {
label = 'Large Money Bag',
weight = 3000,
stack = false,
close = true,
description = 'A heavy-duty bag designed to carry large sums of money.',
},
['gg_privatecrate'] = {
label = 'Large Locked Crate',
weight = 5000,
stack = false,
close = true,
description = 'A secured crate used for transporting valuable goods.',
},
['gg_thermite'] = {
label = 'Thermite Charge',
weight = 5000,
stack = false,
close = true,
description = 'An industrial-grade charge used to breach reinforced locks.',
},
Important Paste the entries as shown. Do not add
consume(not evenconsume = 0), or aclientblock withstatus,usetimeorexport. Any of these stops ox_inventory from handing the bags to the script, so using one does nothing and no error shows.
The rewards also need black_money, plastic, iron, copper and glass. Check that the same file has them. See Reward items.
2. Add the images
Copy every PNG from gg_gruppejob/!SETUP/IMAGES into ox_inventory/web/images.
3. Restart
Restart your server so ox_inventory loads the new items.
