Garry's Mod Leaks

DarkRP Tow Truck Driver Job

Submitted by rickharrisonxx, , Thread ID: 41016

Thread Closed

RE: DarkRP Tow Truck Driver Job

07-01-2018, 03:25 AM
#21
19-07-2017, 07:10 PM
rickharrisonxx Wrote:
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/3wgz8t...native.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]
Additional
If you own myGovernment Vehicle Stationscript, you can intergrate the tow truck into that script!
To do so, just add the tow truck to the government station file (below is the code), and set the position of the tow truck npc out of your map so nobody ever access that.
As in, fly far outside the map, and type towtrucknpc_setpos.

Here is the code for the tow truck in my government station script:
GovStation_Vehicles["GOV_TOWTRUCK"] = {
Name = "Tow Truck",
Description = "A tow truck used to tow vehicles.",
Model = "models/sickness/towtruckdr.mdl",
Script = "scripts/vehicles/tow.txt",
Health = 100,
VehicleSkin = 0,
AllowedTeamNames = {
"Tower",
},
AllowedTeams = {
TEAM_TOWER,
},
}

Insert that code in the govstation_config.lua file, next to the other government vehicles!


Content has been stripped. Go to the quoted post to view the content.

Owww ! Thanks man Smile

Very good job

RE: DarkRP Tow Truck Driver Job

themasterlore
Novice
Level:
0
Reputation:
0
Posts:
23
Likes:
0
Credits:
4
31-01-2018, 10:40 PM
#22
the Sickness Models link does not work. fix it quickly please

RE: DarkRP Tow Truck Driver Job

lamad
Lurker
Level:
0
Reputation:
0
Posts:
2
Likes:
0
Credits:
3
27-02-2018, 03:17 AM
#23
Nice that looks like a good script. Perfect for RPmechanic job.

RE: DarkRP Tow Truck Driver Job

SelaviCZ
Junior Member
Level:
0
Reputation:
0
Posts:
99
Likes:
10
Credits:
10
03-11-2019, 04:07 PM
#24
Thank you very much! Hope the leak works ! If not I wil lreport your thread xd :kekdog: !

RE: DarkRP Tow Truck Driver Job

Rioangrg
Lurker
Level:
0
Reputation:
0
Posts:
2
Likes:
0
Credits:
2
09-03-2020, 05:30 PM
#25
Thanks you so much bro, that's cool !
I really needed it:p

RE: DarkRP Tow Truck Driver Job

Wolflix
Junior Member
Level:
0
Reputation:
0
Posts:
80
Likes:
3
Credits:
3
13-05-2020, 05:39 PM
#26
Shiit. Its great man its great. Liked it thank you. Does it has any backdoors ?

RE: DarkRP Tow Truck Driver Job

JimmyBobbin65
Junior Member
Level:
0
Reputation:
0
Posts:
63
Likes:
2
Credits:
1
14-05-2020, 02:34 AM
#27
Thanks for the addon, although it is slightly excessive for what users kind of want on a server, but other than that a good addon for servers, thanks

RE: DarkRP Tow Truck Driver Job

EditName
Novice
Level:
0
Reputation:
0
Posts:
30
Likes:
2
Credits:
0
13-06-2020, 04:18 PM
#28
Thanks man, I was hoping to find this. Not all heros where capes

RE: DarkRP Tow Truck Driver Job

deltafoxGO
Active Member
Level:
6
Reputation:
0
Posts:
252
Likes:
4
Credits:
50
13-06-2020, 06:31 PM
#29
Nice leak man, this addon have backdoor? :blobthink:

RE: DarkRP Tow Truck Driver Job

Ivisor2004
Novice
Level:
0
Reputation:
0
Posts:
28
Likes:
0
Credits:
2
15-11-2020, 09:52 AM
#30
This addon is amazing and well done, must have for any rp server you run. My tow truck drivers can finally have a working truck and make money with it. Hope this works...

Users browsing this thread: 7 Guest(s)