Gunlicense and warrant/wanted.

Hello,

Is it possible to add gunlicense and warrant/wanted access to another job, so Mayor and Police Chief can do this.
If it’s possible, how can I do this?

Heres a nice job example


  TEAM_PIRATE = DarkRP.createJob("Pirate", { -- That's TEAM_PIRATE (Used for like AddCustomDoorgroup or Add to only that group to a door. Also, never use the same TEAM_)
        color = Color(80, 5, 255, 0), -- Chat / Scoreboard Color
        model = "models/player/swat.mdl", -- Model; to add multiple use  {"models/../model1.mdl","models/../model2.mld},  NOTE the extra comma after the bracket.
        description = [[Description.]], --Description for Job.
        weapons = {"med_kit"}, -- Weapons for a job. Seperate them with a "," eg: "med_kid", "armor_kit" always finish the last one without a ","
        command = "pirate", --Chat command for job. Don't use the same as another teams.
        max = 5, -- Maximum amount of players for this job.
        salary = 200, -- The salary they get paid.
        admin = 0, -- Requires Admin? 1 for yes, 0 for no.
        vote = true, -- Do they need to vote? true for yes, false for no.
        hasLicense = true, -- Do they have a license for weapons?
     })

from http://wiki.darkrp.com/index.php/DarkRP:Jobs
See the last line it say haslicense just change it to true if you want it to have a gun license.

And for the wanted/warrant you need to go to “C:\Program\steam\SteamApps\common\GarrysMod\garrysmod\addons\darkrpmodification-master\lua\darkrp_customthings”
And scroll down to the bottom and youll see a code like this :


/*---------------------------------------------------------------------------
Define which teams belong to civil protection
Civil protection can set warrants, make people wanted and do some other police related things
---------------------------------------------------------------------------*/
GAMEMODE.CivilProtection = {
	[TEAM_POLICE] = true,
	[TEAM_CHIEF] = true,
	[TEAM_MAYOR] = true,
}

All you have to do is add more Teams to GAMEMODE.CivilProtection to give them the access to wanted/warrant

Sorry for my bad english!