Scripts/Hardshoulder
Hardshoulder
UK vehicle recovery done the way operators actually do it: a hold-to-run radio remote, a bed you drive, a winch you walk out, and straps on every wheel.
Features
Everything is synced, so everyone nearby sees and hears it.
Radio remote
An industrial radio handset you hold while you walk about. Hold-to-run on the arrow keys and Q/E, an E-stop, and a mouse mode for clicking the buttons. The server checks the signal range.
Rollback beds
Beds tilt and slide while you hold the button. The lowered deck is solid, so cars drive straight up it.
Walk-out winch
Take the hook off the truck and walk it to the car while the cable pays out behind you. Hook the tow eye, then hold to winch it up.
Wheel straps
Walk up to each wheel and press E. 3D ratchet straps with cleats, hooks and a buckle are built to fit each car's wheels.
Wheel-lifts and lighting board
Forks under the wheels, hold to lift. A UK trailer board with your plate follows the truck's tail, brake, indicator and reverse lamps.
Chapter 8 kit
Set out a cone taper with sequential amber lamps and a RECOVERY IN PROGRESS sign. Cones can be knocked over, and the kit packs away last out, first in.
Safety interlock
The truck only crawls until the bed is stowed, the hook is put away, the load is strapped and the board is on.
Sounds with no sound files
Hydraulic pump, bed beeper, winch motor, ratchet clicks and cone thumps, all positional and synthesised.
Impound and pay
Drop a towed car in the yard and impound it, and the operator gets paid. Works with jg-advancedgarages or your framework's garages.
Your brand on everything
Your company name goes on the handset, the board, its plate and the cone lamps. It's one config setting, with no 3D tools needed.
Server-authoritative
The server checks every action: job, distance, speed, rate limits and state.
Automatic beacons
Beacons and work lights are drawn on any truck model, with no model edits needed.
Install
Five minutes on a clean server.
- Put
nl_hardshoulderin your resources folder. - Add
ensure nl_hardshouldertoserver.cfg, after ox_lib, your framework and your target script. - Make sure the jobs in
Config.Jobsexist in your framework. The defaults aretowandmechanic. - Set your company name in
Config.Brand. - Restart the server and press Y next to a vanilla
flatbedortowtruck.
Controls
Players can rebind all of these in GTA Settings › Key Bindings › FiveM. /tow help lists them in game.
| Key | Action |
|---|---|
| Y | Get the remote out / put it away (Esc or Backspace also puts it away) |
| ↑ ↓ ← → | Up/Down: tilt or lift up / lower. Left/Right: bed out / in |
| Q E | Winch in / out. On lift trucks: hook / release |
| B L | Beacons / work lights |
| Space | E-stop. Green I resets it, red O stops everything |
| RMB | Mouse mode: click the handset buttons |
| E at a wheel | Fit or remove a wheel strap (or the lighting board at the trailing end) |
| G | Run the bed all the way down or up |
| H | Winch / hook / release |
Config preview
config.lua and the bridge/ files are open, so you can change anything.
Config.Brand = {
enabled = true,
name = 'HALE RECOVERY', -- handset label, the board's top strip, cone lamps
phone = '01632 960123', -- the small dealer line on the board's plate
plate = 'HR24 TOW', -- what the lighting board's number plate shows
}
Docs
The short version. The full README ships with the resource.
Adding your own truck
- Set
Config.Debug = trueand restart. - Add an entry to
Config.Truckswith the spawn name as the key. Give itflatbed = { deck = ... }and/orlift = { hook = ... }, pluswinch = vec3(...). - Sit in or stand at the truck and use
/towoffsetto nudge the offsets live. It prints the line to paste into the config. - Set
Config.Debug = falsewhen you're done.
Impound support
| Garage / framework | What happens |
|---|---|
| jg-advancedgarages | JG's own impound form opens; one hook line pays the operator once JG confirms |
| Qbox | The car goes to a qbx_garages depot with a release fee |
| QBCore | player_vehicles state 2 with a depotprice |
| ESX | owned_vehicles.stored = 0 for your impound script to pick up |
| Anything else | Edit Bridge.impoundStore in bridge/server.lua |
For developers
| Server event | Arguments |
|---|---|
hardshoulder:hooked | src, truckNet, carNet, mode |
hardshoulder:secured | src, truckNet, carNet, mode: the load is fully on and secured |
hardshoulder:released | src, truckNet, carNet, mode: dropped off |
hardshoulder:ended | carNet: every way a tow ends |
hardshoulder:impounded | src, plate, vehicleId or nil |
Exports: IsTowTruck(modelHashOrName) (client and server), GetTow(carNet) and InDepotYard(coords) (server).
Troubleshooting
There are no options on the truck
No supported target script was found (check F8), or the player doesn't have a job in Config.Jobs or isn't on duty (Config.RequireOnDuty).
The car sits off the deck or the forks miss the wheels
Tune that truck's offsets with /towoffset in Debug mode.
The truck stays at crawl speed
The handset screen says why: straps, board, bed not stowed, or hook out.
My brand doesn't show
Check Config.Brand.enabled and that name isn't empty. Props fall back to neutral RECOVERY textures.
Requirements
Changelog
1.0.0
- Radio remote, rollback beds, winch, wheel straps, wheel-lifts and lighting board
- Chapter 8 kit, safety interlock, synthesised sounds
- Impound for jg-advancedgarages, Qbox, QBCore and ESX
Run recovery properly.
Message the team on Discord to get it.