A rope towing system for FiveM: players can help friends who broke down, and mechanics can use it as another way to tow broken-down vehicles. All ropes are synced between all players. Vehicles can be towed solo or with a friend controlling the towed vehicle.
Main features
- Tow any vehicle using any other vehicle
- Tow vehicles without anyone in the towed vehicle
- Tow vehicles with a second player controlling the towed vehicle
- Ropes are synced between all clients
- Optional speed limit while towing (default 50 mph)
- Optional: disallow towing of locked vehicles, so players can’t steal vehicles they have no access to
- Blacklist vehicle classes from towing (default: motorcycles, bicycles, boats, helicopters, planes, trains)
- Works with modded vehicles
- Towing menu opened with the
/towcommand or, on ESX, with a towing rope item - Configurable rope length and on-screen texts for translation
Towing a car without a player inside
When an empty vehicle is towed, the script takes control of it so it is towed smoothly; the vehicle avoids sliding around and behaves almost as if another player were driving it.
Towing a car with a second player controlling it
When another player sits in the towed car, the two vehicles are simply connected by the rope and both players keep full control. They have to steer and brake on their own.
Installation
- Copy
kuz_towinginto your resources folder and addensure kuz_towingto your server.cfg. - On ESX, import
ESX_SQL.sqlto add thetowing_ropeitem; without ESX, setConfig.useEsx = falseand use the command. - Review
shared/config.lua; debug mode is enabled by default.