ox_inventory
Add the Advanced Towing Job items and images to ox_inventory.
1. Add the items
Open ox_inventory/data/items.lua and paste these entries inside the returned table, above its last }. Do not replace the whole file.
Lua
['gg_towing_tablet'] = {
label = 'Towing Tablet',
weight = 1000,
stack = false,
close = true,
description = 'Towing work tablet, used to access towing jobs.',
},
['gg_towing_remote'] = {
label = 'Towing Remote',
weight = 1000,
stack = false,
close = true,
description = 'Towing remote, used to operate the tow bed.',
},
['gg_tow_rope'] = {
label = 'Towing Rope',
weight = 1000,
stack = false,
close = true,
description = 'Used when vehicles are stuck on towing contracts.',
},
['gg_tow_coolant'] = {
label = 'Vehicle Coolant',
weight = 5000,
stack = true,
close = true,
description = 'Used when vehicles have broken down on towing contracts.',
},
['gg_tow_gascan'] = {
label = 'Vehicle Gasoline',
weight = 5000,
stack = true,
close = true,
description = 'Used when vehicles have broken down on towing contracts.',
},
['gg_tow_oiljug'] = {
label = 'Vehicle Oil',
weight = 5000,
stack = true,
close = true,
description = 'Used when vehicles have broken down on towing contracts.',
},
['gg_tow_tire'] = {
label = 'Vehicle Tire',
weight = 5000,
stack = true,
close = true,
description = 'Used when vehicles have broken down on towing contracts.',
},
Keep the item names exactly as they are. The tablet, remote and rope do not stack; the four supplies do.
2. Add the images
Copy every PNG from gg_towjob/!SETUP/IMAGES/ into:
Text
ox_inventory/web/images/
3. Restart
Restart your server so ox_inventory loads the new items and images.
