Advertisement
Guest User

Untitled

a guest
Dec 20th, 2013
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.19 KB | None | 0 0
  1. /*---------------------------------------------------------------------------
  2. /*---------------------------------------------------------------------------
  3. DarkRP custom jobs
  4. ---------------------------------------------------------------------------
  5.  
  6. This file contains your custom jobs.
  7. This file should also contain jobs from DarkRP that you edited.
  8.  
  9. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  10. Once you've done that, copy and paste the job to this file and edit it.
  11.  
  12. The default jobs can be found here:
  13. <TODO: INSERT URL HERE>
  14.  
  15. For examples and explanation please visit this wiki page:
  16. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  17.  
  18.  
  19. Add jobs under the following line:
  20. ---------------------------------------------------------------------------*/
  21. TEAM_THIEF = DarkRP.createJob("Thief", {
  22. color = Color(255, 255, 255, 255),
  23. model = "models/jumpsuitrob.mdl",
  24. description = [[You're a thief, you raid bases rob the bank, mug people, and many more... although most of the thing you do ARE illegal don't get caught by the police!]],
  25. weapons = {bb_mac10, weapon_crowbar, lockpick},
  26. command = "thief",
  27. max = 4,
  28. salary = 100,
  29. admin = 0,
  30. vote = false,
  31. hasLicense = false,
  32. })
  33.  
  34. TEAM_ITALIANMEMBER = DarkRP.createJob("Italian Mafia Member", {
  35. color = Color(0, 153, 51, 255),
  36. model = "models/player/tuxmale_01player.mdl",
  37. description = [[You're part of the Italian Mafia, you follow the Italian Mob Boss!]],
  38. weapons = {bb_css_knife},
  39. command = "italianmember",
  40. max = 6,
  41. salary = 100,
  42. admin = 0,
  43. vote = false,
  44. hasLicense = false,
  45. })
  46.  
  47. TEAM_ITALIANMOBBOSS = DarkRP.createJob("Italian Mob Boss", {
  48. color = Color(0, 255, 0, 255),
  49. model = "models/player/tuxmale_03player.mdl",
  50. description = [[You're the Italian Mob Boss, you command the Italian Mafia to do things of your choice, such as raid the police department!]],
  51. weapons = {weapon_crowbar, bb_aug, lockpick, unarrest_stick},
  52. command = "italianmobboss",
  53. max = 1,
  54. salary = 125,
  55. admin = 0,
  56. vote = false,
  57. hasLicense = false,
  58. })
  59.  
  60. TEAM_RUSSIANMEMBER = DarkRP.createJob("Russian Mafia Member", {
  61. color = Color(102, 51, 51, 255),
  62. model = "models/player/tuxmale_02player",
  63. description = [[You're part of the Russian Mafia, you follow the Russian Mob Boss!]],
  64. weapons = {bb_css_knife},
  65. command = "italianmember",
  66. max = 6,
  67. salary = 100,
  68. admin = 0,
  69. vote = false,
  70. hasLicense = false,
  71. })
  72.  
  73. TEAM_RUSSIANMOBBOSS = DarkRP.createJob("Russian Mob Boss", {
  74. color = Color(51, 0, 0, 255),
  75. model = "models/player/tuxmale_04player",
  76. description = [[You're the Russian Mob Boss, you command the Russian Mafia to do things of your choice, such as raid the police department!]],
  77. weapons = {weapon_crowbar, bb_aug, lockpick, unarrest_stick},
  78. command = "russianmobboss",
  79. max = 1,
  80. salary = 125,
  81. admin = 0,
  82. vote = false,
  83. hasLicense = false,
  84. })
  85.  
  86. /*---------------------------------------------------------------------------
  87. Define which team joining players spawn into and what team you change to if demoted
  88. ---------------------------------------------------------------------------*/
  89. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  90.  
  91.  
  92. /*---------------------------------------------------------------------------
  93. Define which teams belong to civil protection
  94. Civil protection can set warrants, make people wanted and do some other police related things
  95. ---------------------------------------------------------------------------*/
  96. GAMEMODE.CivilProtection = {
  97. [TEAM_POLICE] = true,
  98. [TEAM_CHIEF] = true,
  99. [TEAM_MAYOR] = true,
  100. }
  101.  
  102. /*---------------------------------------------------------------------------
  103. Jobs that are hitmen (enables the hitman menu)
  104. ---------------------------------------------------------------------------*/
  105. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement