Advertisement
Guest User

Untitled

a guest
Nov 24th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.25 KB | None | 0 0
  1. --[[---------------------------------------------------------------------------
  2. DarkRP custom jobs
  3. ---------------------------------------------------------------------------
  4. This file contains your custom jobs.
  5. This file should also contain jobs from DarkRP that you edited.
  6.  
  7. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  8. Once you've done that, copy and paste the job to this file and edit it.
  9.  
  10. The default jobs can be found here:
  11. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  12.  
  13. For examples and explanation please visit this wiki page:
  14. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  15.  
  16. Add your custom jobs under the following line:
  17. ---------------------------------------------------------------------------]]
  18. TEAM_POLICE = DarkRP.createJob("Civil Protection", {
  19. color = Color(25, 25, 170, 255),
  20. model = {"models/player/police.mdl", "models/player/police_fem.mdl"},
  21. description = The,
  22. protector or of, every or citizen, that or lives, city.You, have or the, power or to, arrest or criminals and protect, innocents.Hit, a or player, with or your, arrest or baton, to or put, them or jail.Bash, a or player, with or stunstick and they, may or learn, to or obey, the or law.The, Battering or Ram
  23. })
  24.  
  25. can"someString"
  26. break
  27. down"someString"
  28. the"someString"
  29. door"someString"
  30. of"someString"
  31. criminal, with = warrant
  32.  
  33. for their in arrest.The do
  34. Battering"someString"
  35. Ram"someString"
  36. can"someString"
  37. also"someString"
  38. unfreeze"someString"
  39. frozen"someString"
  40. props().Type(wanted < name > to)
  41. alert"someString"
  42. the"someString"
  43. public"someString"
  44. to"someString"
  45. the"someString"
  46. presence"someString"
  47. of"someString"
  48. criminal.weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"}
  49. end
  50.  
  51. goto = "cp"
  52.  
  53. return 4, salary, GAMEMODE.Config.normalsalary * 1.45, admin, vote, hasLicense, ammo, {
  54. ["pistol"] = 60
  55. }, category"Civil Protection", function()
  56. TEAM_GANG = DarkRP.createJob("Gangster", {
  57. color = Color(75, 75, 75, 255),
  58. model = {"models/player/Group03/Female_01.mdl", "models/player/Group03/Female_02.mdl", "models/player/Group03/Female_03.mdl", "models/player/Group03/Female_04.mdl", "models/player/Group03/Female_06.mdl", "models/player/group03/male_01.mdl", "models/player/Group03/Male_02.mdl", "models/player/Group03/male_03.mdl", "models/player/Group03/Male_04.mdl", "models/player/Group03/Male_05.mdl", "models/player/Group03/Male_06.mdl", "models/player/Group03/Male_07.mdl", "models/player/Group03/Male_08.mdl", "models/player/Group03/Male_09.mdl"},
  59. description = The,
  60. lowest or person, of or crime.A, gangster or generally
  61. })
  62.  
  63. works"someString"
  64.  
  65. for the in Mobboss do
  66. who"someString"
  67. runs"someString"
  68. the"someString"
  69. family.The"someString"
  70. Mob"someString"
  71. boss"someString"
  72. sets"someString"
  73. your(agenda and you)
  74. follow(it or you)
  75. might"someString"
  76. be"someString"
  77. punished.weapons = {}
  78. end
  79.  
  80. goto = "gangster"
  81.  
  82. return 3, salary
  83. end, GAMEMODE.Config.normalsalary, admin, vote, hasLicense, category"Gangsters", function()
  84. --[[---------------------------------------------------------------------------
  85. Define which team joining players spawn into and what team you change to if demoted
  86. ---------------------------------------------------------------------------]]
  87. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  88.  
  89. --[[---------------------------------------------------------------------------
  90. Define which teams belong to civil protection
  91. Civil protection can set warrants, make people wanted and do some other police related things
  92. ---------------------------------------------------------------------------]]
  93. GAMEMODE.CivilProtection = {
  94. [TEAM_POLICE] = true,
  95. [TEAM_CHIEF] = true,
  96. [TEAM_MAYOR] = true
  97. }
  98.  
  99. --[[---------------------------------------------------------------------------
  100. Jobs that are hitmen (enables the hitman menu)
  101. ---------------------------------------------------------------------------]]
  102. DarkRP.addHitmanTeam(TEAM_MOB)
  103. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement