Garry's Mod Leaks

DarkRP - Tow Truck Addon

Submitted by 2ponds, , Thread ID: 80887

Thread Closed
21-03-2018, 01:59 AM
#1
https://www.gmodstore.com/scripts/view/3...driver-job
Content locked
This content has been locked. Please login or register in order to unlock it.

DarkRP Support

DarkRP 2.6+[Image: tick.png]
Other custom versions of DarkRP are not supported, and don't count on my support if you're using a custom version of DarkRP with modified core features.
Description
This is an advanced DarkRP job. A job that actually has a purpose.
The tow truck driver (or tower) can tow vehicles by hooking their nose to the back of their tow truck, then drive it around.
When the tower has towed a vehicle, he or she can place a fine on the vehicle.
When the fine is placed, the vehicles owner will be notified, and the vehicles location will be marked on the owners screen.
When the owner tries to get into the towed vehicle, he or she will be ejected, and a fine menu will open.
Once the fine is paid, the car is "unlocked" and the text disappears, and the owner can drive it away.

Features
  • Tower job.
  • Tow truck vehicle for towers.
  • Realistically tow vehicles.
  • Place fines on vehicles.
  • Show distance and fine price on screen for vehicle owner.
  • Plenty of configs.
  • And much more!
Installation
This addon supports DarkRP 2.6.+
Other newer versions should also work. If they do not, please create a ticket so this can be sorted.

Extract "darkrptowtruckdriverjob" to your addons!
Once you've done that, you will want to put up the location for the tow npc, and the place for the tow truck to spawn.
To set the position of the tow npc, go to the location you want it to be in, and type towtrucknpc_setpos.
To activate this location, your server requires a restart.

To set the position of the tow truck spawn, go to the location you want it to be in, and type towtruck_setpos.
This is activated instantly.

Remember to aim the direction you want the npc and truck to spawn in. Your angle matters!
You must be an administrator on your server to perform these actions.
How To
You can hook cars to each other in different ways as a tower.
Either byright clickingfrom inside your towtruck, or using the attach weapon that comes with the tow truck driver job.

Content
The car used in this addon is Sickness Models.
To download Sickness Models, install this with Tortoise SVN.
Link to Tortoise SVN:http://tortoisesvn.net/downloads.html
Link to Sickness Models:http://subversion.assembla.com/svn/SicknessModel
Alternative Sickness Models:http://www.mediafire.com/download/3wgz8tyyvnm3av3/Sickness+Models+SVN+Alternative.zip

There is no content included in the download. It is up to you to put Sickness Models on your FastDL!
Please read the "README TO FIX MISSING SOUNDS!!!!!" in Sickness Models to install sounds and vehicle scripts.

Customizing
To customize the addons settings, go to DarkRP Tow Truck Driver Job/lua/autorun/tow_config.lua.
In the top of the file you can customize the settings shown below.

TOWTRUCK_VehicleModel = "models/sickness/towtruckdr.mdl" -- The model of the tow truck. Defaults to the tow truck from sickness models.
TOWTRUCK_MaxTrucks = 2 -- Maximum amount of tow trucks allowed at one time. [Default = 2]
TOWTRUCK_VehicleScript = "scripts/vehicles/tow.txt" -- The vehicle script for the tow truck. Defaults to the one from sickness models.
TOWTRUCK_Health = 100 -- The health of the tow truck. This only really matters if you have a vehicle damage script [Default = 100]
TOWTRUCK_NPCModel = "models/monk.mdl" -- The model of the npc to retrieve a tow truck.

TOW_MaxFine = 500 -- The maximum fine a tower can put on a vehicle. [Default = 500]

RE: DarkRP - Tow Truck Addon

#2
Do yo have the truck model from that 420mb file? Can't be asked to search through it.

RE: DarkRP - Tow Truck Addon

OP
This post was last modified: 21-03-2018, 02:10 AM by 2ponds
#3
No, however you can customize the truck model with your own. Also the link to the tow truck car is in the "content" paragraph of this post.

21-03-2018, 02:01 AM
ISINAS Wrote:
Do yo have the truck model from that 420mb file? Can't be asked to search through it.

RE: DarkRP - Tow Truck Addon

#4
Link is down, therefore the thread has been closed. OP if you wish to update your link please send me or anyone of the staff team a message.
Please read the award requirements here before applying for them.
Rules and Regulations | Support Section | How to use Hide Tags
Don't message me to join a group, simply request to join one here.

Users browsing this thread: 3 Guest(s)