• Default Cop Weapons- DarkRP
    5 replies, posted
I was wondering if there were any files that allow you to change what weapons cops spawn with on the server. I know they give battering rams and weapon checkers, but is it possible to change that?
[url]https://github.com/FPtje/DarkRP/blob/6135426c601763462f560f97f52f6371170008b0/gamemode/config/jobrelated.lua#L48[/url]
Disable the default Police job here: [url]https://github.com/FPtje/darkrpmodification/blob/master/lua/darkrp_config/disabled_defaults.lua#L51[/url] Create a new police job here: [url]https://github.com/FPtje/darkrpmodification/blob/master/lua/darkrp_customthings/jobs.lua[/url] When creating the job, take note of the 'weapons' table, in that table include the weapon you'd like your police to spawn with. [url]http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields[/url]
That's weird, I know that I can edit the weapons for each class, but when I enter a class at the bottom where you can set things to be civil protection, every one of those classes automatically gets the arrest, unarrest, stun stick, weapon checker, and battering ram. I don't enter it in the weapons area, yet they still spawn with it.
[QUOTE=RsmCrazyGamer;48240956]That's weird, I know that I can edit the weapons for each class, but when I enter a class at the bottom where you can set things to be civil protection, every one of those classes automatically gets the arrest, unarrest, stun stick, weapon checker, and battering ram. I don't enter it in the weapons area, yet they still spawn with it.[/QUOTE] Maybe it's because you're an admin on the server..?
[QUOTE=RsmCrazyGamer;48240956]That's weird, I know that I can edit the weapons for each class, but when I enter a class at the bottom where you can set things to be civil protection, every one of those classes automatically gets the arrest, unarrest, stun stick, weapon checker, and battering ram. I don't enter it in the weapons area, yet they still spawn with it.[/QUOTE] There is a config option that allows admins to spawn with cop weapons, no matter the class. It is enabled by default and you can disable it here: [url]https://github.com/FPtje/darkrpmodification/blob/master/lua/darkrp_config/settings.lua#L21[/url]
Sorry, you need to Log In to post a reply to this thread.