Toolbox item#
The main repair item. Configured in config.lua:
Config.ToolBoxItem = "repair_toolbox"
ox_inventory example#
Add to ox_inventory/data/items.lua:
['repair_toolbox'] = {
label = 'Repair Toolbox',
weight = 5000,
stack = false,
close = true,
description = 'A mechanic toolbox for vehicle repairs.',
client = {
image = 'repair_toolbox.png',
},
},
The item is registered as usable via s4-bridge on the server. Using it triggers the toolbox placement workflow on the client.
Tire item (optional)#
If you use standalone tire items (not via toolbox), define:
Config.TireItem = "repair_tire"
This is referenced by server/server.lua when a wheel repair consumes an inventory item. Add the item to your inventory if you enable standalone tire repair outside the toolbox flow.
ox_inventory example#
['repair_tire'] = {
label = 'Spare Tire',
weight = 8000,
stack = true,
close = true,
description = 'A replacement tire for vehicle repair.',
},
Toolbox contents#
When placed, the toolbox provides these repair tools via target interaction:
| Tool | Function |
|---|---|
| Wheel's Repair Tool | Carry a spare tire and repair wheels |
| Wheel Torque Wrench | Remove and reattach wheels (3D bolts) |
| Fuel Tank Repair Kit | Repair fuel tank leaks |
| Radiator Repair Kit | Repair radiator leaks |
| Engine Overhaul Kit | Repair engine oil leaks |
| Pick Up Toolbox | Pick up and return toolbox to inventory |
No separate inventory items are required for individual kits — they are selected from the placed toolbox.