SHARE
TWEET

Untitled

a guest Oct 17th, 2019 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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_AOD = DarkRP.createJob("Staff on Duty", {
  20.    color = Color(255, 0, 0, 255),
  21.    model = {"models/player/combine_super_soldier.mdl"},
  22.    description = [[YOU ARE AN ADMIN ON DUTY! DO NOT ROLEPLAY! DO NOT ABUSE!]],
  23.    weapons = {},
  24.    command = "aod",
  25.    max = 0,
  26.    salary = 0,
  27.    admin = 1,
  28.    vote = false,
  29.    hasLicense = false,
  30.    candemote = false,
  31.    category = "Administration",
  32. })
  33.  
  34. TEAM_SCAVENGER = AddExtraTeam("Scavenger", {
  35.     level = 1,
  36.     color = Color(20, 150, 20, 255),
  37.     model = "models/player/arctic.mdl",
  38.     description = [[Go out and scavenge through the Cilians bases and take their stuff.]],
  39.     weapons = {"weapon_fists", "lockpick", "keypad_cracker"},
  40.     command = "scavenger",
  41.     max = 5,
  42.     salary = 45,
  43.     admin = 0,
  44.     vote = false,
  45.     hasLicense = false,
  46.     category = "Civilians"
  47. })
  48.  
  49. TEAM_GUN = AddExtraTeam("Weapons Dealer", {
  50.     level = 1,
  51.     color = Color(20, 150, 20, 255),
  52.     model = "models/player/pmc_3/pmc__01.mdl",
  53.     description = [[Neautral party to all wars. Supply weapons to soldiers.]],
  54.     weapons = {},
  55.     command = "dealer",
  56.     max = 3,
  57.     salary = 45,
  58.     admin = 0,
  59.     vote = false,
  60.     hasLicense = false,
  61.     category = "Civilians"
  62. })
  63.  
  64. // UNITED STATES //
  65.  
  66. TEAM_US1 = DarkRP.createJob("US Infantry", {
  67.     level = 1,
  68.    color = Color(0, 128, 255, 255),
  69.    model = {"models/codmw2/codmw2h.mdl"},
  70.    description = [[You are an infantry unit for the United States Army. Follow your superior's orders and lead the U.S to victory!]],
  71.    weapons = {"cw_g4p_m4a1", "cw_g4p_glock17"},
  72.    command = "usinfantry",
  73.    max = 5,
  74.    salary = 250,
  75.    admin = 0,
  76.    vote = false,
  77.    hasLicense = false,
  78.    candemote = true,
  79.    sortOrder = 2,
  80.    category = "United States",
  81. })
  82.  
  83. TEAM_US2 = DarkRP.createJob("US Recon Unit", {
  84.     level = 1,
  85.    color = Color(0, 128, 255, 255),
  86.    model = {"models/player/pmc_2/pmc__03.mdl"},
  87.    description = [[You are a recon unit for the United States Army. Your job is to gather intel on enemy units]],
  88.    weapons = {"util_binoculars", "cw_g4p_glock17"},
  89.    command = "usrecon",
  90.    max = 2,
  91.    salary = 250,
  92.    admin = 0,
  93.    vote = false,
  94.    hasLicense = false,
  95.    candemote = true,
  96.    category = "United States",
  97.    PlayerCanPickupWeapon = function(ply, weapon) return true end
  98. })
  99.  
  100. TEAM_US3 = DarkRP.createJob("US Heavy Infantry", {
  101.     level = 20,
  102.    color = Color(0, 128, 255, 255),
  103.    model = {"models/codmw2/codmw2.mdl"},
  104.    description = [[You are a heavy infantry unit for the United States Army. You are up close and personal and would be the first to enter a base while raiding.]],
  105.    weapons = {"cw_xm1014", "cw_g4p_glock17", "weapon_doorbuster", "lockpick", "keypad_cracker"},
  106.    command = "usheavyinfantry",
  107.    max = 1,
  108.    salary = 250,
  109.    admin = 0,
  110.    vote = false,
  111.    hasLicense = false,
  112.    candemote = true,
  113.    category = "United States",
  114. })
  115.  
  116. TEAM_US4 = DarkRP.createJob("US Sniper", {
  117.     level = 30,
  118.    color = Color(0, 128, 255, 255),
  119.    model = {"models/jessev92/player/military/cod4_sniper.mdl"},
  120.    description = [[You are a sniper for the United States Army. Follow you officer's orders and use your sniping skills to take down foes! Work with the recon unit for maximum proficiency!]],
  121.    weapons = {"cw_g4p_m98b", "cw_g4p_glock17"},
  122.    command = "ussniper",
  123.    max = 1,
  124.    salary = 250,
  125.    admin = 0,
  126.    vote = false,
  127.    hasLicense = false,
  128.    candemote = true,
  129.    category = "United States",
  130. })
  131.  
  132. TEAM_US5 = DarkRP.createJob("US Light Machine Gunner", {
  133.     level = 50,
  134.    color = Color(0, 128, 255, 255),
  135.    level = 15,
  136.    model = {"models/codmw2/codmw2.mdl"},
  137.    description = [[You are a light machine gunner for the United States Army. Your job is to defend your base. YOU ARE NOT TO JOIN RAIDS. YOU ARE A DEFENSIVE UNIT, NOT AN OFFENSIVE UNIT!]],
  138.    weapons = {"cw_240b", "cw_g4p_glock17"},
  139.    command = "uslightmachinegunner",
  140.    max = 2,
  141.    salary = 250,
  142.    admin = 0,
  143.    vote = false,
  144.    hasLicense = false,
  145.    candemote = true,
  146.    category = "United States",
  147. })
  148.  
  149. TEAM_US6 = DarkRP.createJob("US Medic", {
  150.     level = 15,
  151.    color = Color(0, 128, 255, 255),
  152.    model = {"models/mw2guy/bz/tfbz02.mdl"},
  153.    description = [[You are a medic for the United States Army. You're job is to heal your team and keep them alive!]],
  154.    weapons = {"weapon_medkit", "cw_g4p_ump45", "cw_g4p_glock17"},
  155.    command = "usmedic",
  156.    max = 1,
  157.    salary = 250,
  158.    admin = 0,
  159.    vote = false,
  160.    hasLicense = false,
  161.    candemote = true,
  162.    category = "United States",
  163. })
  164.  
  165. TEAM_US7 = DarkRP.createJob("US Lieutenant", {
  166.     level = 50,
  167.    color = Color(0, 128, 255, 255),
  168.    level = 10,
  169.    model = {"models/codmw2/t_codm.mdl"},
  170.    description = [[You are a Lieutenant for the United States Army. Your job is to muster a squad of teammates to patrol, raid, defend, ect. You take orders from the Colonel.]],
  171.    weapons = {"cw_g4p_masada_acr",  "cw_g4p_glock17"},
  172.    command = "uslieutenant",
  173.    max = 2,
  174.    salary = 250,
  175.    admin = 0,
  176.    vote = false,
  177.    hasLicense = false,
  178.    candemote = true,
  179.    category = "United States",
  180. })
  181.  
  182. TEAM_US8 = DarkRP.createJob("US Colonel", {
  183.     level = 75,
  184.    color = Color(0, 128, 255, 255),
  185.    model = {"models/codmw2/codmw2he.mdl"},
  186.    description = [[You are a Colonel for the United States Army. Your take orders from the General of the Army and command your troops the way you want to, to get the mission done.]],
  187.    weapons = {"cw_g4p_m16a2", "cw_g4p_glock17"},
  188.    command = "uscolonel",
  189.    max = 1,
  190.    salary = 250,
  191.    admin = 0,
  192.    vote = false,
  193.    hasLicense = false,
  194.    candemote = true,
  195.    category = "United States",
  196. })
  197.  
  198. TEAM_US9 = DarkRP.createJob("US General of the Army", {
  199.     level = 100,
  200.    color = Color(0, 128, 255, 255),
  201.    model = {"models/player/pmc_2/pmc__01.mdl"},
  202.    description = [[You are the U.S General of the Army. You declare wars, accept peace treaties, alliances, ect. You order the Colonel on what to do and the Colonel will see it done.]],
  203.    weapons = {},
  204.    command = "usgota",
  205.    max = 1,
  206.    salary = 250,
  207.    admin = 0,
  208.    vote = false,
  209.    hasLicense = false,
  210.    candemote = true,
  211.    category = "United States",
  212.    PlayerDeath = function(ply, weapon, killer)
  213.         ply:teamBan()
  214.         ply:changeTeam(GAMEMODE.DefaultTeam, true)
  215.         if killer:IsPlayer() then
  216.             DarkRP.notifyAll(0, 4, "The U.S General of the Army has been killed!")
  217.         else
  218.             DarkRP.notifyAll(0, 4, "The U.S General of the Army has died!")
  219.         end
  220.     end
  221. })
  222.  
  223. TEAM_NWO1 = DarkRP.createJob("NWO Infantry", {
  224.     level = 50,
  225.   color = Color(0, 20, 84, 255),
  226.    model = {"models/odstvariants/odsthalo4/odsthalo4camopm.mdl"},
  227.    description = [[You are an infantry unit for the NWO Army .Follow your superior's orders and lead Russia to victory!]],
  228.    weapons = {"cw_mn23", "cw_g4p_glock17"},
  229.    command = "nwoinfantry",
  230.    max = 5,
  231.    salary = 250,
  232.    admin = 0,
  233.    vote = false,
  234.    hasLicense = false,
  235.    candemote = true,
  236.    sortOrder = 1,
  237.    category = "New World Order",
  238. })
  239.  
  240. TEAM_NWO2 = DarkRP.createJob("NWO Recon Unit", {
  241.     level = 100,
  242.    color = Color(0, 20, 84, 255),
  243.    model = {"models/odstvariants/odsthalo4/odsthalo4camopm.mdl"},
  244.    description = [[You are a recon unit for the NWO Army. Your job is to gather intel on enemy units. YOU ARE NOT ALLOWED TO OWN WEAPONS!]],
  245.    weapons = {"util_binoculars", "weapon_stealthcamo"},
  246.    command = "nworecon",
  247.    max = 1,
  248.    salary = 250,
  249.    admin = 0,
  250.    vote = false,
  251.    hasLicense = false,
  252.    candemote = true,
  253.    category = "New World Order",
  254.    customCheck = function(ply)
  255.         return ply:IsUserGroup("titanium") or ply:IsAdmin()
  256.     end,
  257. })
  258.  
  259. TEAM_NWO3 = DarkRP.createJob("NWO Heavy Infantry", {
  260.     level = 70,
  261.    color = Color(0, 20, 84, 255),
  262.    model = {"models/player/Rottweiler/mc.mdl"},
  263.    description = [[You are a heavy infantry unit for the NWO Army. You are up close and personal and would be the first to enter a base while raiding.]],
  264.    weapons = {"cw_xm1014", "cw_g4p_glock17", "weapon_doorbuster", "lockpick", "keypad_cracker"},
  265.    command = "nwoheavyinfantry",
  266.    max = 1,
  267.    salary = 250,
  268.    admin = 0,
  269.    vote = false,
  270.    hasLicense = false,
  271.    candemote = true,
  272.    category = "New World Order",
  273. })
  274.  
  275. TEAM_NWO4 = DarkRP.createJob("NWO Sniper", {
  276.     level = 60,
  277.    color = Color(0, 20, 84, 255),
  278.    model = {"models/jessev92/player/military/cod4_sniper.mdl"},
  279.    description = [[You are a sniper for the NWO Army. Follow you officer's orders and use your sniping skills to take down foes! Work with the recon unit for maximum proficiency!]],
  280.    weapons = {"cw_g4p_awm", "cw_g4p_glock17"},
  281.    command = "nwosniper",
  282.    max = 1,
  283.    salary = 250,
  284.    admin = 0,
  285.    vote = false,
  286.    hasLicense = false,
  287.    candemote = true,
  288.    category = "New World Order",
  289. })
  290.  
  291. TEAM_NWO5 = DarkRP.createJob("NWO Light Machine Gunner", {
  292.     level = 80,
  293.    color = Color(0, 20, 84, 255),
  294.    model = {"models/player/Rottweiler/mc.mdl"},
  295.    description = [[You are a light machine gunner for the NWO Army. Your job is to defend your base. YOU ARE NOT TO JOIN RAIDS. YOU ARE A DEFENSIVE UNIT, NOT AN OFFENSIVE UNIT!]],
  296.    weapons = {"cw_240b", "cw_g4p_glock17"},
  297.    command = "nwolightmachinegunner",
  298.    max = 1,
  299.    salary = 250,
  300.    admin = 0,
  301.    vote = false,
  302.    hasLicense = false,
  303.    candemote = true,
  304.    category = "New World Order",
  305. })
  306.  
  307. TEAM_NWO6 = DarkRP.createJob("NWO Medic", {
  308.     level = 55,
  309.    color = Color(0, 20, 84, 255),
  310.    model = {"models/odstvariants/odsthalo4/odsthalo4camopm.mdl"},
  311.    description = [[You are a medic for the NWO Army. You're job is to heal your team and keep them alive!]],
  312.    weapons = {"weapon_medkit", "cw_mp5", "cw_g4p_glock17"},
  313.    command = "nwomedic",
  314.    max = 1,
  315.    salary = 250,
  316.    admin = 0,
  317.    vote = false,
  318.    hasLicense = false,
  319.    candemote = true,
  320.    category = "New World Order",
  321. })
  322.  
  323. TEAM_NWO7 = DarkRP.createJob("NWO Lieutenant", {
  324.     level = 65,
  325.    color = Color(0, 20, 84, 255),
  326.    model = {"models/odstvariants/odsthalo4/odsthalo4pm.mdl"},
  327.    description = [[You are a Lieutenant for the NWO Army. Your job is to muster a squad of teammates to patrol, raid, defend, ect. You take orders from the Colonel.]],
  328.    weapons = {"cw_g4p_xm8", "cw_g4p_glock17"},
  329.    command = "nwolieutenant",
  330.    max = 2,
  331.    salary = 250,
  332.    admin = 0,
  333.    vote = false,
  334.    hasLicense = false,
  335.    candemote = true,
  336.    category = "New World Order",
  337. })
  338.  
  339. TEAM_NWO8 = DarkRP.createJob("NWO Colonel", {
  340.     level = 90,
  341.    color = Color(0, 20, 84, 255),
  342.    model = {"models/odstvariants/odsthalo4/odsthalo4camopm.mdl"},
  343.    description = [[You are a Colonel for the NWO Army. Your take orders from the General of the Army and command your troops the way you want to, to get the mission done.]],
  344.    weapons = {"cw_g4p_magpul_masada", "cw_g4p_glock17"},
  345.    command = "nwocolonel",
  346.    max = 1,
  347.    salary = 250,
  348.    admin = 0,
  349.    vote = false,
  350.    hasLicense = false,
  351.    candemote = true,
  352.    category = "New World Order",
  353. })
  354.  
  355. TEAM_NWO9 = DarkRP.createJob("NWO General of the Army", {
  356.     level = 100,
  357.    color = Color(0, 20, 84, 255),
  358.    model = {"models/player/Rottweiler/mc.mdl"},
  359.    description = [[You are the NWO General of the Army. You declare wars, accept peace treaties, alliances, ect. You order the Colonel on what to do and the Colonel will see it done.]],
  360.    weapons = {},
  361.    command = "nwogota",
  362.    max = 1,
  363.    salary = 250,
  364.    admin = 0,
  365.    vote = false,
  366.    hasLicense = false,
  367.    candemote = true,
  368.    category = "New World Order",
  369.    PlayerDeath = function(ply, weapon, killer)
  370.         ply:teamBan()
  371.         ply:changeTeam(GAMEMODE.DefaultTeam, true)
  372.         if killer:IsPlayer() then
  373.             DarkRP.notifyAll(0, 4, "The NWO General of the Army has been killed!")
  374.         else
  375.             DarkRP.notifyAll(0, 4, "The NWO General of the Army has died!")
  376.         end
  377.     end
  378. })
  379.  
  380.  
  381.  
  382.  
  383.  
  384. TEAM_DE1 = DarkRP.createJob("DE Infantry", {
  385.     level = 1,
  386.    color = Color(32, 32, 32, 255),
  387.    model = {"models/player/pmc_4/pmc__12.mdl"},
  388.    description = [[You are an infantry unit for the German Army .Follow your superior's orders and lead Germany to victory!]],
  389.    weapons = {"cw_g4p_g36c", "cw_g4p_usp40"},
  390.    command = "deinfantry",
  391.    max = 5,
  392.    salary = 250,
  393.    admin = 0,
  394.    vote = false,
  395.    hasLicense = false,
  396.    candemote = true,
  397.    sortOrder = 1,
  398.    category = "Germany",
  399. })
  400.  
  401. TEAM_DE2 = DarkRP.createJob("DE Recon Unit", {
  402.     level = 1,
  403.    color = Color(32, 32, 32, 255),
  404.    model = {"models/player/pmc_4/pmc__03.mdl"},
  405.    description = [[You are a recon unit for the German Army. Your job is to gather intel on enemy units.]],
  406.    weapons = {"util_binoculars", "cw_g4p_usp40"},
  407.    command = "derecon",
  408.    max = 2,
  409.    salary = 250,
  410.    admin = 0,
  411.    vote = false,
  412.    hasLicense = false,
  413.    candemote = true,
  414.    category = "Germany",
  415. })
  416.  
  417. TEAM_DE3 = DarkRP.createJob("DE Heavy Infantry", {
  418.     level = 20,
  419.    color = Color(32, 32, 32, 255),
  420.    model = {"models/player/pmc_4/pmc__14.mdl"},
  421.    description = [[You are a heavy infantry unit for the German Army. You are up close and personal and would be the first to enter a base while raiding.]],
  422.    weapons = {"cw_xm1014", "cw_g4p_usp40", "weapon_doorbuster", "lockpick", "keypad_cracker"},
  423.    command = "deheavyinfantry",
  424.    max = 1,
  425.    salary = 250,
  426.    admin = 0,
  427.    vote = false,
  428.    hasLicense = false,
  429.    candemote = true,
  430.    category = "Germany",
  431. })
  432.  
  433. TEAM_DE4 = DarkRP.createJob("DE Sniper", {
  434.     level = 30,
  435.    color = Color(32, 32, 32, 255),
  436.    model = {"models/jessev92/player/military/cod4_sniper.mdl"},
  437.    description = [[You are a sniper for the German Army. Follow you officer's orders and use your sniping skills to take down foes! Work with the recon unit for maximum proficiency!]],
  438.    weapons = {"cw_g4p_m98b", "cw_g4p_usp40"},
  439.    command = "desniper",
  440.    max = 1,
  441.    salary = 250,
  442.    admin = 0,
  443.    vote = false,
  444.    hasLicense = false,
  445.    candemote = true,
  446.    category = "Germany",
  447. })
  448.  
  449. TEAM_DE5 = DarkRP.createJob("DE Light Machine Gunner", {
  450.     level = 50,
  451.    color = Color(32, 32, 32, 255),
  452.    model = {"models/player/pmc_4/pmc__13.mdl"},
  453.    description = [[You are a light machine gunner for the German Army. Your job is to defend your base. YOU ARE NOT TO JOIN RAIDS. YOU ARE A DEFENSIVE UNIT, NOT AN OFFENSIVE UNIT!]],
  454.    weapons = {"cw_240b", "cw_g4p_usp40"},
  455.    command = "delightmachinegunner",
  456.    max = 1,
  457.    salary = 250,
  458.    admin = 0,
  459.    vote = false,
  460.    hasLicense = false,
  461.    candemote = true,
  462.    category = "Germany",
  463. })
  464.  
  465. TEAM_DE6 = DarkRP.createJob("DE Medic", {
  466.     level = 15,
  467.    color = Color(32, 32, 32, 255),
  468.    model = {"models/player/pmc_4/pmc__02.mdl"},
  469.    description = [[You are a medic for the German Army. You're job is to heal your team and keep them alive!]],
  470.    weapons = {"weapon_medkit", "cw_mp5", "cw_g4p_usp40"},
  471.    command = "demedic",
  472.    max = 1,
  473.    salary = 250,
  474.    admin = 0,
  475.    vote = false,
  476.    hasLicense = false,
  477.    candemote = true,
  478.    category = "Germany",
  479. })
  480.  
  481. TEAM_DE7 = DarkRP.createJob("DE Lieutenant", {
  482.     level = 50,
  483.    color = Color(32, 32, 32, 255),
  484.    model = {"models/player/pmc_4/pmc__07.mdl"},
  485.    description = [[You are a Lieutenant for the German Army. Your job is to muster a squad of teammates to patrol, raid, defend, ect. You take orders from the Colonel.]],
  486.    weapons = {"cw_g4p_xm8", "cw_g4p_usp40"},
  487.    command = "delieutenant",
  488.    max = 2,
  489.    salary = 250,
  490.    admin = 0,
  491.    vote = false,
  492.    hasLicense = false,
  493.    candemote = true,
  494.    category = "Germany",
  495. })
  496.  
  497. TEAM_DE8 = DarkRP.createJob("DE Colonel", {
  498.     level = 75,
  499.    color = Color(32, 32, 32, 255),
  500.    model = {"models/player/pmc_4/pmc__04.mdl"},
  501.    description = [[You are a Colonel for the German Army. Your take orders from the General of the Army and command your troops the way you want to, to get the mission done.]],
  502.    weapons = {"cw_g4p_fn_fal", "cw_g4p_usp40"},
  503.    command = "decolonel",
  504.    max = 1,
  505.    salary = 250,
  506.    admin = 0,
  507.    vote = false,
  508.    hasLicense = false,
  509.    candemote = true,
  510.    category = "Germany",
  511. })
  512.  
  513. TEAM_DE9 = DarkRP.createJob("DE General of the Army", {
  514.     level = 100,
  515.    color = Color(32, 32, 32, 255),
  516.    model = {"models/player/pmc_4/pmc__01.mdl"},
  517.    description = [[You are the German General of the Army. You declare wars, accept peace treaties, alliances, ect. You order the Colonel on what to do and the Colonel will see it done.]],
  518.    weapons = {},
  519.    command = "degota",
  520.    max = 1,
  521.    salary = 250,
  522.    admin = 0,
  523.    vote = false,
  524.    hasLicense = false,
  525.    candemote = true,
  526.    category = "Germany",
  527.    PlayerDeath = function(ply, weapon, killer)
  528.         ply:teamBan()
  529.         ply:changeTeam(GAMEMODE.DefaultTeam, true)
  530.         if killer:IsPlayer() then
  531.             DarkRP.notifyAll(0, 4, "The German General of the Army has been killed!")
  532.         else
  533.             DarkRP.notifyAll(0, 4, "The German General of the Army has died!")
  534.         end
  535.     end
  536. })
  537.  
  538.  
  539. // C.E.L.L Military Company (Mercenaries) //
  540.  
  541. TEAM_CELL1 = DarkRP.createJob("C.E.L.L Infantry", {
  542.    color = Color(0, 204, 204, 255),
  543.    model = {"models/player/cellassault1player.mdl"},
  544.    description = [[You are an infantry unit for the PMCs. Follow your orders and get paid.]],
  545.    weapons = {"cw_g4p_glock17", "cw_g4p_magpul_masada"},
  546.    command = "cellinfantry",
  547.    max = 5,
  548.    salary = 250,
  549.    admin = 0,
  550.    vote = false,
  551.    hasLicense = false,
  552.    candemote = true,
  553.    category = "C.E.L.L Military Company (Mercenaries)",
  554.     customCheck = function(ply)
  555.         return ply:IsUserGroup("bronze") or ply:IsUserGroup("silver") or ply:IsUserGroup("gold") or ply:IsUserGroup("titanium") or ply:IsAdmin()
  556.     end,
  557. })
  558.  
  559. TEAM_CELL2 = DarkRP.createJob("C.E.L.L Heavy Infantry", {
  560.    color = Color(0, 204, 204, 255),
  561.    model = {"models/player/cellassault3player.mdl"},
  562.    description = [[You are a heavy infantry unit for C.E.L.L Military Company. You are up close and personal and would be the first to enter a base while raiding.]],
  563.    weapons = {"cw_xm1014", "cw_g4p_glock17", "lockpick", "keypad_cracker"},
  564.    command = "cellheavyinfantry",
  565.    max = 1,
  566.    salary = 250,
  567.    admin = 0,
  568.    vote = false,
  569.    hasLicense = false,
  570.    candemote = true,
  571.    category = "C.E.L.L Military Company (Mercenaries)",
  572.    customCheck = function(ply)
  573.         return ply:IsUserGroup("gold") or ply:IsUserGroup("titanium") or ply:IsAdmin()
  574.     end,
  575. })
  576.  
  577. TEAM_CELL3 = DarkRP.createJob("C.E.L.L Recon Unit", {
  578.    color = Color(0, 204, 204, 255),
  579.    model = {"models/player/cellassault4player.mdl"},
  580.    description = [[You are a recon unit for the C.E.L.L Military Company. Your job is to gather intel on enemy units]],
  581.    weapons = {"cw_g4p_glock17", "util_binoculars"},
  582.    command = "cellreconunit",
  583.    max = 1,
  584.    salary = 250,
  585.    admin = 0,
  586.    vote = false,
  587.    hasLicense = false,
  588.    candemote = true,
  589.    category = "C.E.L.L Military Company (Mercenaries)",
  590.    customCheck = function(ply)
  591.         return ply:IsUserGroup("bronze") or ply:IsUserGroup("silver") or ply:IsUserGroup("gold") or ply:IsUserGroup("titanium") or ply:IsAdmin()
  592.     end,
  593. })
  594.  
  595. TEAM_CELL4 = DarkRP.createJob("C.E.L.L Medic", {
  596.    color = Color(0, 204, 204, 255),
  597.    model = {"models/player/cellassault1player.mdl"},
  598.    description = [[You are a recon unit for the C.E.L.L Military Company. Your job is to gather intel on enemy units]],
  599.    weapons = {"weapon_medkit", "m9k_vector", "cw_g4p_glock17"},
  600.    command = "cellmedic",
  601.    max = 1,
  602.    salary = 250,
  603.    admin = 0,
  604.    vote = false,
  605.    hasLicense = false,
  606.    candemote = true,
  607.    category = "C.E.L.L Military Company (Mercenaries)",
  608.     customCheck = function(ply)
  609.         return ply:IsUserGroup("bronze") or ply:IsUserGroup("silver") or ply:IsUserGroup("gold") or ply:IsUserGroup("titanium") or ply:IsAdmin()
  610.     end,
  611. })
  612.  
  613. TEAM_CELL5 = DarkRP.createJob("C.E.L.L Commander", {
  614.    color = Color(0, 204, 204, 255),
  615.    model = {"models/player/mgs4_bigboss.mdl"},
  616.    description = [[You are the Commander for C.E.L.L Military Company. Command your troops and accept or deny requests of hire.]],
  617.    weapons = {},
  618.    command = "cellcommander",
  619.    max = 1,
  620.    salary = 250,
  621.    admin = 0,
  622.    vote = false,
  623.    hasLicense = true,
  624.    candemote = true,
  625.    category = "C.E.L.L Military Company (Mercenaries)",
  626.     customCheck = function(ply)
  627.         return ply:IsUserGroup("silver") or ply:IsUserGroup("gold") or ply:IsUserGroup("titanium") or ply:IsAdmin()
  628.     end,
  629. })
  630.  
  631. TEAM_CELL6 = DarkRP.createJob("C.E.L.L Juggernaut", {
  632.    color = Color(0, 204, 204, 255),
  633.    model = {"models/mw2guy/riot/juggernaut.mdl"},
  634.    description = [[You are a juggernaut for C.E.L.L Military Company. Take orders from your superior, and remember, no russian.]],
  635.    weapons = {"cw_240b", "cw_g4p_ump45", "cw_deagle"},
  636.    command = "celljuggernaut",
  637.    max = 1,
  638.    salary = 250,
  639.    admin = 0,
  640.    vote = false,
  641.    hasLicense = true,
  642.    candemote = true,
  643.    category = "C.E.L.L Military Company (Mercenaries)",
  644.    PlayerSpawn =  function(ply) ply:SetArmor(200) ply:SetAmmo(600 , "ar2") end,
  645.     customCheck = function(ply)
  646.         return ply:IsUserGroup("titanium") or ply:IsAdmin()
  647.     end,
  648. })
  649.  
  650. TEAM_CELL7 = DarkRP.createJob("C.E.L.L Officer", {
  651.    color = Color(0, 204, 204, 255),
  652.    model = {"models/player/cellassault1player.mdl"},
  653.    description = [[You are an officer for C.E.L.L Military Company. Command your troops out in the field and make sure you don't disappoint your customer.]],
  654.    weapons = {"cw_g4p_magpul_masada", "cw_g4p_glock17"},
  655.    command = "cellofficer",
  656.    max = 1,
  657.    salary = 250,
  658.    admin = 0,
  659.    vote = false,
  660.    hasLicense = false,
  661.    candemote = true,
  662.    category = "C.E.L.L Military Company (Mercenaries)",
  663.     customCheck = function(ply)
  664.         return ply:IsUserGroup("silver") or ply:IsUserGroup("gold") or ply:IsUserGroup("titanium") or ply:IsAdmin()
  665.     end,
  666. })
  667.  
  668. TEAM_CELL8 = DarkRP.createJob("C.E.L.L Special Forces", {
  669.    color = Color(0, 204, 204, 255),
  670.    model = {"models/player/cellassault1player.mdl"},
  671.    description = [[You are special forces for C.E.L.L Military Company. You do not work with other parts of the company. You either work solo or with the other special forces in the company. You take orders directly from the Commander.]],
  672.    weapons = {"cw_mn23", "cw_g4p_awm", "cw_g4p_glock17"},
  673.    command = "cellspecialforces",
  674.    max = 2,
  675.    salary = 250,
  676.    admin = 0,
  677.    vote = false,
  678.    hasLicense = false,
  679.    candemote = true,
  680.    category = "C.E.L.L Military Company (Mercenaries)",
  681.    customCheck = function(ply)
  682.         return ply:IsUserGroup("gold") or ply:IsUserGroup("titanium") or ply:IsAdmin()
  683.     end,
  684. })
  685.  
  686. TEAM_CELL9 = DarkRP.createJob("C.E.L.L Sniper", {
  687.    color = Color(0, 204, 204, 255),
  688.    model = {"models/jessev92/player/military/cod4_sniper.mdl"},
  689.    description = [[You are a sniper for C.E.L.L Military Company. Follow you officer's orders and use your sniping skills to take down foes! Work with the recon unit for maximum proficiency!]],
  690.    weapons = {"cw_g4p_awm", "cw_g4p_glock17"},
  691.    command = "cellsniper",
  692.    max = 1,
  693.    salary = 250,
  694.    admin = 0,
  695.    vote = false,
  696.    hasLicense = false,
  697.    candemote = true,
  698.    category = "C.E.L.L Military Company (Mercenaries)",
  699.     customCheck = function(ply)
  700.         return ply:IsUserGroup("silver") or ply:IsUserGroup("gold") or ply:IsUserGroup("titanium") or ply:IsAdmin()
  701.     end,
  702. })
  703.  
  704. // TERRORISTS //
  705.  
  706. TEAM_T1 = DarkRP.createJob("Terrorist", {
  707.    color = Color(102, 102, 0, 255),
  708.    model = {"models/player/kuma/taliban_grunt.mdl"},
  709.    description = [[You are  a standard terrorist. Take orders from your leader. REMEMBER YOU CAN ONLY DO A TERRORIST ATTACK EVERY 30 MINUTES!]],
  710.    weapons = {},
  711.    command = "terrorist",
  712.    max = 2,
  713.    salary = 250,
  714.    admin = 0,
  715.    vote = false,
  716.    hasLicense = false,
  717.    candemote = true,
  718.    sortOrder = 2,
  719.    category = "Terrorists",
  720.    customCheck = function(ply)
  721.         return ply:IsUserGroup("silver") or ply:IsUserGroup("gold") or ply:IsUserGroup("titanium") or ply:IsAdmin()
  722.     end,
  723. })
  724.  
  725. TEAM_T2 = DarkRP.createJob("Terrorist Leader", {
  726.    color = Color(102, 102, 0, 255),
  727.    model = {"models/player/kuma/taliban_rpg.mdl"},
  728.    description = [[You are the leader of the terrorists. Tell your other terrorists your plans for maximum chaos! REMEMBER YOU CAN ONLY DO A TERRORIST ATTACK EVERY 30 MINUTES!]],
  729.    weapons = {},
  730.    command = "terroristleader",
  731.    max = 1,
  732.    salary = 250,
  733.    admin = 0,
  734.    vote = false,
  735.    hasLicense = false,
  736.    candemote = true,
  737.    sortOrder = 1,
  738.    category = "Terrorists",
  739.    customCheck = function(ply)
  740.         return ply:IsUserGroup("gold") or ply:IsUserGroup("titanium") or ply:IsAdmin()
  741.     end,
  742.  
  743. })
  744.  
  745. TEAM_T3 = DarkRP.createJob("Suicide Bomber", {
  746.    color = Color(102, 102, 0, 255),
  747.    model = {"models/player/kuma/taliban_bomber.mdl"},
  748.    description = [[You are a suicide bomber! Blow yourself up to cause chaos! REMEMBER YOU CAN ONLY DO A TERRORIST ATTACK EVERY 15 MINUTES!]],
  749.    weapons = {"m9k_suicide_bomb"},
  750.    command = "suicidebomber",
  751.    max = 1,
  752.    salary = 250,
  753.    admin = 0,
  754.    vote = false,
  755.    hasLicense = false,
  756.    candemote = true,
  757.    sortOrder = 3,
  758.    category = "Terrorists",
  759.    customCheck = function(ply)
  760.         return ply:IsUserGroup("titanium") or ply:IsAdmin()
  761.     end,
  762.  
  763. })
  764.  
  765. // UNITED NATIONS //
  766.  
  767. TEAM_UN1 = DarkRP.createJob("UN Infantry", {
  768.     level = 5,
  769.    color = Color(0, 0, 255, 255),
  770.    model = {"models/player/mnu_assault.mdl"},
  771.    description = [[You are infantry for the United Nations. Work with the factions to bring peace!]],
  772.    weapons = {"cw_ar15", "cw_g4p_glock17"},
  773.    command = "uninfantry",
  774.    max = 3,
  775.    salary = 250,
  776.    admin = 0,
  777.    vote = false,
  778.    hasLicense = true,
  779.    candemote = true,
  780.    category = "United Nations",
  781. })
  782. /*
  783. TEAM_UN2 = DarkRP.createJob("UN Defense Unit", {
  784.     level = 50,
  785.    color = Color(0, 0, 255, 255),
  786.    model = {"models/player/mnu_soldier.mdl"},
  787.    description = [[You are a defense unit for the United Nations. Protect the base or whatever your superiors tells you to.]],
  788.    weapons = {"m9k_m249lmg", "bb_glock_alt"},
  789.    command = "undefenseunit",
  790.    max = 2,
  791.    salary = 250,
  792.    admin = 0,
  793.    vote = false,
  794.    hasLicense = true,
  795.    candemote = true,
  796.    category = "United Nations",
  797.    customCheck = function(ply)
  798.         return ply:IsUserGroup("bronze") or ply:IsUserGroup("silver") or ply:IsUserGroup("gold") or ply:IsUserGroup("titanium") or ply:IsAdmin()
  799.     end,
  800. })
  801. */
  802. TEAM_UN3 = DarkRP.createJob("UN Medic", {
  803.     level = 15,
  804.    color = Color(0, 0, 255, 255),
  805.    model = {"models/player/mnu_medic.mdl"},
  806.    description = [[You are a medic for the United Nations. Keep your team alive!]],
  807.    weapons = {"cw_g4p_ump45", "cw_g4p_glock17", "med_kit"},
  808.    command = "unmedic",
  809.    max = 1,
  810.    salary = 250,
  811.    admin = 0,
  812.    vote = false,
  813.    hasLicense = true,
  814.    candemote = true,
  815.    category = "United Nations",
  816. })
  817.  
  818. TEAM_UN4 = DarkRP.createJob("UN Heavy Infantry", {
  819.     level = 20,
  820.    color = Color(0, 0, 255, 255),
  821.    model = {"models/player/mnu_soldier.mdl"},
  822.    description = [[You are heavy infantry for the United Nations. Bust down doors and provide support to the team.]],
  823.    weapons = {"cw_xm1014", "cw_g4p_glock17", "lockpick"},
  824.    command = "unheavyinfantry",
  825.    max = 1,
  826.    salary = 250,
  827.    admin = 0,
  828.    vote = false,
  829.    hasLicense = true,
  830.    candemote = true,
  831.    category = "United Nations",
  832.    customCheck = function(ply)
  833.         return ply:IsUserGroup("bronze") or ply:IsUserGroup("silver") or ply:IsUserGroup("gold") or ply:IsUserGroup("titanium") or ply:IsAdmin()
  834.     end,
  835. })
  836. /*
  837. TEAM_UN5 = DarkRP.createJob("UN Sniper", {
  838.     level = 30,
  839.    color = Color(0, 0, 255, 255),
  840.    model = {"models/jessev92/player/military/cod4_sniper.mdl"},
  841.    description = [[You are a sniper for the United Nations. Follow you officer's orders and use your sniping skills to take down foes! Work with the recon unit for maximum proficiency!]],
  842.    weapons = {"m9k_intervention", "bb_glock_alt"},
  843.    command = "unsniper",
  844.    max = 1,
  845.    salary = 250,
  846.    admin = 0,
  847.    vote = false,
  848.    hasLicense = false,
  849.    candemote = true,
  850.    category = "United Nations",
  851.    customCheck = function(ply)
  852.         return ply:IsUserGroup("bronze") or ply:IsUserGroup("silver") or ply:IsUserGroup("gold") or ply:IsUserGroup("titanium") or ply:IsAdmin()
  853.     end,
  854. })
  855. */
  856. TEAM_UN6 = DarkRP.createJob("UN Lieutenant", {
  857.    color = Color(0, 0, 255, 255),
  858.    level = 50,
  859.    model = {"models/player/mnu_soldier.mdl"},
  860.    description = [[You are a Lieutenant for the United Nations. Command your troops while out in the field and organize your defense tactics. You take orders from the Ambassador.]],
  861.    weapons = {"cw_g3a3", "cw_g4p_glock17"},
  862.    command = "unlieutenant",
  863.    max = 1,
  864.    salary = 250,
  865.    admin = 0,
  866.    vote = false,
  867.    hasLicense = false,
  868.    candemote = true,
  869.    category = "United Nations",
  870. })
  871.  
  872. TEAM_UN7 = DarkRP.createJob("UN Ambassador", {
  873.    color = Color(0, 0, 255, 255),
  874.    level = 3,
  875.    model = {"models/player/pmc_1/pmc__01.mdl"},
  876.    description = [[You are the Ambassador for the United Nations. Decide which factions you will support and which factions to oppose to bring peace!]],
  877.    weapons = {},
  878.    command = "unambassador",
  879.    max = 1,
  880.    salary = 250,
  881.    admin = 0,
  882.    vote = false,
  883.    hasLicense = false,
  884.    candemote = true,
  885.    category = "United Nations",
  886. })
  887.  
  888. --[[// U.S BREACHER
  889. // models/codmw2/codmw2.mdl
  890. // U.S COLONEL
  891. // models/codmw2/codmw2he.mdl
  892. // U.S | LIEUTENANT W/ MORE GEAR
  893. // models/codmw2/codmw2hexe.mdl
  894. // GHOST
  895. // models/codmw2/codmw2m.mdl
  896. // U.S LIEUTENANT
  897. // models/codmw2/t_codm.mdl]]
  898.  
  899. -- Compatibility for when default teams are disabled
  900. TEAM_CITIZEN = TEAM_CITIZEN  or -1
  901. TEAM_POLICE  = TEAM_POLICE   or -1
  902. TEAM_GANG    = TEAM_GANG     or -1
  903. TEAM_MOB     = TEAM_MOB      or -1
  904. TEAM_GUN     = TEAM_GUN      or -1
  905. TEAM_MEDIC   = TEAM_MEDIC    or -1
  906. TEAM_CHIEF   = TEAM_CHIEF    or -1
  907. TEAM_MAYOR   = TEAM_MAYOR    or -1
  908. TEAM_HOBO    = TEAM_HOBO     or -1
  909.  
  910.  
  911. AddDoorGroup("United States", TEAM_US1, TEAM_US2, TEAM_US3, TEAM_US4, TEAM_US5, TEAM_US6, TEAM_US7, TEAM_US8, TEAM_US9)
  912. --AddDoorGroup("Russia", TEAM_RU1, TEAM_RU2, TEAM_RU3, TEAM_RU4, TEAM_RU5, TEAM_RU6, TEAM_RU7, TEAM_RU8, TEAM_RU9)
  913. AddDoorGroup("Germany", TEAM_DE1, TEAM_DE2, TEAM_DE3, TEAM_DE4, TEAM_DE5, TEAM_DE6, TEAM_DE7, TEAM_DE8, TEAM_DE9)
  914. AddDoorGroup("Taliban", TEAM_UN1, TEAM_UN2, TEAM_UN3, TEAM_UN4, TEAM_UN5, TEAM_UN6, TEAM_UN7)
  915.  
  916. DarkRP.createGroupChat(function(ply) return ply:isCP() end)
  917. DarkRP.createGroupChat(TEAM_MOB, TEAM_GANG)
  918.  
  919. DarkRP.createGroupChat(function(listener, ply) return not ply or ply:Team() == listener:Team() end)
  920. DarkRP.createGroupChat(TEAM_US1, TEAM_US2, TEAM_US3, TEAM_US4, TEAM_US5, TEAM_US6, TEAM_US7, TEAM_US8, TEAM_US9)
  921.  
  922. --DarkRP.createGroupChat(function(listener, ply) return not ply or ply:Team() == listener:Team() end)
  923. --DarkRP.createGroupChat(TEAM_RU1, TEAM_RU2, TEAM_RU3, TEAM_RU4, TEAM_RU5, TEAM_RU6, TEAM_RU7, TEAM_RU8, TEAM_RU9)
  924.  
  925. DarkRP.createGroupChat(function(listener, ply) return not ply or ply:Team() == listener:Team() end)
  926. DarkRP.createGroupChat(TEAM_NWO1, TEAM_NWO2, TEAM_NWO3, TEAM_NWO4, TEAM_NWO5, TEAM_NWO6, TEAM_NWO7, TEAM_NWO8, TEAM_NWO9)
  927.  
  928. DarkRP.createGroupChat(function(listener, ply) return not ply or ply:Team() == listener:Team() end)
  929. DarkRP.createGroupChat(TEAM_DE1, TEAM_DE2, TEAM_DE3, TEAM_DE4, TEAM_DE5, TEAM_DE6, TEAM_DE7, TEAM_DE8, TEAM_DE9)
  930.  
  931. DarkRP.createGroupChat(function(listener, ply) return not ply or ply:Team() == listener:Team() end)
  932. DarkRP.createGroupChat(TEAM_CELL1, TEAM_CELL2, TEAM_CELL3, TEAM_CELL4, TEAM_CELL5, TEAM_CELL6, TEAM_CELL7, TEAM_CELL8)
  933.  
  934. DarkRP.createGroupChat(function(listener, ply) return not ply or ply:Team() == listener:Team() end)
  935. DarkRP.createGroupChat(TEAM_UN1, TEAM_UN2, TEAM_UN3, TEAM_UN4, TEAM_UN5, TEAM_UN6, TEAM_UN7)
  936.  
  937. DarkRP.createGroupChat(function(listener, ply) return not ply or ply:Team() == listener:Team() end)
  938. DarkRP.createGroupChat(TEAM_T1, TEAM_T2, TEAM_T3)
  939. /*---------------------------------------------------------------------------
  940. Define which team joining players spawn into and what team you change to if demoted
  941. ---------------------------------------------------------------------------*/
  942. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  943.  
  944. /*---------------------------------------------------------------------------
  945. Default categories
  946. ---------------------------------------------------------------------------*/
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top