DarkRP Government Vehicles Station

(12)
(53)
You can always read the reviews or discuss this product
Media gallery
Gov Station Menu 2
Buy product
In short

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 in order to catch criminals, or your paramedics to retrieve an ambulance and get to people faster.

The vgui is greatly inspired by my DarkRP NPC Shop, and these two addons works very well together!

Features

  • ULX rank restriction.
  • NPC with indicator.
  • This script is fully supported by VCMod.
  • 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!


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 "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.

Setup NPC

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

The cars used by default in the addon is Sickness Models. However, you can use any vehicle you'd like. There is no SCars or Simfphys support!

Here are some download links to Sickness Models, but you can replace them with whatever cars you'd like.

Workshop: https://steamcommunity.com/sharedfiles/filedetails/?id=205741527

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 server!

Please read the "README TO FIX MISSING SOUNDS!!!!!" in Sickness Models to install sounds and vehicle scripts.

Discord Server

I own a Discord server for customers and anyone else who wish to join. I will occasionally provide exclusive offers and help with minor issues that might occur with my scripts. If you have a more serious problem, please create a support ticket on GModStore.

To customize the addons settings, go to darkrpgovernmentvehiclestation/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]

timer.Simple(5, function()

GovStation_VehiclesUsed = { -- All the vehicle models you are using in the "Model" part below should be put in this table below!
    "models/sickness/lcpddr.mdl",
    "models/sickness/meatwagon.mdl",
    "models/sickness/buffalodr.mdl",
    "models/sickness/stockade2dr.mdl" -- THE LAST LINE SHOULD NOT HAVE A COMMA AT THE END. BE AWARE OF THIS WHEN EDITING THIS!
}

GovStation_TeamsUsed = { -- All the teams you are using under AllowedTeams should be put in this table below!
    TEAM_SWAT,
    TEAM_POLICE,
    TEAM_MEDIC,
    TEAM_SECRETSERVICE,
    TEAM_CHIEF -- THE LAST LINE SHOULD NOT HAVE A COMMA AT THE END. BE AWARE OF THIS WHEN EDITING THIS!
}


Below is an example of how to create a new vehicle.

Customize the list below to add new vehicles. Make sure you follow the instructions correctly.

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",
    },
}

If you find any problems with the script, please create a support ticket with details of the situation and a copy/paste of the error in console. 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!

If you like this script, you should check out some of my other addons for DarkRP. Just click the banner to open the script page in a new tab.

Product reviews

4.44 average based on 12 reviews

ScoobyWRX
Handy little addon!
I have the NPC outside police station for CP's getting police cars and swat vans lol handy little addon.... good along with "crapheads- Armory Locker" :)
By ScoobyWRX -
(version 1.4.4)
DasKindvonOben
Review
I LOVE Crap-Head I have all Scripts from him Nice man Nice Scripts
By DasKindvonOben -
(version 1.4.2)
M3 | Celion
Review
Great,Sleek and simple addon and quick support! Highly Recommended
By M3 | Celion -
(version 1.4.2)
Huawind
Review
Great, all of crapheads scripts are excellent and well made. Highly recommend!
By Huawind -
(version 1.4.2)
Whipppy
Review
Easy Setup, easy config, plain and simple GUI and just works well!
This product was received for free
By Whipppy -
(version 1.4.2)
previous
1 of 4
next
Buy product
Crap-Head ApS 🔨
52 products - 1 members
Looking for reliable and easy-to-use game server hosting with free Anycast and DDoS protection? Get 30% off your first payment at Physgun with the coupon code gmodstore at checkout.
Product details
Views:
53.5K
Purchases:
519
Added:
Updated:
Price:
$4.99
Categories:
Languages:
English
Requirements
  • DarkRP
Actions
Report
Search products...