Advertisement
Guest User

Jobs.lua

a guest
Aug 26th, 2014
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.85 KB | None | 0 0
  1. /*---------------------------------------------------------------------------
  2. DarkRP custom jobs
  3. ---------------------------------------------------------------------------
  4.  
  5. This file contains your custom jobs.
  6. This file should also contain jobs from DarkRP that you edited.
  7.  
  8. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  9.     Once you've done that, copy and paste the job to this file and edit it.
  10.  
  11. The default jobs can be found here:
  12. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  13.  
  14. For examples and explanation please visit this wiki page:
  15. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  16.  
  17.  
  18. Add jobs under the following line:
  19. ---------------------------------------------------------------------------*/
  20.  
  21. TEAM_AMAF = DarkRP.createJob("American Mafia Member", {
  22.     color = Color(51, 0, 255, 255),
  23.     model = {
  24.         "models/player/Group03/Female_01.mdl",
  25.         "models/player/Group03/Female_02.mdl",
  26.         "models/player/Group03/Female_03.mdl",
  27.         "models/player/Group03/Female_04.mdl",
  28.         "models/player/Group03/Female_06.mdl",
  29.         "models/player/group03/male_01.mdl",
  30.         "models/player/Group03/Male_02.mdl",
  31.         "models/player/Group03/male_03.mdl",
  32.         "models/player/Group03/Male_04.mdl",
  33.         "models/player/Group03/Male_05.mdl",
  34.         "models/player/Group03/Male_06.mdl",
  35.         "models/player/Group03/Male_07.mdl",
  36.         "models/player/Group03/Male_08.mdl",
  37.         "models/player/Group03/Male_09.mdl"},
  38.     description = [[The lowest person of crime.
  39.         A Mafia Member generally works for the Godfather who runs the crime family.
  40.         The Godfather sets your agenda and you follow it or you might be punished. Now go shoot some windows, rob people, and kidnap people! Beware of the cops! (Note: dont kill people unless they pull a gun and open fire.)]],
  41.     weapons = {"m9k_uzi","lockpick"},
  42.     command = "agangster",
  43.     max = 6,
  44.     salary = GAMEMODE.Config.normalsalary,
  45.     admin = 0,
  46.     vote = false,
  47.     hasLicense = false
  48. })
  49.  
  50.  
  51. TEAM_AGOD = DarkRP.createJob("American Godfather", {
  52.     color = Color(51, 0, 255, 255),
  53.     model = "models/player/gman_high.mdl",
  54.     description = [[The Godfather is the boss of the criminals in the city.
  55.         With his power he coordinates the American Mafia and forms an efficient crime organization.
  56.         Now go tell your gang members who you're raiding!
  57.         The Godfather posesses the ability to unarrest you. (Note: dont kill people unless they pull a gun and open fire.)]],
  58.     weapons = {"m9k_thompson","lockpick", "unarrest_stick"},
  59.     command = "amobboss",
  60.     max = 1,
  61.     salary = GAMEMODE.Config.normalsalary * 1.34,
  62.     admin = 0,
  63.     vote = false,
  64.     hasLicense = false
  65. })
  66.  
  67. TEAM_RMAF = DarkRP.createJob("Russian Mafia Member", {
  68.     color = Color(204, 0, 0, 255),
  69.     model = {
  70.         "models/player/Group03/Female_01.mdl",
  71.         "models/player/Group03/Female_02.mdl",
  72.         "models/player/Group03/Female_03.mdl",
  73.         "models/player/Group03/Female_04.mdl",
  74.         "models/player/Group03/Female_06.mdl",
  75.         "models/player/group03/male_01.mdl",
  76.         "models/player/Group03/Male_02.mdl",
  77.         "models/player/Group03/male_03.mdl",
  78.         "models/player/Group03/Male_04.mdl",
  79.         "models/player/Group03/Male_05.mdl",
  80.         "models/player/Group03/Male_06.mdl",
  81.         "models/player/Group03/Male_07.mdl",
  82.         "models/player/Group03/Male_08.mdl",
  83.         "models/player/Group03/Male_09.mdl"},
  84.     description = [[The lowest person of crime.
  85.         A Mafia Member generally works for the Godfather who runs the crime family.
  86.         The Godfather sets your agenda and you follow it or you might be punished. Now go shoot some windows, rob people, and kidnap people! Beware of the cops! (Note: dont kill people unless they pull a gun and open fire.)]],
  87.     weapons = {"m9k_uzi","lockpick"},
  88.     command = "rgangster",
  89.     max = 6,
  90.     salary = GAMEMODE.Config.normalsalary,
  91.     admin = 0,
  92.     vote = false,
  93.     hasLicense = false
  94. })
  95.  
  96. TEAM_RGOD = DarkRP.createJob("Russian Godfather", {
  97.     color = Color(204, 0, 0, 255),
  98.     model = "models/player/gman_high.mdl",
  99.     description = [[The Godfather is the boss of the criminals in the city.
  100.         With his power he coordinates the Russian Mafia and forms an efficient crime organization.
  101.         Now go tell your gang members who you're raiding!
  102.         The Godfather posesses the ability to unarrest you. (Note: dont kill people unless they pull a gun and open fire.)]],
  103.     weapons = {"m9k_thompson","lockpick", "unarrest_stick"},
  104.     command = "rmobboss",
  105.     max = 1,
  106.     salary = GAMEMODE.Config.normalsalary * 1.34,
  107.     admin = 0,
  108.     vote = false,
  109.     hasLicense = false
  110. })
  111.  
  112. TEAM_IMAF = DarkRP.createJob("Italian Mafia Member", {
  113.     color = Color(102, 204, 51, 255),
  114.     model = {
  115.         "models/player/Group03/Female_01.mdl",
  116.         "models/player/Group03/Female_02.mdl",
  117.         "models/player/Group03/Female_03.mdl",
  118.         "models/player/Group03/Female_04.mdl",
  119.         "models/player/Group03/Female_06.mdl",
  120.         "models/player/group03/male_01.mdl",
  121.         "models/player/Group03/Male_02.mdl",
  122.         "models/player/Group03/male_03.mdl",
  123.         "models/player/Group03/Male_04.mdl",
  124.         "models/player/Group03/Male_05.mdl",
  125.         "models/player/Group03/Male_06.mdl",
  126.         "models/player/Group03/Male_07.mdl",
  127.         "models/player/Group03/Male_08.mdl",
  128.         "models/player/Group03/Male_09.mdl"},
  129.     description = [[The lowest person of crime.
  130.         A Mafia Member generally works for the Godfather who runs the crime family.
  131.         The Godfather sets your agenda and you follow it or you might be punished. Now go shoot some windows, rob people, and kidnap people! Beware of the cops! (Note: dont kill people unless they pull a gun and open fire.)]],
  132.     weapons = {"m9k_uzi","lockpick"},
  133.     command = "igangster",
  134.     max = 6,
  135.     salary = GAMEMODE.Config.normalsalary,
  136.     admin = 0,
  137.     vote = false,
  138.     hasLicense = false
  139. })
  140.  
  141. TEAM_IGOD = DarkRP.createJob("Italian Godfather", {
  142.     color = Color(102, 204, 51, 255),
  143.     model = "models/player/gman_high.mdl",
  144.     description = [[The Godfather is the boss of the criminals in the city.
  145.         With his power he coordinates the Italian Mafia and forms an efficient crime organization.
  146.         Now go tell your gang members who you're raiding!
  147.         The Godfather posesses the ability to unarrest you. (Note: dont kill people unless they pull a gun and open fire.)]],
  148.     weapons = {"m9k_thompson","lockpick", "unarrest_stick"},
  149.     command = "imobboss",
  150.     max = 1,
  151.     salary = GAMEMODE.Config.normalsalary * 1.34,
  152.     admin = 0,
  153.     vote = false,
  154.     hasLicense = false
  155. })
  156.  
  157. TEAM_GMAF = DarkRP.createJob("German Mafia Member", {
  158.     color = Color(75, 75, 75, 255),
  159.     model = {
  160.         "models/player/Group03/Female_01.mdl",
  161.         "models/player/Group03/Female_02.mdl",
  162.         "models/player/Group03/Female_03.mdl",
  163.         "models/player/Group03/Female_04.mdl",
  164.         "models/player/Group03/Female_06.mdl",
  165.         "models/player/group03/male_01.mdl",
  166.         "models/player/Group03/Male_02.mdl",
  167.         "models/player/Group03/male_03.mdl",
  168.         "models/player/Group03/Male_04.mdl",
  169.         "models/player/Group03/Male_05.mdl",
  170.         "models/player/Group03/Male_06.mdl",
  171.         "models/player/Group03/Male_07.mdl",
  172.         "models/player/Group03/Male_08.mdl",
  173.         "models/player/Group03/Male_09.mdl"},
  174.     description = [[The lowest person of crime.
  175.         A Mafia Member generally works for the Godfather who runs the crime family.
  176.         The Godfather sets your agenda and you follow it or you might be punished. Now go shoot some windows, rob people, and kidnap people! Beware of the cops! (Note: dont kill people unless they pull a gun and open fire.)]],
  177.     weapons = {"m9k_uzi","lockpick"},
  178.     command = "ggangster",
  179.     max = 6,
  180.     salary = GAMEMODE.Config.normalsalary,
  181.     admin = 0,
  182.     vote = false,
  183.     hasLicense = false
  184. })
  185.  
  186. TEAM_GGOD = DarkRP.createJob("German Godfather", {
  187.     color = Color(75, 75, 75, 255),
  188.     model = "models/player/gman_high.mdl",
  189.     description = [[The Godfather is the boss of the criminals in the city.
  190.         With his power he coordinates the gangsters and forms an efficient crime organization.
  191.         Now go tell your gang members who you're raiding!
  192.         The Godfather posesses the ability to unarrest you. (Note: dont kill people unless they pull a gun and open fire.)]],
  193.     weapons = {"m9k_thompson","lockpick", "unarrest_stick"},
  194.     command = "gmobboss",
  195.     max = 1,
  196.     salary = GAMEMODE.Config.normalsalary * 1.34,
  197.     admin = 0,
  198.     vote = false,
  199.     hasLicense = false
  200. })
  201.  
  202. TEAM_POLICE = DarkRP.createJob("Civil Protection", {
  203.     color = Color(25, 25, 170, 255),
  204.     model = {"models/player/police.mdl", "models/player/police_fem.mdl"},
  205.     description = [[The protector of every citizen that lives in the city.
  206.         You have the power to arrest criminals and protect innocents.
  207.         Hit a player with your arrest baton to put them in jail.
  208.         Bash a player with a stunstick and they may learn to obey the law.
  209.         The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  210.         Now go stop the gangsters from shooting widows, robbing people, and kidnapping! Beware the rapist!
  211.         Type /wanted <name> to alert the public to the presence of a criminal. (Note: dont kill people unless they pull a gun and open fire.)]],
  212.     weapons = {"arrest_stick", "unarrest_stick", "m9k_tec9", "stunstick", "door_ram", "weaponchecker"},
  213.     command = "cp",
  214.     max = 12,
  215.     salary = GAMEMODE.Config.normalsalary * 1.45,
  216.     admin = 0,
  217.     vote = false,
  218.     hasLicense = true,
  219.     ammo = {
  220.         ["pistol"] = 60,
  221.     }
  222. })
  223.  
  224.  
  225. TEAM_CHIEF = DarkRP.createJob("Civil Protection Chief", {
  226.     color = Color(20, 20, 255, 255),
  227.     model = "models/player/combine_soldier_prisonguard.mdl",
  228.     description = [[The Chief is the leader of the Civil Protection unit.
  229.         Coordinate the police force to enforce law in the city.
  230.         Hit a player with arrest baton to put them in jail.
  231.         Bash a player with a stunstick and they may learn to obey the law.
  232.         The Battering Ram can break down the door of a criminal, with a warrant for his/her arrest.
  233.         Type /wanted <name> to alert the public to the presence of a criminal.
  234.         Type /jailpos to set the Jail Position. Now go tell your police men who you will stop from doing illegal stuff! (Note: dont kill people unless they pull a gun and open fire.)]],
  235.     weapons = {"arrest_stick", "unarrest_stick", "m9k_magpulpdr", "stunstick", "door_ram", "weaponchecker"},
  236.     command = "chief",
  237.     max = 1,
  238.     salary = GAMEMODE.Config.normalsalary * 1.67,
  239.     admin = 0,
  240.     vote = false,
  241.     hasLicense = true,
  242.     chief = true,
  243.     ammo = {
  244.         ["pistol"] = 60,
  245.     }
  246. })
  247.  
  248. TEAM_GUN = DarkRP.createJob("Gun Dealer", {
  249.     color = Color(255, 140, 0, 255),
  250.     model = "models/player/monk.mdl",
  251.     description = [[A Gun Dealer is the only person who can sell guns to other people.
  252.         Make sure you aren't caught selling illegal firearms to the public! You might get arrested!]],
  253.     weapons = {},
  254.     command = "gundealer",
  255.     max = 2,
  256.     salary = GAMEMODE.Config.normalsalary,
  257.     admin = 0,
  258.     vote = false,
  259.     hasLicense = true
  260. })
  261.  
  262. TEAM_MEDIC = DarkRP.createJob("Medic", {
  263.     color = Color(47, 79, 79, 255),
  264.     model = "models/player/kleiner.mdl",
  265.     description = [[With your medical knowledge you work to restore players to full health.
  266.         Without a medic, people cannot be healed.
  267.         Left click with the Medical Kit to heal other players.
  268.         Right click with the Medical Kit to heal yourself.]],
  269.     weapons = {"med_kit"},
  270.     command = "medic",
  271.     max = 3,
  272.     salary = GAMEMODE.Config.normalsalary,
  273.     admin = 0,
  274.     vote = false,
  275.     hasLicense = false,
  276.     medic = true
  277. })
  278.  
  279.  
  280.  
  281. TEAM_MAYOR = DarkRP.createJob("Mayor", {
  282.     color = Color(150, 20, 20, 255),
  283.     model = "models/player/breen.mdl",
  284.     description = [[The Mayor of the city creates laws to govern the city.
  285.     If you are the mayor you may create and accept warrants.
  286.     Type /wanted <name>  to warrant a player.
  287.     Type /jailpos to set the Jail Position.
  288.     Type /lockdown initiate a lockdown of the city.
  289.     Everyone must be inside during a lockdown.
  290.     The cops patrol the area.
  291.     /unlockdown to end a lockdown]],
  292.     weapons = {},
  293.     command = "mayor",
  294.     max = 1,
  295.     salary = GAMEMODE.Config.normalsalary * 2.0,
  296.     admin = 0,
  297.     vote = false,
  298.     hasLicense = true,
  299.     mayor = true
  300. })
  301.  
  302. TEAM_HOBO = DarkRP.createJob("Hobo", {
  303.     color = Color(80, 45, 0, 255),
  304.     model = "models/player/corpse1.mdl",
  305.     description = [[The lowest member of society. Everybody laughs at you.
  306.         You have no home.
  307.         Beg for your food and money
  308.         Sing for everyone who passes to get money
  309.         Make your own wooden home somewhere in a corner or outside someone else's door]],
  310.     weapons = {"weapon_bugbait","lockpick"},
  311.     command = "hobo",
  312.     max = 5,
  313.     salary = 10,
  314.     admin = 0,
  315.     vote = false,
  316.     hasLicense = false,
  317.     candemote = false,
  318.     hobo = true
  319. })
  320.  
  321. TEAM_HITMAN = AddExtraTeam("Hitman", Color(60, 60, 60, 255), "models/player/darth_revan.mdl", [[People make hits and you carry them out!]], {"m9k_intervention","m9k_luger","lockpick"}, "hitman", 2, 65, 0, true, false, false)
  322.  
  323. TEAM_CAR = AddExtraTeam("Car Dealer", Color(168, 206, 86, 255), "models/player/alyx.mdl", [[You sell cars to the public.]], {}, "car", 2, 65, 0, false, false, false)
  324.  
  325. TEAM_ESTATE = AddExtraTeam("Real Estate Agent", Color(150, 50, 39, 255), "models/player/barney.mdl", [[You own all the houses in the suburbs and sell
  326. them as apartments.]], {}, "estate", 1, 60, 0, false, false, false)
  327.  
  328. TEAM_NEVER = AddExtraTeam("Admin On Duty", Color(200, 200, 200, 255), "models/player/combine_super_soldier.mdl", [[Do your administrative duties!]], {}, "never", 5, 10000, 1, false, true, true)
  329.  
  330. TEAM_NEVEREVER = AddExtraTeam("Super Admin On Duty", Color(233, 233, 233, 233), "models/player/light_revan.mdl", [[Keep the admins in check!]], {}, "neverever", 3, 20000, 2, false, true, true)
  331.  
  332.  
  333. /*---------------------------------------------------------------------------
  334. Define which teams belong to civil protection
  335. Civil protection can set warrants, make people wanted and do some other police related things
  336. ---------------------------------------------------------------------------*/
  337. GAMEMODE.CivilProtection = {
  338.     [TEAM_POLICE] = true,
  339.     [TEAM_CHIEF] = true,
  340.     [TEAM_MAYOR] = true,
  341. }
  342.  
  343. /*---------------------------------------------------------------------------
  344. Jobs that are hitmen (enables the hitman menu)
  345. ---------------------------------------------------------------------------*/
  346. DarkRP.addHitmanTeam(TEAM_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement