Loading...

Towing Service 2.2

Download

31,524

[2017] Did you think I had forgotten this one? Ha!

The Streets of Los Santos get a free towing service for everyone!* Now, any vehicle broken down will be taken off the streets by towtrucks, thanks to this script.

Compatiblity
- Coroner Service
- Vanillalworks Extended Pack
- Lively World 0.5 (to be updated)
- Dangerous Individuals
- LSPDFR
Basically, when you're a cop, the tow service won't actively look for vehicles, letting you mark them by yourself and not taking over your job.

- Compatiblity - Developers
This script uses two decorators to handle the vehicles, applied to the player ped:
- [boolean] HandledByTow: When false, this vehicle will have a Tow dispatched for it. When HandledByTow is true, that means the tow is already dispatched and working on getting the car out of the street.
- [boolean] DontInterrupt: The script won't dispatch tows for this vehicle.
- [boolean] TSActiveSearch: The script won't look for vehicles to tow if this is disabled.

Commands/Cheats (tilde or º key)
- "call tow": Calls a tow for the nearest vehicle.
- "TSActiveSearch": Toggles Active Search. When enabled, abandoned cars will be towed automatically.

Features
  • Separated NPC and Player services
  • NPCs get their vehicle towed automatically, options in the .ini define what kind of vehicles get towed.
  • The player will be prompted to call the towing service if his car is broken down, too.
  • The script uses a Skylift, for big vehicles, Towtrucks for regular vehicles, and a Flatbed for destroyed vehicles.
  • You can let the Towing service fix the car in situ or tow you to the nearest LS Customs. If you let the service fix your car in situ, the cost will depend on ammount of damage the vehicle has ($50 each tire, $200 for the engine, $100 for the petrol tank.)
  • Manual Service calling for any vehicle you want


Installation
All files go into (GTA V Folder)/Scripts/.
If you don't have it, congratulations, this is your first script.
Create the scripts folder and put them there.

Towing Service for NPCs
Towtrucks will come and pick up any vehicle that's broken down (engine smoking, driver dead, any tire burst). While they actually drive to the broken down vehicle, they only realistically back up if there's not too much traffic around. If there is, they skip the back up part to avoid traffic jams, as the AI is a little wonky driving backwards.

Don't worry about your vehicle, it is not considered by this part of the script.


Manually Called Towing Service for any car
Approach the vehicle and enter the "call tow" cheat.

Towing Service for the Player
If your vehicle is badly damaged, you can call the Tow service by holding the handbrake and honking (pressing E). Wait until the towtruck comes and the driver fixes your vehicle.

*The fee for players is $50, plus the cost of actually fixing the vehicle.

REQUIREMENTS
.NET Framework 4.5.2
Visual C++ 2015
ScriptHookV
ScriptHookVDotNet

Bugs you might encounter
- Cargobobs can be dispatched to tunnels.
- Weird vehicle aligments when picked up by a towtruck, depends on the angle of approach.

Changelog

v2.0
  • Multiple tows are supported now.
  • Improved tow AI
  • Added decorators so other scripts can request tows for a vehicle
  • Added more towing vehicles like the Skylift (replaces the Cargobob) and the Ramptruck from VWE

v1.4
  • Fixed red blips randomly appearing
  • Fixed car filter settings not working correctly
  • Added script cleanup on SHV.NET reset
  • Flatbeds now don't lose their cars

v1.3
  • Improved code even more
  • Multiple LS Customs locations
  • Added Cancel option for Player service
  • Added dynamic cost system for the Player fixing service

v1.2
  • Improved code
  • Added more towtrucks to the NPC service
  • Added a Manual Service calling
  • Added LS Customs towing option
  • Added NPC Service cancel option


v1.1
  • Fixed a stuttering issue (script now checks for broken down vehicles in 70m radius instead of 250

Plans for future updates
  • Fixes 'n' shit
Show Full Description

First Uploaded: December 28, 2015
Last Updated: January 07, 2018
Last Downloaded: 4 hours ago

All Versions

 2.2 (current)

22,221 downloads , 15 KB
January 07, 2018

 2.1b

2,162 downloads , 15 KB
November 23, 2017

 2.0

1,666 downloads , 14 KB
November 06, 2017

 1.4

5,475 downloads , 11 KB
December 28, 2015

148 Comments