usage
How crash damage works
When your vehicle collides with something, the script:
Measures your speed at impact
Raycasts from the vehicle center to each damage indicator point (wheels, front, rear, roof, etc.)
Applies damage only to zones that actually hit something
Wheel damage levels
10 – 20
Tire burst (flat tire)
21+
Wheel breaks off completely
After a wheel-impact crash, the engine may stop for a short period (configurable).
Part damage
When the front center zone is hit:
Radiator — Coolant leak, engine overheats, engine dies after 60 seconds if not repaired
Engine — Oil leak, engine dies after 60 seconds if not repaired
When the rear center zone is hit:
Fuel tank — Fuel leak, fuel level drains over time
Each part has a minimum speed threshold (default: 5.0 m/s). Enable/disable individually in Config.PartSettings.
Repairing with the toolbox
Select a repair tool
Target the placed toolbox and choose a tool:
Wheel's Repair Tool — Fixes burst or missing wheels
Wheel Torque Wrench — Interactive bolt minigame for wheel removal/installation
Fuel Tank Repair Kit — Repairs fuel tank (requires trunk open)
Radiator Repair Kit — Repairs radiator (requires hood open)
Engine Overhaul Kit — Repairs engine (requires hood open + welder placement)
Wheel repair
Quick repair (Wheel's Repair Tool):
Select the tool from toolbox
Carry the spare tire to the damaged vehicle
Stand near the closest damaged wheel
Press E to repair all wheels, or target the specific wheel
Detailed repair (Wheel Torque Wrench):
Select the torque wrench from toolbox
Approach the vehicle wheel
Press E to remove the wheel
Complete the bolt-tightening minigame to reattach
Vehicle target options
When a toolbox is placed nearby, you can also target the vehicle directly:
Open / Close Hood
Vehicle unlocked
Repair Radiator
Hood open
Repair Engine
Hood open
Open / Close Trunk
Vehicle unlocked
Repair Fuel Tank
Trunk open
Land restriction
When enabled, driving on certain surfaces changes vehicle handling and may enforce speed limits. Settings are per vehicle class and per surface material (concrete, sand, ice, mud, etc.).
Administrators can edit these values in-game with /editLandRes while sitting in a vehicle.
Leak warnings
If a leak is not repaired within 60 seconds:
Radiator leak → Engine breaks
Engine oil leak → Engine breaks
Fuel tank leak → Leak stops (fuel already drained)
Notifications are shown via ox_lib notify.