Advertisement
Guest User

ChromRP

a guest
Nov 27th, 2015
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 43.65 KB | None | 0 0
  1. /*---------------------------------------------------------------------------
  2.  
  3. DarkRP custom jobs
  4.  
  5. ---------------------------------------------------------------------------
  6.  
  7.  
  8.  
  9. This file contains your custom jobs.
  10.  
  11. This file should also contain jobs from DarkRP that you edited.
  12.  
  13.  
  14.  
  15. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  16.  
  17.     Once you've done that, copy and paste the job to this file and edit it.
  18.  
  19.  
  20. The default jobs can be found here:
  21.  
  22. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  23.  
  24.  
  25.  
  26. For examples and explanation please visit this wiki page:
  27.  
  28. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  29.  
  30.  
  31.  
  32.  
  33.  
  34. Add jobs under the following line:
  35.  
  36. ---------------------------------------------------------------------------*/      
  37.  
  38. local VIP_groups = {"vip",
  39.  
  40.                     "vip+,"
  41.  
  42.                     "moderator",
  43.  
  44.                     "admin",
  45.  
  46.                     "superadmin",
  47.  
  48.                     "Developer",
  49.                    
  50.                     "Owner"}
  51.  
  52.                    
  53.  
  54. TEAM_CITIZEN = DarkRP.createJob("Citizen", {
  55.  
  56.        color = Color(20, 150, 20, 255),
  57.  
  58.        model = {
  59.  
  60.                "models/player/Group01/Female_01.mdl",
  61.  
  62.                "models/player/Group01/Female_02.mdl",
  63.  
  64.                "models/player/Group01/Female_03.mdl",
  65.  
  66.                "models/player/Group01/Female_04.mdl",
  67.  
  68.                "models/player/Group01/Female_06.mdl",
  69.  
  70.                "models/player/Group01/Male_02.mdl",
  71.  
  72.                "models/player/Group01/male_03.mdl",
  73.  
  74.                "models/player/Group01/Male_04.mdl",
  75.  
  76.                "models/player/Group01/Male_05.mdl",
  77.  
  78.                "models/player/Group01/Male_06.mdl",
  79.  
  80.                "models/player/Group01/Male_07.mdl",
  81.  
  82.                "models/player/Group01/Male_08.mdl",
  83.  
  84.                "models/player/Group01/Male_09.mdl"
  85.  
  86.        },
  87.  
  88.        description = [[You're a citizen. Basically useless
  89.  
  90.         in all aspects of life. You should probably go another class.]],
  91.  
  92.         weapons = {"weapon_fists"},
  93.  
  94.         command = "citizen",
  95.  
  96.         max = 0,
  97.  
  98.         salary = 20,
  99.  
  100.         admin = 0,
  101.  
  102.         vote = false,
  103.  
  104.         hasLicense = false,
  105.  
  106.         candemote = true,
  107.  
  108.         mayorCanSetSalary = false,
  109.  
  110. })
  111.  
  112.  
  113.  
  114. TEAM_MEDIC = AddExtraTeam("Medic", {
  115.  
  116.         color = Color(47, 79, 79, 255),
  117.  
  118.         model = {"models/player/kleiner.mdl"},
  119.  
  120.         description = [[You're a doctor of the city, heal others for free or for a decent work wage.
  121.  
  122.         Left click with the Medical Kit to heal other players.
  123.  
  124.         Right click with the Medical Kit to heal yourself.]],
  125.  
  126.        weapons = {"med_kit", "weapon_fists"},
  127.  
  128.        command = "medic",
  129.  
  130.        max = 4,
  131.  
  132.        salary = 65,
  133.  
  134.        admin = 0,
  135.  
  136.        vote = false,
  137.  
  138.        hasLicense = false,
  139.  
  140.        medic = true,
  141.  
  142.        mayorCanSetSalary = false
  143.  
  144. })
  145.  
  146.  
  147.  
  148. TEAM_HOBO = AddExtraTeam("Hobo", {
  149.  
  150.        color = Color(80, 45, 0, 255),
  151.  
  152.        model = "models/player/corpse1.mdl",
  153.  
  154.        description = [[You are a hobo, annoy the living shit out of people and beg for money.]],
  155.  
  156.        weapons = {"weapon_bugbait","weapon_fists"},
  157.  
  158.        command = "hobo",
  159.  
  160.        max = 4,
  161.  
  162.        salary = 0,
  163.  
  164.        admin = 0,
  165.  
  166.        vote = false,
  167.  
  168.        hasLicense = false,
  169.  
  170.        candemote = true,
  171.  
  172.        hobo = true,
  173.  
  174.        mayorCanSetSalary = false
  175.  
  176. })
  177.  
  178.  
  179.  
  180. TEAM_CIVILPROTECTION = DarkRP.createJob("Civil Protection", {
  181.  
  182.        color = Color(25, 25, 170, 255),
  183.  
  184.        model = {"models/player/police.mdl", "models/player/police_fem.mdl"},
  185.  
  186.        description = [[The protector of every citizen that lives in the city .
  187.  
  188.                You have the power to arrest criminals and protect innocents.
  189.  
  190.                Hit them with your arrest baton to put them in jail
  191.  
  192.                Bash them with a stunstick and they might learn better than to disobey
  193.  
  194.                the law.
  195.  
  196.                The Battering Ram can break down the door of a criminal with a warrant
  197.  
  198.                for his/her arrest.
  199.  
  200.                The Battering Ram can also unfreeze frozen props(if enabled).
  201.  
  202.                Type /wanted <name> to alert the public to this criminal
  203.  
  204.                OR go to tab and warrant someone by clicking the warrant button]],
  205.  
  206.        weapons = {"weapon_fists", "unarrest_stick", "arrest_stick", "stunstick", "door_ram", "weaponchecker", "weapon_lordi_wep_glock"},
  207.  
  208.        command = "civilprotection",
  209.  
  210.        max = 4,
  211.  
  212.        salary = 90,
  213.  
  214.        admin = 0,
  215.  
  216.        vote = true,
  217.  
  218.        hasLicense = false,
  219.  
  220.        candemote = true,
  221.  
  222.        civilprotection = true,
  223.  
  224.        mayorCanSetSalary = false,
  225.  
  226.         PlayerSpawn = function(ply) ply:SetHealth("100") ply:SetArmor("25") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0) return CLIENT end,
  227.  
  228.        PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  229.  
  230. })
  231.  
  232.  
  233.  
  234. TEAM_CIVILPROTECTIONCHIEF = DarkRP.createJob("Civil Protection Chief", {
  235.  
  236.        color = Color(25, 25, 170, 255),
  237.  
  238.        model = "models/player/combine_soldier_prisonguard.mdl",
  239.  
  240.        description = [[The Chief is the leader of the Civil Protection unit.
  241.  
  242.                Coordinate the police force to enforce law in the city.
  243.  
  244.                Hit them with arrest baton to put them in jail.
  245.  
  246.                Bash them with a stunstick and they might learn better than to
  247.  
  248.                disobey the law.
  249.  
  250.                The Battering Ram can break down the door of a criminal with a
  251.  
  252.                warrant for his/her arrest.
  253.  
  254.                Type /wanted <name> to alert the public to this criminal]],
  255.  
  256.        weapons = {"weapon_fists", "unarrest_stick", "arrest_stick", "stunstick", "door_ram", "weaponchecker", "weapon_lordi_wep_deagle"},
  257.  
  258.        command = "civilprotectionchief",
  259.  
  260.        max = 1,
  261.  
  262.        salary = 90,
  263.  
  264.        admin = 0,
  265.  
  266.        vote = true,
  267.  
  268.        hasLicense = false,
  269.  
  270.        candemote = true,
  271.  
  272.        civilprotectionchief = true,
  273.  
  274.        mayorCanSetSalary = false,
  275.  
  276.         PlayerSpawn = function(ply) ply:SetHealth("100") ply:SetArmor("35") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0) return CLIENT end,
  277.  
  278.        PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  279.  
  280. })
  281.  
  282.  
  283.  
  284. TEAM_MAYOR = DarkRP.createJob("Mayor", {
  285.  
  286.        color = Color(150, 20, 20, 255),
  287.  
  288.        model = {"models/player/breen.mdl"},
  289.  
  290.        description = [[You are the oh so gloureus Mayor. Govern
  291.  
  292.        the city and atleast try not to get kidnapped. You are not
  293.  
  294.         aloud to make printers legal. And you cannot force players
  295.  
  296.         to do anything you want.
  297.  
  298.        Type /wanted <name>  to warrant a player
  299.  
  300.        Type /jailpos to set the Jail Position
  301.  
  302.        Type /lockdown initiate a lockdown of the city.
  303.  
  304.        Everyone must be inside during a lockdown.
  305.  
  306.        The cops patrol the area
  307.  
  308.        /unlockdown to end a lockdown]],
  309.  
  310.        weapons = {"weapon_fists", "unarrest_stick"},
  311.  
  312.        command = "mayor",
  313.  
  314.        max = 1,
  315.  
  316.        salary = 100,
  317.  
  318.        admin = 0,
  319.  
  320.        vote = true,
  321.  
  322.        hasLicense = false,
  323.  
  324.        candemote = true,
  325.  
  326.        mayor = true,
  327.  
  328.        mayorCanSetSalary = false,
  329.  
  330.         PlayerDeath = function(ply)
  331.  
  332.                if ply:Team() == TEAM_MAYOR then
  333.  
  334.                        ply:changeTeam( TEAM_CITIZEN, true )
  335.  
  336.                        for k,v in pairs( player.GetAll() ) do
  337.  
  338.                                DarkRP.notify(v, 1, 4, "The mayor has been killed!")
  339.  
  340.                        end
  341.  
  342.                end
  343.  
  344.        end,
  345.  
  346. })
  347.  
  348.  
  349.  
  350. TEAM_DETECTIVE = DarkRP.createJob("Crime Detective", {
  351.  
  352.        color = Color(204, 55, 55, 255),
  353.  
  354.        model = "models/player/gman_high.mdl",
  355.  
  356.        description = [[You are a crime detective for the police force.
  357.  
  358.         When someone is assasinated in the streets you must investigate
  359.  
  360.         and find the culprit.]],
  361.  
  362.        weapons = {"weapon_fists", "lockpick"},
  363.  
  364.        command = "detective",
  365.  
  366.        max = 1,
  367.  
  368.        salary = 90,
  369.  
  370.        admin = 0,
  371.  
  372.        vote = false,
  373.  
  374.        hasLicense = false,
  375.  
  376.        candemote = true,
  377.  
  378.        detective = true,
  379.  
  380.        mayorCanSetSalary = false,
  381.  
  382. })
  383.  
  384.  
  385.  
  386. TEAM_GUARD = DarkRP.createJob("Guard", {
  387.  
  388.        color = Color(104, 104, 104, 255),
  389.  
  390.        model = {"models/player/odessa.mdl"},
  391.  
  392.        description = [[You are a guard, protect other people for money. This includes gun dealers,
  393.  
  394.         the mayor, or even thieves.]],
  395.  
  396.        weapons = {"weapon_fists", "m9k_usp"},
  397.  
  398.        command = "guard",
  399.  
  400.        max = 3,
  401.  
  402.        salary = 65,
  403.  
  404.        admin = 0,
  405.  
  406.        vote = true,
  407.  
  408.        hasLicense = false,
  409.  
  410.        candemote = true,
  411.  
  412.        guard = true,
  413.  
  414.        mayorCanSetSalary = false,
  415.  
  416. })
  417.  
  418.  
  419.  
  420. TEAM_PROSTITUTE = DarkRP.createJob("Prostitute", {
  421.  
  422.        color = Color(255, 153, 255, 255),
  423.  
  424.        model = "models/player/alyx.mdl",
  425.  
  426.         description = [[You are a prostitute. In order to afford more crack, you have to sell yourself to men, have fun.]],
  427.  
  428.        weapons = {"weapon_fists"},
  429.  
  430.        command = "prostitute",
  431.  
  432.        max = 3,
  433.  
  434.        salary = 50,
  435.  
  436.        admin = 0,
  437.  
  438.        vote = false,
  439.  
  440.        hasLicense = false,
  441.  
  442.        candemote = true,
  443.  
  444.        prostitute = true,
  445.  
  446.        mayorCanSetSalary = false,
  447.  
  448. })
  449.  
  450.  
  451.  
  452. TEAM_THIEF = DarkRP.createJob("Thief", {
  453.  
  454.        color = Color(168, 168, 168, 255),
  455.  
  456.        model = "models/player/arctic.mdl",
  457.  
  458.        description = [[You are a thief, you are aloud to raid as long as you advert /raid in chat.
  459.  
  460.         However, you are NOT aloud to mug, only gangsters are aloud to mug. NLR time is 4 MINUTES,
  461.  
  462.         if you disobey the NLR time the punishment will be severe. Fuckin hate that shit motha fucka.
  463.  
  464.         ]],
  465.  
  466.        weapons = {"weapon_fists", "lockpick", "keypad_cracker"},
  467.  
  468.        command = "thief",
  469.  
  470.        max = 4,
  471.  
  472.        salary = 45,
  473.  
  474.        admin = 0,
  475.  
  476.        vote = false,
  477.  
  478.        hasLicense = false,
  479.  
  480.        candemote = true,
  481.  
  482.        thief = true,
  483.  
  484.        mayorCanSetSalary = false,
  485.  
  486. })
  487.  
  488.  
  489.  
  490. TEAM_GUNDEALER = DarkRP.createJob("Gun Dealer", {
  491.  
  492.        color = Color(255, 153, 51, 255),
  493.  
  494.        model = "models/player/monk.mdl",
  495.  
  496.        description = [[You sell weapons to people. Basically, kind of a big deal. You are allowed to self supply
  497.  
  498.         to a small degree. You MUST sell guns to other people, not just to thieves. Raid = no]],
  499.  
  500.        weapons = {"weapon_fists"},
  501.  
  502.        command = "gundealer",
  503.  
  504.        max = 3,
  505.  
  506.        salary = 60,
  507.  
  508.        admin = 0,
  509.  
  510.        vote = false,
  511.  
  512.        hasLicense = false,
  513.  
  514.        mayorCanSetSalary = false,
  515.  
  516. })
  517.  
  518.  
  519.  
  520. TEAM_BLACKMARKET = DarkRP.createJob("Black Market Dealer", {
  521.  
  522.        color = Color(102, 38, 0, 255),
  523.  
  524.        model = "models/player/eli.mdl",
  525.  
  526.        description = [[Just because it says you're black doesn't mean you're
  527.  
  528.         black. Sell illigel items to players, just don't get caught.]],
  529.  
  530.        weapons = {"weapon_fists"},
  531.  
  532.        command = "blackmarketdealer",
  533.  
  534.        max = 2,
  535.  
  536.        salary = 55,
  537.  
  538.        admin = 0,
  539.  
  540.        vote = false,
  541.  
  542.        hasLicense = false,
  543.  
  544.        candemote = true,
  545.  
  546.        blackmarketdealer = true,
  547.  
  548.        mayorCanSetSalary = false,
  549.  
  550. })
  551.  
  552.  
  553.  
  554. TEAM_CRIPGANGSTER = DarkRP.createJob("Crip Gangster", {
  555.  
  556.        color = Color(75, 75, 75, 255),
  557.  
  558.        model = {"models/player/group03/female_01.mdl",
  559.  
  560. "models/player/group03/female_02.mdl",
  561.  
  562. "models/player/group03/female_03.mdl",
  563.  
  564. "models/player/group03/female_04.mdl",
  565.  
  566. "models/player/group03/female_05.mdl",
  567.  
  568. "models/player/group03/female_06.mdl",
  569.  
  570. "models/player/group03/male_01.mdl",
  571.  
  572. "models/player/group03/male_02.mdl",
  573.  
  574. "models/player/group03/male_03.mdl",
  575.  
  576. "models/player/group03/male_04.mdl",
  577.  
  578. "models/player/group03/male_05.mdl",
  579.  
  580. "models/player/group03/male_06.mdl",
  581.  
  582. "models/player/group03/male_07.mdl",
  583.  
  584. "models/player/group03/male_08.mdl",
  585.  
  586. "models/player/group03/male_09.mdl"},
  587.  
  588.        description = [[You are a crip, you cannot team up with bloods, they are your rivals.
  589.  
  590.         You may only raid and mug in groups of 3+. You must advert mug in chat to mug someone.]],
  591.  
  592.        weapons = {"weapon_fists"},
  593.  
  594.        command = "cripgangster",
  595.  
  596.        max = 4,
  597.  
  598.        salary = 45,
  599.  
  600.        admin = 0,
  601.  
  602.        vote = false,
  603.  
  604.        hasLicense = false,
  605.  
  606.        mayorCanSetSalary = false,
  607.  
  608. })
  609.  
  610.  
  611.  
  612.  
  613.  
  614. TEAM_BLOODGANGSTER = DarkRP.createJob("Blood Gangster", {
  615.  
  616.        color = Color(75, 75, 75, 255),
  617.  
  618.        model = {"models/player/group03/female_01.mdl",
  619.  
  620. "models/player/group03/female_02.mdl",
  621.  
  622. "models/player/group03/female_03.mdl",
  623.  
  624. "models/player/group03/female_04.mdl",
  625.  
  626. "models/player/group03/female_05.mdl",
  627.  
  628. "models/player/group03/female_06.mdl",
  629.  
  630. "models/player/group03/male_01.mdl",
  631.  
  632. "models/player/group03/male_02.mdl",
  633.  
  634. "models/player/group03/male_03.mdl",
  635.  
  636. "models/player/group03/male_04.mdl",
  637.  
  638. "models/player/group03/male_05.mdl",
  639.  
  640. "models/player/group03/male_06.mdl",
  641.  
  642. "models/player/group03/male_07.mdl",
  643.  
  644. "models/player/group03/male_08.mdl",
  645.  
  646. "models/player/group03/male_09.mdl"},
  647.  
  648.        description = [[You are a blood gangster, the crips are your arch rivals so don't treat them nicely.
  649.  
  650.         You may only raid and mug in groups of 3+. You must advert mug in chat to mug someone.]],
  651.  
  652.         weapons = {"weapon_fists"},
  653.  
  654.         command = "bloodgangster",
  655.  
  656.         max = 4,
  657.  
  658.         salary = 45,
  659.  
  660.         admin = 0,
  661.  
  662.         vote = false,
  663.  
  664.         hasLicense = false,
  665.  
  666.         mayorCanSetSalary = false,
  667.  
  668. })
  669.  
  670.  
  671.  
  672. TEAM_BLOODLEADER = DarkRP.createJob("Blood Leader", {
  673.  
  674.         color = Color(25, 25, 25, 255),
  675.  
  676.         model = "models/player/gman_high.mdl",
  677.  
  678.         description = [[You are the all mighty leader of the bloods, you
  679.  
  680.         are not aloud to team up with crips.]],
  681.  
  682.         weapons = {"weapon_fists", "lockpick", "unarrest_stick"},
  683.  
  684.         command = "bloodleader",
  685.  
  686.         max = 1,
  687.  
  688.         salary = 90,
  689.  
  690.         admin = 0,
  691.  
  692.         vote = false,
  693.  
  694.         hasLicense = false,
  695.  
  696.         candemote = true,
  697.  
  698.         bloodleader = true,
  699.  
  700.         mayorCanSetSalary = false,
  701.  
  702. })
  703.  
  704.  
  705.  
  706. TEAM_CRIPLEADER = DarkRP.createJob("Crip Leader", {
  707.  
  708.         color = Color(25, 25, 25, 255),
  709.  
  710.         model = "models/player/gman_high.mdl",
  711.  
  712.         description = [[You are the supreme commander of the crips, give
  713.  
  714.         orders to other crips, they must obey your commands. You are not
  715.  
  716.         aloud to team up with bloods.]],
  717.  
  718.         weapons = {"weapon_fists", "lockpick", "unarrest_stick"},
  719.  
  720.         command = "cripleader",
  721.  
  722.         max = 1,
  723.  
  724.         salary = 90,
  725.  
  726.         admin = 0,
  727.  
  728.         vote = false,
  729.  
  730.         hasLicense = false,
  731.  
  732.         candemote = true,
  733.  
  734.         cripleader = true,
  735.  
  736.         mayorCanSetSalary = false,
  737.  
  738. })
  739.  
  740.  
  741.  
  742. TEAM_SWAT = DarkRP.createJob("SWAT", {
  743.  
  744.         color = Color(51, 255, 153, 255),
  745.  
  746.         model = "models/player/swat.mdl",
  747.  
  748.         description = [[You are a SWAT member. only you can prevent
  749.  
  750.         massive attacks on the city with lethal force, the mayor
  751.  
  752.         is above you in law. You are not aloud to issue random
  753.  
  754.         warrants into others bases.]],
  755.  
  756.         weapons = {"weapon_fists", "unarrest_stick", "arrest_stick", "stunstick", "door_ram", "weaponchecker", "weapon_lordi_wep_m4a1", "weapon_lordi_wep_p228"},
  757.  
  758.         command = "swat",
  759.  
  760.         max = 3,
  761.  
  762.         salary = 75,
  763.  
  764.         admin = 0,
  765.  
  766.         vote = true,
  767.  
  768.         hasLicense = false,
  769.  
  770.         candemote = true,
  771.  
  772.         swat = true,
  773.  
  774.         mayorCanSetSalary = false,
  775.  
  776.         PlayerSpawn = function(ply) ply:SetHealth("100") ply:SetArmor("50") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0) return CLIENT end,
  777.  
  778.         PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  779.  
  780. })
  781.  
  782.  
  783.  
  784. TEAM_DRUGDEALER = DarkRP.createJob("Drug Dealer", {
  785.  
  786.         color = Color(153, 153, 153, 255),
  787.  
  788.         model = "models/player/group01/male_01.mdl",
  789.  
  790.         description = [[Man dawg you da player in dis
  791.  
  792.         here city, mang sell drugs to homies for a decent pay yo. raid = no
  793.  
  794.         mug = no. If caught selling drugs, cops may arrest you.]],
  795.  
  796.         weapons = {"weapon_fists"},
  797.  
  798.         command = "drugdealer",
  799.  
  800.         max = 3,
  801.  
  802.         salary = 55,
  803.  
  804.         admin = 0,
  805.  
  806.         vote = false,
  807.  
  808.         hasLicense = false,
  809.  
  810.         candemote = true,
  811.  
  812.         drugdealer = true,
  813.  
  814.         mayorCanSetSalary = false,
  815.  
  816. })
  817.  
  818.  
  819.  
  820. TEAM_SWATLEADER = DarkRP.createJob("SWAT Leader", {
  821.  
  822.         color = Color(51, 255, 153, 255),
  823.  
  824.         model = "models/player/urban.mdl",
  825.  
  826.         description = [[You're the leader of the SWAT units,
  827.  
  828.        command your unit to achieve victory. The mayor is your
  829.  
  830.         right hand mand. You must have a valid reason to warrant
  831.  
  832.         somebody.]],
  833.  
  834.        weapons = {"weapon_fists", "unarrest_stick", "arrest_stick", "stunstick", "door_ram", "weaponchecker", "weapon_lordi_wep_galil", "weapon_lordi_wep_deagle"},
  835.  
  836.        command = "swatleader",
  837.  
  838.        max = 1,
  839.  
  840.        salary = 100,
  841.  
  842.        admin = 0,
  843.  
  844.        vote = true,
  845.  
  846.        hasLicense = false,
  847.  
  848.        candemote = true,
  849.  
  850.        swatleader = true,
  851.  
  852.        mayorCanSetSalary = false,
  853.  
  854.         PlayerSpawn = function(ply) ply:SetHealth("100") ply:SetArmor("65") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0) return CLIENT end,
  855.  
  856.        PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  857.  
  858. })
  859.  
  860.  
  861.  
  862. TEAM_SECRETSERVICE = DarkRP.createJob("Secret Service", {
  863.  
  864.        color = Color(12, 144, 192, 255),
  865.  
  866.        model = "models/player/barney.mdl",
  867.  
  868.        description = [[Protect the mayor from thiefs, gangsters, and terrorists.
  869.  
  870.        It's your soul purpose to guard him at ALL times. You also have the
  871.  
  872.         option to work for money or for free.]],
  873.  
  874.         weapons = {"weapon_fists", "weapon_lordi_wep_mp5", "weapon_lordi_wep_usp"},
  875.  
  876.         command = "secretservice",
  877.  
  878.         max = 2,
  879.  
  880.         salary = 85,
  881.  
  882.         admin = 0,
  883.  
  884.         vote = true,
  885.  
  886.         hasLicense = false,
  887.  
  888.         candemote = true,
  889.  
  890.         secretservice = true,
  891.  
  892.         mayorCanSetSalary = false,
  893.  
  894. })
  895.  
  896.  
  897.  
  898. TEAM_HITMAN = DarkRP.createJob("Hitman", {
  899.  
  900.         color = Color(245, 0, 61, 255),
  901.  
  902.         model = "models/player/guerilla.mdl",
  903.  
  904.         description = [[Simple, you kill people for money.
  905.  
  906.         The average hit has to be atleast 4000, and if a cp
  907.  
  908.         see's you kill someone, he has the option to arrest you.]],
  909.  
  910.        weapons = {"weapon_fists", "weapon_lordi_wep_usp"},
  911.  
  912.        command = "hitman",
  913.  
  914.        max = 2,
  915.  
  916.        salary = 60,
  917.  
  918.        admin = 0,
  919.  
  920.        vote = true,
  921.  
  922.        hasLicense = false,
  923.  
  924.        candemote = true,
  925.  
  926.        hitman = true,
  927.  
  928.        mayorCanSetSalary = false,
  929.  
  930. })
  931.  
  932.  
  933.  
  934. TEAM_BOXER = DarkRP.createJob("Boxer", {
  935.  
  936.        color = Color(219, 255, 112, 255),
  937.  
  938.        model = {"models/player/group01/male_01.mdl",
  939.  
  940. "models/player/group01/male_02.mdl",
  941.  
  942. "models/player/group01/male_03.mdl",
  943.  
  944. "models/player/group01/male_04.mdl",
  945.  
  946. "models/player/group01/male_05.mdl",
  947.  
  948. "models/player/group01/male_06.mdl",
  949.  
  950. "models/player/group01/male_07.mdl",
  951.  
  952. "models/player/group01/male_08.mdl",
  953.  
  954. "models/player/group01/male_09.mdl"},
  955.  
  956.        description = [[In this corner, a skrawny average looking
  957.  
  958.         joe ready to give a can of whoop ass! Fight in the ring
  959.  
  960.         for the ultimate title bout, and maybe even get to
  961.  
  962.         fight with the devil himself, Mike Tyson!]],
  963.  
  964.        weapons = {"weapon_fists"},
  965.  
  966.        command = "BOXER",
  967.  
  968.        max = 10,
  969.  
  970.        salary = 200,
  971.  
  972.        admin = 0,
  973.  
  974.        vote = false,
  975.  
  976.        hasLicense = false,
  977.  
  978.        candemote = true,
  979.  
  980.        boxer = true,
  981.  
  982.        mayorCanSetSalary = false,
  983.  
  984. })
  985.  
  986.  
  987.  
  988. TEAM_TERRORIST = DarkRP.createJob("Terrorist", {
  989.  
  990.        color = Color(255, 153, 0, 255),
  991.  
  992.        model = "models/player/phoenix.mdl",
  993.  
  994.        description = [[You are a terrorist, you can Kidnap the mayor
  995.  
  996.        and raid the pd every 30 minutes! raids must be adverted and
  997.  
  998.         must have a reason.]],
  999.  
  1000.        weapons = {"weapon_fists", "m9k_deagle"},
  1001.  
  1002.        command = "terrorist",
  1003.  
  1004.        max = 3,
  1005.  
  1006.        salary = 200,
  1007.  
  1008.        admin = 0,
  1009.  
  1010.        vote = true,
  1011.  
  1012.        hasLicense = false,
  1013.  
  1014.        candemote = true,
  1015.  
  1016.         terrorist = true,
  1017.  
  1018.        mayorCanSetSalary = false,
  1019.  
  1020. })
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026. /////// VIP JOBS /////////
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032. TEAM_ADMINONDUTY = DarkRP.createJob("Admin On Duty", {
  1033.  
  1034.        color = Color(255, 0, 0, 255),
  1035.  
  1036.         VIPOnly = true,
  1037.  
  1038.        model = {"models/player/combine_super_soldier.mdl"},
  1039.  
  1040.        description = [[Admin On Duty]],
  1041.  
  1042.        weapons = {"weapon_fists", "med_kit"},
  1043.  
  1044.        command = "adminonduty",
  1045.  
  1046.        max = 4,
  1047.  
  1048.        salary = 1000,
  1049.  
  1050.        admin = 1,
  1051.  
  1052.        vote = false,
  1053.  
  1054.        hasLicense = false,
  1055.  
  1056.        candemote = true,
  1057.  
  1058.        mayorCanSetSalary = false,
  1059.  
  1060.         customCheck = function(ply)
  1061.  
  1062.                         for k,v in pairs(VIP_groups) do
  1063.  
  1064.                             if ply:GetNWString("usergroup") == v and v != "admin" then
  1065.  
  1066.                                 return true
  1067.  
  1068.                             end
  1069.  
  1070.                         end
  1071.  
  1072.                         return false
  1073.  
  1074.                       end,
  1075.  
  1076.        CustomCheckFailMsg = "You have to be an admin to be Admin on Duty.",
  1077.  
  1078. })
  1079.  
  1080.  
  1081.  
  1082. TEAM_HOBOKING = DarkRP.createJob("Hobo King", {
  1083.  
  1084.        color = Color(51, 1, 1, 255),
  1085.  
  1086.         VIPOnly = true,
  1087.  
  1088.        model = {"models/player/charple.mdl"},
  1089.  
  1090.        description = [[You are the Hobo Lord. Nobody knows
  1091.  
  1092.                how you became the king, the only thing that matters is that you
  1093.  
  1094.                have a knife. mug = no, raid = no. You are not aloud to spam
  1095.  
  1096.                 bugbait even though you're the king, and you must use the
  1097.  
  1098.                 knife only in self defense.]],
  1099.  
  1100.         weapons = {"weapon_fists", "weapon_lordi_wep_knife","weapon_bugbait"},
  1101.  
  1102.         command = "hoboking",
  1103.  
  1104.         max = 1,
  1105.  
  1106.         salary = 2,
  1107.  
  1108.         admin = 0,
  1109.  
  1110.         vote = false,
  1111.  
  1112.         hasLicense = false,
  1113.  
  1114.         candemote = true,
  1115.  
  1116.         hoboking = true,
  1117.  
  1118.         mayorCanSetSalary = false,
  1119.  
  1120.         customCheck = function(ply)
  1121.  
  1122.                         for k,v in pairs(VIP_groups) do
  1123.  
  1124.                             if ply:GetNWString("usergroup") == v then
  1125.  
  1126.                                 return true
  1127.  
  1128.                             end
  1129.  
  1130.                         end
  1131.  
  1132.                         return false
  1133.  
  1134.                       end,
  1135.  
  1136.         CustomCheckFailMsg = "You have to be VIP to be this job",
  1137.  
  1138. })
  1139.  
  1140.  
  1141.  
  1142. TEAM_TOWNDRUNK = DarkRP.createJob("Town Drunk", {
  1143.  
  1144.         color = Color(240, 140, 103, 255),
  1145.  
  1146.         VIPOnly = true,
  1147.  
  1148.         model = "models/player/Group01/male_03.mdl",
  1149.  
  1150.         description = [[Drink beer 24/7 and annoy the crap out of people.
  1151.  
  1152.         raid = no, mug = no.]],
  1153.  
  1154.         weapons = {"weapon_fists", "m9k_usp"},
  1155.  
  1156.         command = "towndrunk",
  1157.  
  1158.         max = 2,
  1159.  
  1160.         salary = 400,
  1161.  
  1162.         admin = 0,
  1163.  
  1164.         vote = false,
  1165.  
  1166.         hasLicense = false,
  1167.  
  1168.         candemote = true,
  1169.  
  1170.         towndrunk = true,
  1171.  
  1172.         mayorCanSetSalary = false,
  1173.  
  1174.         customCheck = function(ply)
  1175.  
  1176.                         for k,v in pairs(VIP_groups) do
  1177.  
  1178.                             if ply:GetNWString("usergroup") == v then
  1179.  
  1180.                                 return true
  1181.  
  1182.                             end
  1183.  
  1184.                         end
  1185.  
  1186.                         return false
  1187.  
  1188.                       end,
  1189.  
  1190.         CustomCheckFailMsg = "You have to be VIP to be this job",
  1191.  
  1192. })
  1193.  
  1194.  
  1195.  
  1196. TEAM_HEISENBERG = DarkRP.createJob("Heisenberg", {
  1197.  
  1198.         color = Color(200, 200, 200, 255),
  1199.  
  1200.         VIPOnly = true,
  1201.  
  1202.         model = "models/player/breen.mdl",
  1203.  
  1204.         description = [[All hail the great Heisenberg, you deal
  1205.  
  1206.         meth as a famous drug dealer. You are aloud to raid/mug people
  1207.  
  1208.         every 20 minutes. However, if seen dealing any illegel drugs, you
  1209.  
  1210.         are a arrest on site.]],
  1211.  
  1212.         weapons = {"weapon_fists", "weapon_lordi_wep_m249", "unarrest_stick"},
  1213.  
  1214.         command = "heisenberg",
  1215.  
  1216.         max = 1,
  1217.  
  1218.         salary = 750,
  1219.  
  1220.         admin = 0,
  1221.  
  1222.         vote = false,
  1223.  
  1224.         hasLicense = false,
  1225.  
  1226.         candemote = true,
  1227.  
  1228.         heisenberg = true,
  1229.  
  1230.         mayorCanSetSalary = false,
  1231.  
  1232.         customCheck = function(ply)
  1233.  
  1234.                         for k,v in pairs(VIP_groups) doa
  1235.  
  1236.                             if ply:GetNWString("usergroup") == v then
  1237.  
  1238.                                 return true
  1239.  
  1240.                             end
  1241.  
  1242.                         end
  1243.  
  1244.                         return false
  1245.  
  1246.                       end,
  1247.  
  1248.         CustomCheckFailMsg = "You have to be VIP to be this job",
  1249.  
  1250.         PlayerSpawn = function(ply) ply:SetHealth("100") ply:SetArmor("100") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0) return CLIENT end,
  1251.  
  1252.         PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  1253.  
  1254. })
  1255.  
  1256.  
  1257.  
  1258. TEAM_MYSTERYTHIEF = DarkRP.createJob("Mystery Thief", {
  1259.  
  1260.         color = Color(3, 21, 48, 255),
  1261.  
  1262.         VIPOnly = true,
  1263.  
  1264.         model = "models/player/leet.mdl",
  1265.  
  1266.         description = [[You are a mystery among most men, the only thing
  1267.  
  1268.         people know about you is that you have the basic rules of that
  1269.  
  1270.         of a normal thief, except you have way better weapons.]],
  1271.  
  1272.         weapons = {"weapon_fists", "pro_lockpick_update", "weapon_lordi_wep_galil", "weapon_lordi_wep_deagle", "lockpick", "pro_keypad_cracker"},
  1273.  
  1274.         command = "mysterythief",
  1275.  
  1276.         max = 4,
  1277.  
  1278.         salary = 1000,
  1279.  
  1280.         admin = 0,
  1281.  
  1282.         vote = false,
  1283.  
  1284.         hasLicense = false,
  1285.  
  1286.         candemote = true,
  1287.  
  1288.         mysterythief = true,
  1289.  
  1290.         mayorCanSetSalary = false,
  1291.  
  1292.         customCheck = function(ply)
  1293.  
  1294.                         for k,v in pairs(VIP_groups) do
  1295.  
  1296.                             if ply:GetNWString("usergroup") == v then
  1297.  
  1298.                                 return true
  1299.  
  1300.                             end
  1301.  
  1302.                         end
  1303.  
  1304.                         return false
  1305.  
  1306.                       end,
  1307.  
  1308.         CustomCheckFailMsg = "You have to be VIP to be this job",
  1309.  
  1310.         PlayerSpawn = function(ply) ply:SetHealth("100") ply:SetArmor("100") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0) return CLIENT end,
  1311.  
  1312.         PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  1313.  
  1314. })
  1315.  
  1316.  
  1317.  
  1318. TEAM_PREMIUMGUNDEALER = DarkRP.createJob("Experienced Practitioner of Weaponry", {
  1319.  
  1320.         color = Color(0, 255, 255, 255),
  1321.  
  1322.         VIPOnly = true,
  1323.  
  1324.         model = "models/player/monk.mdl",
  1325.  
  1326.         description = [[The best of the best, being a experienced practionar of weaponary
  1327.  
  1328.         you come from a russian family... You are deadly as a god.]],
  1329.  
  1330.         weapons = {"weapon_fists", "weapon_lordi_wep_knife", "weapon_lordi_wep_mac10", "weapon_lordi_wep_m4a1"},
  1331.  
  1332.         command = "premiumgundealer",
  1333.  
  1334.         max = 3,
  1335.  
  1336.         salary = 5000,
  1337.  
  1338.         admin = 0,
  1339.  
  1340.         vote = false,
  1341.  
  1342.         hasLicense = false,
  1343.  
  1344.         candemote = true,
  1345.  
  1346.         premiumgundealer = true,
  1347.  
  1348.         mayorCanSetSalary = false,
  1349.  
  1350.         customCheck = function(ply)
  1351.  
  1352.                         for k,v in pairs(VIP_groups) do
  1353.  
  1354.                             if ply:GetNWString("usergroup") == v then
  1355.  
  1356.                                 return true
  1357.  
  1358.                             end
  1359.  
  1360.                         end
  1361.  
  1362.                         return false
  1363.  
  1364.                       end,
  1365.  
  1366.         CustomCheckFailMsg = "You have to be VIP to be this job",
  1367.  
  1368.         PlayerSpawn = function(ply) ply:SetHealth("100") ply:SetArmor("100") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0) return CLIENT end,
  1369.  
  1370.         PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  1371.  
  1372. })
  1373.  
  1374.  
  1375.  
  1376. TEAM_NAVYSEAL = DarkRP.createJob("Navy Seal", {
  1377.  
  1378.         color = Color(255, 134, 72, 255),
  1379.  
  1380.         VIPOnly = true,
  1381.  
  1382.         model = "models/player/combine_soldier.mdl",
  1383.  
  1384.         description = [[What the fuck did you just fucking say about
  1385.  
  1386.                 me, you little bitch? I’ll have you know I graduated top of
  1387.  
  1388.                 my class in the Navy Seals, and I’ve been involved in numerous
  1389.  
  1390.                 secret raids on Al-Quaeda, and I have over 300 confirmed kills.
  1391.  
  1392.                 I am trained in gorilla warfare and I’m the top sniper in the
  1393.  
  1394.                 entire US armed forces. You are nothing to me but just another
  1395.  
  1396.                  target. I will wipe you the fuck out with precision the likes
  1397.  
  1398.                 of which has never been seen before on this Earth, mark my
  1399.  
  1400.                 fucking words, kiddo.]],
  1401.  
  1402.         weapons = {"weapon_fists", "weapon_lordi_wep_usp", "med_kit", "weapon_lordi_wep_deagle", "weapon_lordi_wep_mp5", "weapon_lordi_wep_m4a1", "weapon_lordi_wep_aug"},
  1403.  
  1404.         command = "navyseal",
  1405.  
  1406.         max = 2,
  1407.  
  1408.         salary = 850,
  1409.  
  1410.         admin = 0,
  1411.  
  1412.         vote = false,
  1413.  
  1414.         hasLicense = false,
  1415.  
  1416.         candemote = true,
  1417.  
  1418.         navyseal = true,
  1419.  
  1420.         mayorCanSetSalary = false,
  1421.  
  1422.         customCheck = function(ply)
  1423.  
  1424.                         for k,v in pairs(VIP_groups) do
  1425.  
  1426.                             if ply:GetNWString("usergroup") == v then
  1427.  
  1428.                                 return true
  1429.  
  1430.                             end
  1431.  
  1432.                         end
  1433.  
  1434.                         return false
  1435.  
  1436.                       end,
  1437.  
  1438.         CustomCheckFailMsg = "You have to be VIP to be this job",
  1439.  
  1440.         PlayerSpawn = function(ply) ply:SetHealth("100") ply:SetArmor("100") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0) return CLIENT end,
  1441.  
  1442.         PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  1443.  
  1444. })
  1445.  
  1446.  
  1447.  
  1448. TEAM_PROHITMAN = DarkRP.createJob("Professional Hitman", {
  1449.  
  1450.         color = Color(184, 0, 46, 255),
  1451.  
  1452.         VIPOnly = true,
  1453.  
  1454.         model = "models/player/guerilla.mdl",
  1455.  
  1456.         description = [[You are feared throughout the entire city,
  1457.  
  1458.         it's your soul duty to kill, and to Only kill.]],
  1459.  
  1460.        weapons = {"weapon_fists", "lockpick", "weapon_lordi_wep_deagle", "weapon_lordi_wep_awp"},
  1461.  
  1462.        command = "professionalhitman",
  1463.  
  1464.        max = 3,
  1465.  
  1466.        salary = 2000,
  1467.  
  1468.        admin = 0,
  1469.  
  1470.        vote = false,
  1471.  
  1472.        hasLicense = false,
  1473.  
  1474.        candemote = true,
  1475.  
  1476.         professionalhitman = true,
  1477.  
  1478.        mayorCanSetSalary = false,
  1479.  
  1480.         customCheck = function(ply)
  1481.  
  1482.                         for k,v in pairs(VIP_groups) do
  1483.  
  1484.                             if ply:GetNWString("usergroup") == v then
  1485.  
  1486.                                 return true
  1487.  
  1488.                             end
  1489.  
  1490.                         end
  1491.  
  1492.                         return false
  1493.  
  1494.                       end,
  1495.  
  1496.        CustomCheckFailMsg = "You have to be VIP to be this job",
  1497.  
  1498.         PlayerSpawn = function(ply) ply:SetHealth("100") ply:SetArmor("100") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0) return CLIENT end,
  1499.  
  1500.        PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  1501.  
  1502. })
  1503.  
  1504.  
  1505.  
  1506. TEAM_SEWERDEMON = DarkRP.createJob("Sewer Demon", {
  1507.  
  1508.        color = Color(138, 0, 180, 255),
  1509.  
  1510.         VIPOnly = true,
  1511.  
  1512.        model = "models/player/zombie_fast.mdl",
  1513.  
  1514.         "models/player/zombie_classic.mdl",
  1515.  
  1516.         "models/player/zombie_soldier.mdl",
  1517.  
  1518.        description = [[You are a creature who can only live
  1519.  
  1520.         in the sewers. Once spawned on land, you have 30 seconds to make
  1521.  
  1522.         it back to the sewers or you are KOS ON LAND. People may not kill
  1523.  
  1524.         you when you're in the sewers. However, if you attack them
  1525.  
  1526.         with your crowbar, they have the right to shoot you.]],
  1527.  
  1528.         weapons = {"weapon_crowbar"},
  1529.  
  1530.         command = "sewerdemon",
  1531.  
  1532.         max = 4,
  1533.  
  1534.         salary = 700,
  1535.  
  1536.         admin = 0,
  1537.  
  1538.         vote = false,
  1539.  
  1540.         hasLicense = false,
  1541.  
  1542.         candemote = true,
  1543.  
  1544.         sewerdemon = true,
  1545.  
  1546.         mayorCanSetSalary = false,
  1547.  
  1548.         customCheck = function(ply)
  1549.  
  1550.                         for k,v in pairs(VIP_groups) do
  1551.  
  1552.                             if ply:GetNWString("usergroup") == v then
  1553.  
  1554.                                 return true
  1555.  
  1556.                             end
  1557.  
  1558.                         end
  1559.  
  1560.                         return false
  1561.  
  1562.                       end,
  1563.  
  1564.         CustomCheckFailMsg = "You have to be VIP to be this job",
  1565.  
  1566.         PlayerSpawn = function(ply) ply:SetHealth("150") ply:SetArmor("0") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.4, GAMEMODE.Config.runspeed * 1.4) return CLIENT end,
  1567.  
  1568.         PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  1569.  
  1570. })
  1571.  
  1572.  
  1573.  
  1574. TEAM_NINJA = DarkRP.createJob("Ninja", {
  1575.  
  1576.         color = Color(153, 255, 253, 255),
  1577.  
  1578.         VIPOnly = true,
  1579.  
  1580.         model = "models/player/phoenix.mdl",
  1581.  
  1582.         description = [[You are a ninja, be stealthy and sneak
  1583.  
  1584.                 upon your enemies, good luck. You are aloud to assasinate
  1585.  
  1586.                 people, but only every 30 minutes, you must assasinate them
  1587.  
  1588.                 with your knife, not a gun. If caught, a cop may be
  1589.  
  1590.                 liable to arrest you. Assanations must be adverted.]],
  1591.  
  1592.         weapons = {"weapon_fists", "weapon_lordi_wep_knife", "climb_swep2"},
  1593.  
  1594.         command = "ninja",
  1595.  
  1596.         max = 3,
  1597.  
  1598.         salary = 600,
  1599.  
  1600.         admin = 0,
  1601.  
  1602.         vote = false,
  1603.  
  1604.         hasLicense = false,
  1605.  
  1606.         candemote = true,
  1607.  
  1608.         ninja = true,
  1609.  
  1610.         mayorCanSetSalary = false,
  1611.  
  1612.         customCheck = function(ply)
  1613.  
  1614.                         for k,v in pairs(VIP_groups) do
  1615.  
  1616.                             if ply:GetNWString("usergroup") == v then
  1617.  
  1618.                                 return true
  1619.  
  1620.                             end
  1621.  
  1622.                         end
  1623.  
  1624.                         return false
  1625.  
  1626.                       end,
  1627.  
  1628.         CustomCheckFailMsg = "You have to be VIP to be this job",
  1629.  
  1630.         PlayerSpawn = function(ply) ply:SetHealth("100") ply:SetArmor("100") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0) return CLIENT end,
  1631.  
  1632.         PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  1633.  
  1634. })
  1635.  
  1636.  
  1637.  
  1638. TEAM_SUPERHERO = DarkRP.createJob("Superhero", {
  1639.  
  1640.         color = Color(153, 220, 255, 255),
  1641.  
  1642.         VIPOnly = true,
  1643.  
  1644.         model = "models/player/combine_super_soldier.mdl",
  1645.  
  1646.         description = [[As a superhero, you help people, fight crime,
  1647.  
  1648.                 and above all, save the day! WITH A FUCKING MACHINE GUN BABY!
  1649.  
  1650.                 However, you must have a secret
  1651.  
  1652.                 identity. You are not aloud to mug or raid people, the mayor
  1653.  
  1654.                 is your best freind.]],
  1655.  
  1656.         weapons = {"weapon_fists", "climb_swep2", "weapon_lordi_wep_m249", "weapon_lordi_wep_elite", "realistic_hook"},
  1657.  
  1658.         command = "superhero",
  1659.  
  1660.         max = 1,
  1661.  
  1662.         salary = 600,
  1663.  
  1664.         admin = 0,
  1665.  
  1666.         vote = false,
  1667.  
  1668.         hasLicense = false,
  1669.  
  1670.         candemote = true,
  1671.  
  1672.         superhero = true,
  1673.  
  1674.         mayorCanSetSalary = false,
  1675.  
  1676.         customCheck = function(ply)
  1677.  
  1678.                         for k,v in pairs(VIP_groups) do
  1679.  
  1680.                             if ply:GetNWString("usergroup") == v then
  1681.  
  1682.                                 return true
  1683.  
  1684.                             end
  1685.  
  1686.                         end
  1687.  
  1688.                         return false
  1689.  
  1690.                       end,
  1691.  
  1692.         CustomCheckFailMsg = "You have to be VIP to be this job",
  1693.  
  1694.         PlayerSpawn = function(ply) ply:SetHealth("200") ply:SetArmor("100") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0) return CLIENT end,
  1695.  
  1696.         PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  1697.  
  1698. })
  1699.  
  1700.  
  1701.  
  1702. TEAM_SEWERDEMONHUNTER = DarkRP.createJob("Sewer Demon Hunter", {
  1703.  
  1704.         color = Color(245, 0, 184, 255),
  1705.  
  1706.         VIPOnly = true,
  1707.  
  1708.         model = "models/player/guerilla.mdl",
  1709.  
  1710.         description = [[You are a sewer demon hunter, only you are aloud to hunt sewer demons
  1711.  
  1712.         as your job. You're a trained professional to kill them.]],
  1713.  
  1714.        weapons = {"weapon_fists", "weapon_lordi_wep_m3"},
  1715.  
  1716.        command = "sewerdemonhunter",
  1717.  
  1718.        max = 3,
  1719.  
  1720.        salary = 666,
  1721.  
  1722.        admin = 0,
  1723.  
  1724.        vote = false,
  1725.  
  1726.        hasLicense = false,
  1727.  
  1728.        candemote = true,
  1729.  
  1730.         sewerdemonhunter = true,
  1731.  
  1732.        mayorCanSetSalary = false,
  1733.  
  1734.         customCheck = function(ply)
  1735.  
  1736.                         for k,v in pairs(VIP_groups) do
  1737.  
  1738.                             if ply:GetNWString("usergroup") == v then
  1739.  
  1740.                                 return true
  1741.  
  1742.                             end
  1743.  
  1744.                         end
  1745.  
  1746.                         return false
  1747.  
  1748.                       end,
  1749.  
  1750.        CustomCheckFailMsg = "You have to be VIP to be this job",
  1751.  
  1752.         PlayerSpawn = function(ply) ply:SetHealth("100") ply:SetArmor("100") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0) return CLIENT end,
  1753.  
  1754.        PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  1755.  
  1756. })
  1757.  
  1758.  
  1759.  
  1760. TEAM_MIKETYSON = DarkRP.createJob("Mike Tyson", {
  1761.  
  1762.        color = Color(240, 140, 103, 255),
  1763.  
  1764.         VIPOnly = true,
  1765.  
  1766.        model = "models/player/Group01/male_03.mdl",
  1767.  
  1768.        description = [[You are mike tyson, the best boxer
  1769.  
  1770.         in the world, defend your title and reach glory.]],
  1771.  
  1772.        weapons = {"weapon_fists", "weapon_lordi_wep_usp"},
  1773.  
  1774.        command = "miketyson",
  1775.  
  1776.        max = 2,
  1777.  
  1778.        salary = 400,
  1779.  
  1780.        admin = 0,
  1781.  
  1782.        vote = false,
  1783.  
  1784.        hasLicense = false,
  1785.  
  1786.        candemote = true,
  1787.  
  1788.         miketyson = true,
  1789.  
  1790.        mayorCanSetSalary = false,
  1791.  
  1792.         customCheck = function(ply)
  1793.  
  1794.                         for k,v in pairs(VIP_groups) do
  1795.  
  1796.                             if ply:GetNWString("usergroup") == v then
  1797.  
  1798.                                 return true
  1799.  
  1800.                             end
  1801.  
  1802.                         end
  1803.  
  1804.                         return false
  1805.  
  1806.                       end,
  1807.  
  1808.        CustomCheckFailMsg = "You have to be VIP to be this job",
  1809.  
  1810. })
  1811.  
  1812.  
  1813.  
  1814. TEAM_OSAMA = DarkRP.createJob("Osama Lin Baden", {
  1815.  
  1816.        color = Color(0, 0, 0, 255),
  1817.  
  1818.         VIPOnly = true,
  1819.  
  1820.        model = "models/player/phoenix.mdl",
  1821.  
  1822.        description = [[You are the leader of the most biggest terrorist
  1823.  
  1824.         organization in the history of man kind. Don't fuck this up.
  1825.  
  1826.         you are given weapons of cruetly to destroy loved ones for
  1827.  
  1828.         you rown amusement. Yes, I am saying you are aloud to kill
  1829.  
  1830.         everybody as a terrorist attack. However, you must only
  1831.  
  1832.         do this every hour, and must pre-advert a minute before
  1833.  
  1834.         the slaughter. Otherwise, all killings will be considered rdm.]],
  1835.  
  1836.         weapons = {"weapon_fists", "weapon_lordi_wep_deagle", "weapon_lordi_wep_ak47", "weapon_lordi_wep_galil", "weapon_lordi_wep_m249"},
  1837.  
  1838.         command = "osama",
  1839.  
  1840.         max = 1,
  1841.  
  1842.         salary = 1000,
  1843.  
  1844.         admin = 0,
  1845.  
  1846.         vote = true,
  1847.  
  1848.         hasLicense = false,
  1849.  
  1850.         candemote = true,
  1851.  
  1852.         osama = true,
  1853.  
  1854.         mayorCanSetSalary = false,
  1855.  
  1856.         customCheck = function(ply)
  1857.  
  1858.                         for k,v in pairs(VIP_groups) do
  1859.  
  1860.                             if ply:GetNWString("usergroup") == v then
  1861.  
  1862.                                 return true
  1863.  
  1864.                             end
  1865.  
  1866.                         end
  1867.  
  1868.                         return false
  1869.  
  1870.                       end,
  1871.  
  1872.         CustomCheckFailMsg = "You have to be VIP to be this job",
  1873.  
  1874.         PlayerSpawn = function(ply) ply:SetHealth("100") ply:SetArmor("100") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0) return CLIENT end,
  1875.  
  1876.         PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  1877.  
  1878. })
  1879.  
  1880.  
  1881.  
  1882. TEAM_AUTOMASTER = DarkRP.createJob("Auto Master", {
  1883.  
  1884.         color = Color(128, 0, 255, 255),
  1885.  
  1886.         VIPOnly = true,
  1887.  
  1888.         model = "models/player/eli.mdl",
  1889.  
  1890.         description = [[Auto mechanic, designed to make smaller compacts such as
  1891.  
  1892.         go karts.]],
  1893.  
  1894.         weapons = {"weapon_fists", "weapon_lordi_wep_knife"},
  1895.  
  1896.         command = "automaster",
  1897.  
  1898.         max = 1,
  1899.  
  1900.         salary = 800,
  1901.  
  1902.         admin = 0,
  1903.  
  1904.         vote = false,
  1905.  
  1906.         hasLicense = false,
  1907.  
  1908.         candemote = true,
  1909.  
  1910.         automaster = true,
  1911.  
  1912.         mayorCanSetSalary = false,
  1913.  
  1914.         customCheck = function(ply)
  1915.  
  1916.                         for k,v in pairs(VIP_groups) do
  1917.  
  1918.                             if ply:GetNWString("usergroup") == v then
  1919.  
  1920.                                 return true
  1921.  
  1922.                             end
  1923.  
  1924.                         end
  1925.  
  1926.                         return false
  1927.  
  1928.                       end,
  1929.  
  1930.         CustomCheckFailMsg = "You have to be VIP to be this job",
  1931.  
  1932.         PlayerSpawn = function(ply) ply:SetHealth("100") ply:SetArmor("100") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0) return CLIENT end,
  1933.  
  1934.         PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  1935.  
  1936. })
  1937.  
  1938.  
  1939.  
  1940. TEAM_VILLAIN = DarkRP.createJob("Villain", {
  1941.  
  1942.         color = Color(255, 255, 0, 255),
  1943.  
  1944.         VIPOnly = true,
  1945.  
  1946.         model = "models/player/combine_soldier.mdl",
  1947.  
  1948.         description = [[You are the counter opposite of the
  1949.  
  1950.         superhero, you two are rivals and you must fight for honor. Who
  1951.  
  1952.         wins, may become the ruler of the city.]],
  1953.  
  1954.         weapons = {"weapon_fists", "weapon_lordi_wep_p90", "weapon_crossbow", "weapon_lordi_wep_xm1014", "weapon_lordi_wep_sg550"},
  1955.  
  1956.         command = "villain",
  1957.  
  1958.         max = 1,
  1959.  
  1960.         salary = 0,
  1961.  
  1962.         admin = 0,
  1963.  
  1964.         vote = false,
  1965.  
  1966.         hasLicense = false,
  1967.  
  1968.         candemote = true,
  1969.  
  1970.         villain = true,
  1971.  
  1972.         mayorCanSetSalary = false,
  1973.  
  1974.         customCheck = function(ply)
  1975.  
  1976.                         for k,v in pairs(VIP_groups) do
  1977.  
  1978.                             if ply:GetNWString("usergroup") == v then
  1979.  
  1980.                                 return true
  1981.  
  1982.                             end
  1983.  
  1984.                         end
  1985.  
  1986.                         return false
  1987.  
  1988.                       end,
  1989.  
  1990.         CustomCheckFailMsg = "You have to be VIP to be this job",
  1991.  
  1992.         PlayerSpawn = function(ply) ply:SetHealth("100") ply:SetArmor("100") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0) return CLIENT end,
  1993.  
  1994.         PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  1995.  
  1996. })
  1997.  
  1998.  
  1999.  
  2000. TEAM_SEWEREMPRESS = DarkRP.createJob("Sewer Empress", {
  2001.  
  2002.         color = Color(255, 85, 255, 0),
  2003.  
  2004.         VIPOnly = true,
  2005.  
  2006.         model = "models/player_moxxi.mdl",
  2007.  
  2008.         description = [[You are the sewer demon Empress, command the sewer demons what to do and naw on dead bodies.]],
  2009.  
  2010.         weapons = {"weapon_fists", "weapon_bugbait", "weapon_crowbar", "weapon_lordi_wep_knife", "weapon_medkit"},
  2011.  
  2012.         command = "sewerempress",
  2013.  
  2014.         max = 1,
  2015.  
  2016.         salary = 1000,
  2017.  
  2018.         admin = 0,
  2019.  
  2020.         vote = false,
  2021.  
  2022.         hasLicense = false,
  2023.  
  2024.         candemote = true,
  2025.  
  2026.         sewerempress = true,
  2027.  
  2028.         mayorCanSetSalary = false,
  2029.  
  2030.         customCheck = function(ply)
  2031.  
  2032.                         for k,v in pairs(VIP_groups) do
  2033.  
  2034.                             if ply:GetNWString("usergroup") == v then
  2035.  
  2036.                                 return true
  2037.  
  2038.                             end
  2039.  
  2040.                         end
  2041.  
  2042.                         return false
  2043.  
  2044.                       end,
  2045.  
  2046.         CustomCheckFailMsg = "You have to be VIP to be this job",
  2047.  
  2048.         PlayerSpawn = function(ply) ply:SetHealth("200") ply:SetArmor("100") GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.7, GAMEMODE.Config.runspeed * 1.7) return CLIENT end,
  2049.  
  2050.         PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end
  2051.  
  2052. })
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060. /*---------------------------------------------------------------------------
  2061.  
  2062. Define which team joining players spawn into and what team you change to if demoted
  2063.  
  2064. ---------------------------------------------------------------------------*/
  2065.  
  2066. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072. /*---------------------------------------------------------------------------
  2073.  
  2074. Define which teams belong to civil protection
  2075.  
  2076. Civil protection can set warrants, make people wanted and do some other police related things
  2077.  
  2078. ---------------------------------------------------------------------------*/
  2079.  
  2080. GAMEMODE.CivilProtection = {
  2081.  
  2082.     [TEAM_CIVILPROTECTION] = true,
  2083.  
  2084.     [TEAM_CIVILPROTECTIONCHIEF] = true,
  2085.  
  2086.     [TEAM_SWAT] = true,
  2087.  
  2088.     [TEAM_SWATLEADER] = true,
  2089.  
  2090.     [TEAM_MAYOR] = true,
  2091.  
  2092. }
  2093.  
  2094.  
  2095.  
  2096. /*---------------------------------------------------------------------------
  2097.  
  2098. Jobs that are hitmen (enables the hitman menu)
  2099.  
  2100. ---------------------------------------------------------------------------*/
  2101.  
  2102. DarkRP.addHitmanTeam(TEAM_HITMAN)
  2103.  
  2104. DarkRP.addHitmanTeam(TEAM_PROHITMAN)
  2105.  
  2106. DarkRP.addHitmanTeam(TEAM_CODER)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement