[STANDALONE] Tow Truck with WINCH

DESCRIPTION

This script add two features :

  • Tow truck with working bed
  • Winch to attach and tow vehicle

Work with all truck with animated bed
All key are customizable in the FiveM settings

The script is 100% editable and translate ready.

SHOWCASE

Showcase video

REQUIREMENTS

WORK ON ALL FRAMEWORK

  • hud-event (included)
  • custom-native (included)
  • InteractSound (included)

IMPORTANT INFORMATION

  • Enjoy

Price

30.00€
Tebex : Tow Truck with WINCH

Changelog

V1.1.10

  • Fixed the “attach vehicle” feature when no vehicle is on the bed
  • Automatically detach the vehicle from the bed when attaching the rope

V1.1.9

  • Added possibility to change the reference bone for the bed distance
  • Added possibility to move the attachment location
  • Removed undelivered vehicles

V1.1.8

  • Fix prompt location for high value of ropeOffset

V1.1.7

  • Use in-game sound instead of .mp3 audio. So InteractSound is not necessary now.
  • Added overwriteConfig.lua & overwriteLang.lua file. Use these files to edit and translate the script. Like that, a new update will not overwrite your settings.

V1.1.6

  • Added version checker to help you to keep the script up to date.
  • Fixed teleport issue when you take the hook after dropped it

V1.1.5

  • Fixed ropeOffset value
  • Fixed issues with slamtruck

V1.1.4

  • Fixed vehicle wheels angle when you wind the rope.

V1.1.3

  • Changed the class of the Flatbed3 truck to fix the spawn issue under ESX (a gas tank trailer spawns instead of all vehicles with “Utility” class)

V1.1.2

  • Fixed the location of the car when attaching
  • Add an error message if impossible to attach the rope to the vehicle

V1.1.1

  • Improve the net code to avoid the warning message
  • Improve the net code to avoid the infinite movement of the car when you wind/unwind the rope
  • Fixed the issue when you unwind a car in reverse side

V1.1.0

  • Added the possibility to unwind the rope to push the vehicle off the bed (you can turn off this feature in the config file).
  • New translatable strings :
    • Lang[‘key_unwind’]
    • Lang[‘unwind_hold’]
  • Upgraded vehicle detection when trying to attach it

V1.0.12

  • Easier Config file :
    • merged bedBone with attachVehBone
    • merged winchBone with ropeBone
    • renamed winchDistanceTake variable to ropeDistancetake
    • attachOffset is now a vector4 to add tilt offset
  • Added compatibility with slamtruck vehicle (or similar truck)
  • More work to avoid despawn car

V1.0.11 & V1.0.11b

  • Fixed despawn npc car when attached

V1.0.10

  • Fixed the spine issue when the vehicle is detached.
  • Fixed the sync position of the rope when attached to the car.
  • Added possibility to attach the vehicle in reverse side.

V1.0.9

  • Fixed issue when the vehicle is detached
  • Fixed issue that despawn npc car when attach

V1.0.8

  • Improve the calcul of the position where the vehicle is attached

V1.0.7

  • Added possibility to restrict the script to specific job. More details in documentation

V1.0.6

  • Fixed random issues

V1.0.5

  • Improve compatibility with long tow truck

V1.0.4

  • Fixed the key display on help message
  • Added more RequestControlOfEntity to avoid despawn and desync between players

V1.0.3

  • Added possibility to change default keys
  • Fixed the vehicle flip when detach
  • Fixed drop hook issue
  • Reworked the lang file to remove key hash

V1.0.2 :

  • News :
    • Rope is visible for all players
    • Compatible with all animated tow truck
  • Issues Fixed :
    • Hook stops to drop when player take it
    • Display help “Press J” turn off player is not in a tow truc
    • When a player attach the winch to a vehicle, the hook correctly disappear

If you still have issue with the sync. I can’t do better : FiveM definitly don’t like when we move vehicle with rolling up the rope…

V1.0.1 :

  • Improve the sync between players
Open-source Available
Subscription-based No
Lines (approximately) 350
Requirements hud-event, custom-native, InteractSound (all included)
Support Yes
8 Likes

Amazing!
Is this script are dinamic ? like all add on cars and other transport will stray properly on flatbed or in air?
And… can i use this script for add on flatbeds as well?

Yes, winch works with all vehicles (included add-on).

For the tow truck, you have tu use the flatbed3 (included in the script). Other Tow truck will not work.

Hope in future updates for some options to use this script on other add on flatbeds as well. :heart:

Can you remove the bed of your add-on flatbed ? If not, it will be never possible.

For example, the native flatbed can’t remove it bed. It’s why I have to import a new vehicle.

like flatbed base is same, so i guess no problem about that.

If your add-on flatbed have its bed as extra it will work.
If it’s just a door like the vanilla flatbed, it will not work

1 Like

What happens to the car when you deattach it? multiple other scripts have a glitch where the car falls from the bed when deattached

The car just stay on the bed when you detach it.

what is the resmon
client sided and server

1 Like

You have the resmon in the showcase video.
And it’s client and server side :wink:

CHANGELOG

V1.0.2 :

  • News :
    • Rope is visible for all players
    • Compatible with all animated tow truck
  • Issues Fixed :
    • Hook stops to drop when player take it
    • Display help “Press J” turn off player is not in a tow truc
    • When a player attach the winch to a vehicle, the hook correctly disappear

If you still have issue with the sync. I can’t do better : FiveM definitly don’t like when we move vehicle with rolling up the rope…

V1.0.1 :

  • Improve the sync between players

how do you install the script just drag and drop the full file in to standalone ? i bought it yesterday

Yes, just drag and drop the 4 resources and ensure them in your server.cfg

1 Like

thank you mate i had too change the placment of the data and stream folders but you was very helpful and responsive the scripts work great no issuse at all higly recomend this dev worth every penny

1 Like

I don’t understand your problem @Midzi_L7c

Perfect :slight_smile:

I’d like to purchase this script but the price here doesn’t match tebex.

It should be due to taxes if the price is higher

Alright, I see you adjusted it here to match tebex. 30 €

I would’ve bought the script at the 20 €

Thanks! Appreciate the reply.