Garry's Mod Leaks
DarkRP Government Vehicles Station
Submitted by fredit1337, 30-01-2018, 07:41 AM, Thread ID: 72253
Thread Closed
SALE - SALE - SALE
Many of my scripts are now on sale. You can see more at myGModStore Profile. Enjoy!
DarkRP Support
DarkRP 2.6+
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.
This script is fully supported byVCMod.
This script is not supported by Passenger Mod.
Description
This script allows your government jobs (or any job really) to retrieve vehicles from an NPC.
This has many great uses such as giving your police officer a car to cruise around in, to catch the criminals, or your paramedics to retrieve an ambulance and get to people faster. The vgui is greatly inspired by myDarkRP NPC Shop, and these two addons works very well together!
Below is a great list of features.
Features
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 "darkrpgovernmentvehiclestation" to your addons!
Once you've done that, you will want to set up the npc and the vehicle spawn.
All you have to do, is go to the locations you want the npc to spawn at, and type "govstation_setpos" into your console.
Once you have done that, you will need to restart your server for the NPC to spawn at the new location.
To set up the location for the vehicles to spawn at, follow the next step.
Go the the location you want it to be at and type "govvehicle_setpos" into your console.
There is no restart required for setting the vehicle spawn position.
Remember to aim in the right direction, so you get the right angle on these two things.
You must be an administrator on your server to perform these actions.
Content
This addon obviously needs some content.
The cars used in this addon is Sickness Models. But any vehicle can pretty much be used in the addon. However, no SCar support!
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 Government Vehicle Station/lua/autorun/govstation_config.lua.
In the top of the file you can customize the settings shown below.
GovStation_MaxVehicles = 10 -- The maximum amount of vehicles allowed to be spawned by government officials. [Default = 10]
GovStation_NPCModel = "models/breen.mdl" -- The model of the NPC.
GovStation_RestrictToULXRanks = false -- Weather to restrict vehicles to specific ULX ranks. [Default = false]
There is also two tables you need to fill out with vehicle models and the teams you use as government teams. All of this is documented in the download!
Here is an example of a vehicle.
GovStation_Vehicles["GOV_POLICE"] = { -- UNIQUE name for the vehicle!
Name = "Police Cruiser", -- Name of the vehicle in the menu.
Description = "A standart police cruiser.", -- Description of the vehicle in the menu.
Model = "models/sickness/lcpddr.mdl", -- The model of the vehicle.
Script = "scripts/vehicles/ecpd01.txt", -- The vehicle script. Can be found in sickness models/scripts/vehicles.
Health = 100, -- The amount of health the vehicle has (only works if you have a vehicle damage script).
VehicleSkin = 0, -- The vehicle skin. Some vehicles has multiply skins.
AllowedTeamNames = { -- Here is a list of the jobs that can get this vehicle. These names shows in the menu.
"Police Officer",
"Police Chief",
},
AllowedTeams = { -- Here is another list of the jobs that can get this vehicle. These are the actual names of the jobs from your darkrp file.
TEAM_POLICE,
TEAM_CHIEF,
},
ULXRanksAllowed = { -- Here is a list of the ulx ranks that a person has to be (just one of them), to retrieve this vehicle. The job is also still required.
"user",
"admin",
},
}
Errors & Support
If you find any problems with the script, please PM me with details of the situation and a copypaste of the error in console. Additionally, i rarely give additional support for my scripts. If there is a general error with the script, an error that you can prove happens, and is my fault. Send me a PM here on CoderHire. We'll figure it out there, and perhaps a chat on Steam after I've responded to your PM. I am also not interested in modifying you a custom version of the addon. Also not upon payment. Sorry!
Conflicting addons is not to be said if I will support that or not. This is something I will decide upon confrontation about a conflicting addon. If you have some sort of proof that an addon is conflicting with my addon, please send me a PM with the details you might have.
Thank you!
Many of my scripts are now on sale. You can see more at myGModStore Profile. Enjoy!
DarkRP Support
DarkRP 2.6+
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.
This script is fully supported byVCMod.
This script is not supported by Passenger Mod.
Description
This script allows your government jobs (or any job really) to retrieve vehicles from an NPC.
This has many great uses such as giving your police officer a car to cruise around in, to catch the criminals, or your paramedics to retrieve an ambulance and get to people faster. The vgui is greatly inspired by myDarkRP NPC Shop, and these two addons works very well together!
Below is a great list of features.
Features
- ULX rank restriction.
- NPC with indicator.
- Simple config file with multiply options to edit your version.
- Remove old government vehicles from the menu, when the player disconnects, or when he/she changes jobs.
- Custom vehicle exist so you don't get stuck in the side of the vehicle.
- Easy configuration to add as many vehicles for all the teams you want.
- Comes with 5 default vehicles already set up.
- And much more!
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 "darkrpgovernmentvehiclestation" to your addons!
Once you've done that, you will want to set up the npc and the vehicle spawn.
All you have to do, is go to the locations you want the npc to spawn at, and type "govstation_setpos" into your console.
Once you have done that, you will need to restart your server for the NPC to spawn at the new location.
To set up the location for the vehicles to spawn at, follow the next step.
Go the the location you want it to be at and type "govvehicle_setpos" into your console.
There is no restart required for setting the vehicle spawn position.
Remember to aim in the right direction, so you get the right angle on these two things.
You must be an administrator on your server to perform these actions.
Content
This addon obviously needs some content.
The cars used in this addon is Sickness Models. But any vehicle can pretty much be used in the addon. However, no SCar support!
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 Government Vehicle Station/lua/autorun/govstation_config.lua.
In the top of the file you can customize the settings shown below.
GovStation_MaxVehicles = 10 -- The maximum amount of vehicles allowed to be spawned by government officials. [Default = 10]
GovStation_NPCModel = "models/breen.mdl" -- The model of the NPC.
GovStation_RestrictToULXRanks = false -- Weather to restrict vehicles to specific ULX ranks. [Default = false]
There is also two tables you need to fill out with vehicle models and the teams you use as government teams. All of this is documented in the download!
Here is an example of a vehicle.
GovStation_Vehicles["GOV_POLICE"] = { -- UNIQUE name for the vehicle!
Name = "Police Cruiser", -- Name of the vehicle in the menu.
Description = "A standart police cruiser.", -- Description of the vehicle in the menu.
Model = "models/sickness/lcpddr.mdl", -- The model of the vehicle.
Script = "scripts/vehicles/ecpd01.txt", -- The vehicle script. Can be found in sickness models/scripts/vehicles.
Health = 100, -- The amount of health the vehicle has (only works if you have a vehicle damage script).
VehicleSkin = 0, -- The vehicle skin. Some vehicles has multiply skins.
AllowedTeamNames = { -- Here is a list of the jobs that can get this vehicle. These names shows in the menu.
"Police Officer",
"Police Chief",
},
AllowedTeams = { -- Here is another list of the jobs that can get this vehicle. These are the actual names of the jobs from your darkrp file.
TEAM_POLICE,
TEAM_CHIEF,
},
ULXRanksAllowed = { -- Here is a list of the ulx ranks that a person has to be (just one of them), to retrieve this vehicle. The job is also still required.
"user",
"admin",
},
}
Errors & Support
If you find any problems with the script, please PM me with details of the situation and a copypaste of the error in console. Additionally, i rarely give additional support for my scripts. If there is a general error with the script, an error that you can prove happens, and is my fault. Send me a PM here on CoderHire. We'll figure it out there, and perhaps a chat on Steam after I've responded to your PM. I am also not interested in modifying you a custom version of the addon. Also not upon payment. Sorry!
Conflicting addons is not to be said if I will support that or not. This is something I will decide upon confrontation about a conflicting addon. If you have some sort of proof that an addon is conflicting with my addon, please send me a PM with the details you might have.
Thank you!
This hidden content has been reported as still working 0 times this month.
1 times in total
This hidden content has been reported as not working 0 times this month.
1 times in total
The link in this hidden content has been reported as down 0 times this month.
1 times in total
Users browsing this thread: 1 Guest(s)