Setup
Install and configure towing.
#Download
Download these from your CFX portal under Granted Assets:
- Zyke's Towing, the
zyke_towingresource.- Zyke's Towing (Assets), the
zyke_towing_assetsresource. It is required.If a resource is missing from your portal, see Lacking Entitlement.
#Dependencies
Install oxmysql and zyke_lib, and configure its framework, inventory, target, and vehicle-key providers as needed. See Dependencies.
#Resources
Place both
zyke_towingandzyke_towing_assetsin your server's resources folder. Keep the folder names as they are.
#Items & Images
Copy the matching definitions from
zyke_towing/extras/items/ox_inventory.txtorzyke_towing/extras/items/qb-core.txtinto your configured inventory. Copy the icons fromzyke_towing/extras/items/images/256/into the inventory's image directory, or the outlined versions fromextras/items/images/256/artwork/if your inventory uses that style. The bundled definitions includetow_rope,tow_cable,tow_controller, andtow_winch.Keep
tow_controllernon-stackable/unique so each physical controller retains its own vehicle-pairing metadata. See Rollback Controller for setup and use.For itemless towing, set
Config.Settings.towing.requireItem = false.
#Sounds
The towing sounds are bundled in zyke_sounds 0.7.5 and newer. Keep
zyke_soundsup to date and there is nothing to copy. On an olderzyke_sounds, copyzyke_towing/extras/sounds/towingintozyke_sounds/nui/sounds/and restartzyke_sounds. See Sounds From Other Resources.Towing works without
zyke_sounds, but silently.
#Configuration
Edit
shared/unlocked/config.lua. Review command permissions, material rules, bed access, and supported carrier models. Use the Config reference for current defaults.Custom action restrictions belong in
client/unlocked/can_checks.luaandserver/unlocked/can_checks.lua. Enforce trusted restrictions on the server.
#Start Order
Start your configured providers and their dependencies before Towing:
cfgensure oxmysql ensure zyke_lib ensure zyke_sounds ensure zyke_towing_assets ensure zyke_towingThe database tables are created on the first start, so there is no SQL to import. Use
ensure zyke_towingandstop zyke_towingto control resource availability.
#Verify Gameplay
Equip a rope, attach both bumpers, tow, and manually detach. Repeat with a cable and the winch controls. Test loading and unloading each carrier model you enable, including access requirements and deck clearance.