Skip to content

items

Toolbox item#

The main repair item. Configured in config.lua:

lua
Config.ToolBoxItem = "repair_toolbox"

ox_inventory example#

Add to ox_inventory/data/items.lua:

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:

lua
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#

lua
['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:

ToolFunction
Wheel's Repair ToolCarry a spare tire and repair wheels
Wheel Torque WrenchRemove and reattach wheels (3D bolts)
Fuel Tank Repair KitRepair fuel tank leaks
Radiator Repair KitRepair radiator leaks
Engine Overhaul KitRepair engine oil leaks
Pick Up ToolboxPick up and return toolbox to inventory

No separate inventory items are required for individual kits — they are selected from the placed toolbox.