Advertisement
Guest User

custom jobs

a guest
Jun 18th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 21.37 KB | None | 0 0
  1. --[[---------------------------------------------------------------------------
  2. DarkRP custom jobs
  3. ---------------------------------------------------------------------------
  4. This file contains your custom jobs.
  5. This file should also contain jobs from DarkRP that you edited.
  6.  
  7. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  8.       Once you've done that, copy and paste the job to this file and edit it.
  9.  
  10. The default jobs can be found here:
  11. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  12.  
  13. For examples and explanation please visit this wiki page:
  14. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  15.  
  16. Add your custom jobs under the following line:
  17. ---------------------------------------------------------------------------]]
  18.  
  19. TEAM_ADMIN = DarkRP.createJob("Admin on duty", {
  20.     color = Color(255, 0, 0, 255),
  21.     model = {"models/player/combine_super_soldier.mdl"},
  22.     description = [[You patrol and respond to admin calls, and make sure the server runs smooth. Command for chat = /aod]],
  23.     weapons = {"weapon_keypadchecker", "unarrest_stick", "arrest_stick"},
  24.     command = "aod",
  25.     max = 10,
  26.     salary = 100000,
  27.     admin = 1,
  28.     vote = false,
  29.     hasLicense = true,
  30.     candemote = false,
  31.     category = "Admins",
  32.     customCheck = function(ply) return
  33.         table.HasValue({"admin"}, ply:GetNWString("usergroup"))
  34.     end,
  35.     CustomCheckFailMsg = "This job is for Admins only!",
  36. })
  37.  
  38. TEAM_SPADMIN = DarkRP.createJob("SuperAdmin on duty", {
  39.     color = Color(255, 0, 0, 255),
  40.     model = {"models/player/combine_super_soldier.mdl"},
  41.     description = [[Fuck you. command is /superadmin]],
  42.     weapons = {"weapon_keypadchecker", "unarrest_stick", "arrest_stick", "m9k_minigun"},
  43.     command = "superadmin",
  44.     max = 10,
  45.     salary = 100000000,
  46.     admin = 2,
  47.     vote = false,
  48.     hasLicense = true,
  49.     candemote = false,
  50.     category = "Admins",
  51.     customCheck = function(ply) return
  52.         table.HasValue({"superadmin"}, ply:GetNWString("usergroup"))
  53.     end,
  54.     CustomCheckFailMsg = "This job is for SuperAdmins only!",
  55. })
  56.  
  57. TEAM_MOD = DarkRP.createJob("Mod on duty", {
  58.     color = Color(212, 29, 29, 255),
  59.     model = {"models/player/combine_super_soldier.mdl"},
  60.     description = [[You patrol and respond to admin calls, you help keep the server running smooth. Command for chat = /mod
  61. ]],
  62.     weapons = {"weapon_keypadchecker", "unarrest_stick", "arrest_stick"},
  63.     command = "mod",
  64.     max = 10,
  65.     salary = 10000,
  66.     admin = 1,
  67.     vote = false,
  68.     hasLicense = true,
  69.     candemote = false,
  70.     category = "Admins",
  71.     customCheck = function(ply) return
  72.         table.HasValue({"Mod"}, ply:GetNWString("usergroup"))
  73.     end,
  74.     CustomCheckFailMsg = "This job is for Mods only!",
  75. })
  76.  
  77. TEAM_TMOD = DarkRP.createJob("T-Mod on duty", {
  78.     color = Color(217, 66, 66, 255),
  79.     model = {"models/player/combine_soldier.mdl"},
  80.     description = [[You patrol and respond to admin calls, you help keep the server running smooth. Command for chat = /tmod
  81. ]],
  82.     weapons = {"weapon_keypadchecker", "unarrest_stick", "arrest_stick"},
  83.     command = "tmod",
  84.     max = 10,
  85.     salary = 1000,
  86.     admin = 1,
  87.     vote = false,
  88.     hasLicense = true,
  89.     candemote = false,
  90.     category = "Admins",
  91.     customCheck = function(ply) return
  92.         table.HasValue({"T-mod"}, ply:GetNWString("usergroup"))
  93.     end,
  94.     CustomCheckFailMsg = "This job is for T-Mods only!",
  95. })
  96.  
  97. TEAM_THIEF = DarkRP.createJob("Thief", {
  98.     color = Color(217, 66, 66, 255),
  99.     model = {"models/player/suits/robber_open.mdl", "models/player/suits/robber_shirt.mdl", "models/player/suits/robber_tie.mdl", "models/player/suits/robber_tuckedtie.mdl"},
  100.     description = [[You are a low-end criminal, you can raid others and mug your friends! ]],
  101.     weapons = {"lockpick", "m9k_hk45"},
  102.     command = "thief",
  103.     max = 8,
  104.     salary = 147,
  105.     admin = 0,
  106.     vote = false,
  107.     hasLicense = false,
  108.     candemote = true,
  109.     category = "Crime"
  110. })
  111.  
  112. TEAM_PTHIEF = DarkRP.createJob("Pro Thief", {
  113.     color = Color(163, 2, 2, 255),
  114.     model = {"models/csgoanarchist3pm.mdl"},
  115.     description = [[You are a professional criminal, use your skills and knowledge to raid the best bases and mug the most wealthy players!]],
  116.     weapons = {"pro_lockpick_update", "m9k_ragingbull", "climb_swep2"},
  117.     command = "prothief",
  118.     max = 6,
  119.     salary = 500,
  120.     admin = 0,
  121.     vote = false,
  122.     hasLicense = false,
  123.     candemote = true,
  124.     category = "Crime",
  125.     customCheck = function(ply) return CLIENT or
  126.         table.HasValue({"superadmin", "admin", "mod", "T-mod", "D-admin", "Donator"}, ply:GetNWString("usergroup"))
  127.     end,
  128.     CustomCheckFailMsg = "This job is for Donators and up only!",
  129. })
  130.  
  131. TEAM_DADMIN = DarkRP.createJob("D-Admin on duty", {
  132.     color = Color(217, 107, 107, 255),
  133.     model = {"models/player/police.mdl"},
  134.     description = [[You patrol and respond to admin calls, you help keep the server running smooth. Command for chat = /dadmin
  135. ]],
  136.     weapons = {"weapon_keypadchecker", "unarrest_stick", "arrest_stick"},
  137.     command = "dadmin",
  138.     max = 10,
  139.     salary = 500,
  140.     admin = 1,
  141.     vote = false,
  142.     hasLicense = true,
  143.     candemote = false,
  144.     category = "Admins",
  145.     customCheck = function(ply) return
  146.         table.HasValue({"D-admin"}, ply:GetNWString("usergroup"))
  147.     end,
  148.     CustomCheckFailMsg = "This job is for T-Mods only!",
  149. })
  150.  
  151. TEAM_MTHIEF = DarkRP.createJob("Master Thief", {
  152.     color = Color(189, 14, 14, 255),
  153.     model = {"models/player/leet.mdl"},
  154.     description = [[You are a god among thief's! Use your vast superior knowledge and skills aid you in conducting the best raids and mug everyone.]],
  155.    weapons = {"pro_lockpick_update", "climb_swep2", "m9k_ak47", "m9k_knife"},
  156.    command = "mthief",
  157.    max = 3,
  158.    salary = 750,
  159.    admin = 0,
  160.    vote = false,
  161.    hasLicense = false,
  162.    candemote = true,
  163.    category = "Crime",
  164.    customCheck = function(ply) return CLIENT or
  165.        table.HasValue({"superadmin", "admin", "mod", "T-mod", "D-admin", "Donator+"}, ply:GetNWString("usergroup"))
  166.    end,
  167.    CustomCheckFailMsg = "This job is for Donator+ and up only!",
  168. })
  169.  
  170. TEAM_HITMAN = DarkRP.createJob("Hitman", {
  171.    color = Color(220, 0, 0, 255),
  172.    model = {"models/player/cubanmerc_male.mdl"},
  173.    description = [[People hire you to take out other people,
  174.    this job require you to be completely focussed.
  175.    A single breath can make you loose a shot.]],
  176.    weapons = {"m9k_mp7"},
  177.    command = "hitman",
  178.    max = 2,
  179.    salary = 65,
  180.    admin = 0,
  181.    vote = false,
  182.    hasLicense = false,
  183.    category = "Crime",
  184. })
  185.  
  186. TEAM_HITMAN = DarkRP.createJob("Pro Hitman", {
  187.    color = Color(220, 0, 0, 255),
  188.    model = {"models/player/cubanmerc_male.mdl"},
  189.    description = [[People hire you to take out other people,
  190.    this job require you to be completely focussed.
  191.    A single breath can make you loose a shot.]],
  192.    weapons = {"m9k_m24", "m9k_mp7"},
  193.    command = "prohitman",
  194.    max = 2,
  195.    salary = 150,
  196.    admin = 0,
  197.    vote = false,
  198.    hasLicense = false,
  199.    category = "Crime",
  200.      customCheck = function(ply) return CLIENT or
  201.          table.HasValue({"superadmin", "admin", "mod", "T-mod", "D-admin", "Donator+", "Donator"}, ply:GetNWString("usergroup"))
  202.    end,
  203.    CustomCheckFailMsg = "This job is for Donator nd up only!",
  204. })
  205.  
  206. TEAM_SS = DarkRP.createJob("Secret Service", {
  207.    color = Color(100, 20, 20, 255),
  208.    model = {"models/player/bfh_pro.mdl"},
  209.    description = [[You are responsible for protecting the mayor.
  210.    Take care of the old fellow, he is vanuarable to terrorists all the time! Before he enters a room, you need to make sure its secure.]],
  211.    weapons = {"m9k_deagle", "stunstick", "weaponchecker", "m9k_mp5sd"},
  212.    command = "ss",
  213.    max = 2,
  214.    salary = 65,
  215.    admin = 0,
  216.    vote = true,
  217.    hasLicense = true,
  218.        ammo = {
  219.        ["pistol"] = 60,
  220.    },
  221.    category = "Civil Protection",
  222.         customCheck = function(ply) return
  223.        table.HasValue({"superadmin", "admin", "D-admin", "T-mod", "Donators", "Donators+", "Mod"}, ply:GetNWString("usergroup"))
  224.    end,
  225.    CustomCheckFailMsg = "This Job is for Donators and up!",
  226. })
  227.  
  228. TEAM_SWAT = DarkRP.createJob("Swat", {
  229.    color = Color(25, 25, 170, 255),
  230.    model = {"models/codmw2/t_codm.mdl", "models/codmw2/t_codmw2.mdl", "models/codmw2/t_codmw2h.mdl"},
  231.    description = [[The protector of every citizen that lives in the city.
  232.        You have the power to arrest criminals and protect innocents.
  233.        Hit a player with your arrest baton to put them in jail.
  234.        Bash a player with a stunstick and they may learn to obey the law.
  235.        The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  236.        The Battering Ram can also unfreeze frozen props (if enabled).
  237.        Type /wanted <name> to alert the public to the presence of a criminal.]],
  238.    weapons = {"arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "m9k_m4a1"},
  239.    command = "Swat",
  240.    max = 4,
  241.    salary = 85,
  242.    admin = 0,
  243.    vote = true,
  244.    hasLicense = true,
  245.    help = {
  246.        "Please don't abuse your job",
  247.        "When you arrest someone they are auto transported to jail.",
  248.        "They are auto let out of jail after some time",
  249.        "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
  250.        "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
  251.        "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
  252.        "Type /jailpos to set the jail position"
  253.    },
  254.    category = "Civil Protection",
  255. })
  256.  
  257. TEAM_GUARD = DarkRP.createJob("Guard", {
  258.    color = Color(0,200,50,255),
  259.    model = "models/player/barney.mdl",
  260.    description = [[People will pay for protection, use your weapon or buy one from the local gundealer.]],
  261.    weapons = {"m9k_colt1911", "stunstick"},
  262.    command = "guard",
  263.    max = 2,
  264.    salary = 85,
  265.    admin = 0,
  266.    vote = false,
  267.    hasLicense = true,
  268.    category = "Citizens",
  269. })
  270.  
  271. TEAM_SWATL = DarkRP.createJob("Swat Leader", {
  272.    color = Color(20, 20, 255, 255),
  273.    model = {"models/codmw2/codmw2hexe.mdl"},
  274.    description = [[The protector of every citizen that lives in the city.
  275.        You have the power to arrest criminals and protect innocents.
  276.        Hit a player with your arrest baton to put them in jail.
  277.        Bash a player with a stunstick and they may learn to obey the law.
  278.        The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  279.        The Battering Ram can also unfreeze frozen props (if enabled).
  280.        Type /wanted <name> to alert the public to the presence of a criminal.]],
  281.    weapons = {"arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "m9k_scar"},
  282.    command = "SwatLeader",
  283.    max = 1,
  284.    salary = 150,
  285.    admin = 0,
  286.    vote = true,
  287.    hasLicense = true,
  288.    help = {
  289.        "Please don't abuse your job",
  290.        "When you arrest someone they are auto transported to jail.",
  291.        "They are auto let out of jail after some time",
  292.        "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
  293.        "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
  294.        "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
  295.        "Type /jailpos to set the jail position"
  296.    },
  297.    category = "Civil Protection",
  298. })
  299.  
  300. TEAM_SWATS = DarkRP.createJob("Swat Sniper", {
  301.    color = Color(20, 20, 255, 255),
  302.    model = "models/codmw2/codmw2m.mdl",
  303.    description = [[The protector of every citizen that lives in the city.
  304.        You have the power to arrest criminals and protect innocents.
  305.        Hit a player with your arrest baton to put them in jail.
  306.        Bash a player with a stunstick and they may learn to obey the law.
  307.        The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  308.        The Battering Ram can also unfreeze frozen props (if enabled).
  309.        Type /wanted <name> to alert the public to the presence of a criminal.]],
  310.    weapons = {"arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "m9k_aw50"},
  311.    command = "SwatSniper",
  312.    max = 1,
  313.    salary = 120,
  314.    admin = 0,
  315.    vote = true,
  316.    hasLicense = true,
  317.    help = {
  318.        "Please don't abuse your job",
  319.        "When you arrest someone they are auto transported to jail.",
  320.        "They are auto let out of jail after some time",
  321.        "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
  322.        "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
  323.        "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
  324.        "Type /jailpos to set the jail position"
  325.    },
  326.    category = "Civil Protection",
  327.         customCheck = function(ply) return
  328.        table.HasValue({"superadmin", "admin", "D-admin", "T-mod", "Donators", "Donators+", "Mod"}, ply:GetNWString("usergroup"))
  329.    end,
  330.    CustomCheckFailMsg = "This Job is for Donators and up!",
  331. })
  332.  
  333. TEAM_TERROR = DarkRP.createJob("Terrorist", {
  334.    color = Color(255, 140, 0, 255),
  335.    model = {"models/player/kuma/taliban_grunt.mdl","models/player/kuma/alqaeda_commando.mdl"},
  336.    description = [[]],
  337.    weapons = {"m9k_ak47","lockpick"},
  338.    command = "terrorist",
  339.    max = 4,
  340.    salary = 150,
  341.    admin = 0,
  342.    vote = false,
  343.    hasLicense = false,
  344.    category = "Bad Guys",
  345. })
  346.  
  347. TEAM_TERRORL = DarkRP.createJob("Terrorists Leader", {
  348.    color = Color(133, 0, 0, 255),
  349.    model = {"models/player/kuma/taliban_rpg.mdl"},
  350.    description = [[You lead the evil terrorists to victory and honor! Kidnap the mayor to sell him as ransom or raid the PD!]],
  351.    weapons = {"m9k_ak47", "pro_lockpick_update"},
  352.    command = "TerrorL",
  353.    max = 1,
  354.    salary = 500,
  355.    admin = 0,
  356.    vote = false,
  357.    hasLicense = false,
  358.    candemote = true,
  359.    category = "Bad Guys",
  360.    NeedToChangeFrom = TEAM_TERROR,
  361.    customCheck = function(ply) return
  362.        table.HasValue({"superadmin", "admin", "D-admin", "T-mod", "Donators", "Donators+", "Mod"}, ply:GetNWString("usergroup"))
  363.    end,
  364.    CustomCheckFailMsg = "This Job is for Donators and up!",
  365. })
  366.  
  367. TEAM_SWATB = DarkRP.createJob("Swat Breacher", {
  368.    color = Color(70, 85, 209, 255),
  369.    model = {"models/codmw2/codmw2.mdl"},
  370.    description = [[The protector of every citizen that lives in the city.
  371.        You have the power to arrest criminals and protect innocents.
  372.        Hit a player with your arrest baton to put them in jail.
  373.        Bash a player with a stunstick and they may learn to obey the law.
  374.        The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  375.        The Battering Ram can also unfreeze frozen props (if enabled).
  376.        Type /wanted <name> to alert the public to the presence of a criminal.]],
  377.    weapons = {"m9k_m3", "m9k_m92beretta", "m9k_mp5", "weaponchecker", "door_ram", "stunstick", "unarrest_stick", "arrest_stick"},
  378.    command = "swatbreach",
  379.    max = 2,
  380.    salary = 500,
  381.    admin = 0,
  382.    vote = false,
  383.    hasLicense = true,
  384.    candemote = true,
  385.    category = "Civil Protection",
  386.    NeedToChangeFrom = TEAM_SWAT
  387. })
  388.  
  389. TEAM_SWATM = DarkRP.createJob("Swat Medic", {
  390.    color = Color(70, 85, 209, 255),
  391.    model = {"models/codmw2/t_codmw2.mdl"},
  392.    description = [[The protector of every citizen that lives in the city.
  393.        You have the power to arrest criminals and protect innocents.
  394.        Hit a player with your arrest baton to put them in jail.
  395.        Bash a player with a stunstick and they may learn to obey the law.
  396.        The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  397.        The Battering Ram can also unfreeze frozen props (if enabled).
  398.        Type /wanted <name> to alert the public to the presence of a criminal.]],
  399.    weapons = {"m9k_m92beretta", "m9k_mp5", "weaponchecker", "door_ram", "stunstick", "unarrest_stick", "arrest_stick", "med_kit"},
  400.    command = "swatmed",
  401.    max = 2,
  402.    salary = 500,
  403.    admin = 0,
  404.    vote = false,
  405.    hasLicense = true,
  406.    candemote = true,
  407.    category = "Civil Protection",
  408.    NeedToChangeFrom = TEAM_SWAT
  409. })
  410.  
  411. TEAM_SWATH = DarkRP.createJob("Swat Heavy", {
  412.    color = Color(70, 85, 209, 255),
  413.    model = {"models/codmw2/codmw2he.mdl"},
  414.    description = [[The protector of every citizen that lives in the city.
  415.        You have the power to arrest criminals and protect innocents.
  416.        Hit a player with your arrest baton to put them in jail.
  417.        Bash a player with a stunstick and they may learn to obey the law.
  418.        The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  419.        The Battering Ram can also unfreeze frozen props (if enabled).
  420.        Type /wanted <name> to alert the public to the presence of a criminal.]],
  421.    weapons = {"m9k_m92beretta", "weaponchecker", "door_ram", "stunstick", "unarrest_stick", "arrest_stick", "m9k_usas"},
  422.    command = "swatheavy",
  423.    max = 2,
  424.    salary = 500,
  425.    admin = 0,
  426.    vote = false,
  427.    hasLicense = true,
  428.    candemote = true,
  429.    category = "Civil Protection",
  430.    NeedToChangeFrom = TEAM_SWAT,
  431.    customCheck = function(ply) return
  432.        table.HasValue({"superadmin", "admin", "D-admin", "T-mod", "Donators", "Donators+", "Mod"}, ply:GetNWString("usergroup"))
  433.    end,
  434.    CustomCheckFailMsg = "This Job is for Donators and up!",
  435. })
  436.  
  437. TEAM_GUNH = DarkRP.createJob("Heavy Gun Dealer", {
  438.    color = Color(34, 85, 85, 255),
  439.    model = {"models/player/monk.mdl"},
  440.    description = [[A Gun Dealer is the only person who can sell guns to other people.
  441.        Make sure you aren't caught selling illegal firearms to the public! You might get arrested!]],
  442.    weapons = {},
  443.    command = "heavygun",
  444.    max = 2,
  445.    salary = 100,
  446.    admin = 0,
  447.    vote = false,
  448.    hasLicense = true,
  449.    candemote = true,
  450.    category = "Citizens"
  451. })
  452.  
  453. TEAM_GUNB = DarkRP.createJob("Black Market Dealer", {
  454.    color = Color(34, 85, 85, 255),
  455.    model = {"models/player/eli.mdl"},
  456.    description = [[You sell the most rare and best weapons around just make sure you aren't caught selling illegal firearms to the public! You might get arrested!]],
  457.    weapons = {},
  458.    command = "blackmarket",
  459.    max = 2,
  460.    salary = 100,
  461.    admin = 0,
  462.    vote = false,
  463.    hasLicense = true,
  464.    candemote = true,
  465.    category = "Citizens"
  466. })
  467.  
  468. TEAM_FIGHT = DarkRP.createJob("Fight Club Owner", {
  469.    color = Color(230, 117, 36, 255),
  470.    model = {"models/player/gman_high.mdl"},
  471.    description = [[You own and run the fight club, you make people pay to get in and reward those who survive your battle royal.]],
  472.    weapons = {"stunstick"},
  473.    command = "fightclub",
  474.    max = 0,
  475.    salary = 100,
  476.    admin = 0,
  477.    vote = false,
  478.    hasLicense = false,
  479.    candemote = true,
  480.    category = "Citizens"
  481. })
  482.  
  483. TEAM_BANKO = DarkRP.createJob("Bank Owner", {
  484.    color = Color(84, 140, 219, 255),
  485.    model = {"models/player/hostage/hostage_03.mdl"},
  486.    description = [[You own the bank, you keep peoples items safe from the police and raiders!]],
  487.    weapons = {},
  488.    command = "bankowner",
  489.    max = 1,
  490.    salary = 100,
  491.    admin = 0,
  492.    vote = false,
  493.    hasLicense = false,
  494.    candemote = true,
  495.    category = "Citizens"
  496. })
  497.  
  498. TEAM_BANKS = DarkRP.createJob("Bank Guard", {
  499.    color = Color(84, 140, 219, 255),
  500.    model = {
  501.        "models/player/guard_pack/guard_01.mdl",
  502.        "models/player/guard_pack/guard_02.mdl",
  503.        "models/player/guard_pack/guard_03.mdl",
  504.        "models/player/guard_pack/guard_04.mdl",
  505.        "models/player/guard_pack/guard_05.mdl",
  506.        "models/player/guard_pack/guard_06.mdl",
  507.        "models/player/guard_pack/guard_07.mdl",
  508.        "models/player/guard_pack/guard_08.mdl",
  509.        "models/player/guard_pack/guard_09.mdl"
  510.    },
  511.    description = [[You help protect the bank from raiders and thieves. The Bank Owner is in charge.]],
  512.    weapons = {"stunstick", "m9k_sig_p229r"},
  513.    command = "bankguard",
  514.    max = 5,
  515.    salary = 75,
  516.    admin = 0,
  517.    vote = false,
  518.    hasLicense = false,
  519.    candemote = true,
  520.    category = "Citizens"
  521. })
  522. --[[---------------------------------------------------------------------------
  523. Define which team joining players spawn into and what team you change to if demoted
  524. ---------------------------------------------------------------------------]]
  525. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  526. --[[---------------------------------------------------------------------------
  527. Define which teams belong to civil protection
  528. Civil protection can set warrants, make people wanted and do some other police related things
  529. ---------------------------------------------------------------------------]]
  530. GAMEMODE.CivilProtection = {
  531.    [TEAM_POLICE] = true,
  532.    [TEAM_CHIEF] = true,
  533.    [TEAM_MAYOR] = true,
  534.     [TEAM_SWAT] = true,
  535.     [TEAM_SWATL] = true,
  536.     [TEAM_SWATB] = true,
  537.     [TEAM_SWATH] = true,
  538.     [TEAM_SWATM] = true,
  539.     [TEAM_SWATS] = true,
  540. }
  541. --[[---------------------------------------------------------------------------
  542. Jobs that are hitmen (enables the hitman menu)
  543. ---------------------------------------------------------------------------]]
  544. DarkRP.addHitmanTeam(TEAM_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement