Advertisement
Guest User

Untitled

a guest
Nov 24th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 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.  
  19. TEAM_POLICE = DarkRP.createJob( "Civil Protection", {
  20. color = Color(25, 25, 170, 255),
  21. model = {"models/player/police.mdl", "models/player/police_fem.mdl"},
  22. description = The protector of every citizen that lives in the city.
  23. You have the power to arrest criminals and protect innocents.
  24. Hit a player with your arrest baton to put them in jail.
  25. Bash a player with a stunstick and they may learn to obey the law.
  26. The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  27. The Battering Ram can also unfreeze frozen props (if enabled).
  28. Type /wanted <name> to alert the public to the presence of a criminal. ,
  29. weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"},
  30. command = "cp",
  31. max = 4,
  32. salary = GAMEMODE.Config.normalsalary * 1.45,
  33. admin = 0,
  34. vote = true,
  35. hasLicense = true,
  36. ammo = { ["pistol"] = 60,
  37. }
  38. category = "Civil Protection",
  39. })
  40.  
  41. TEAM_GANG = DarkRP.createJob("Gangster", {
  42. color = Color(75, 75, 75, 255),
  43. model = {
  44. "models/player/Group03/Female_01.mdl",
  45. "models/player/Group03/Female_02.mdl",
  46. "models/player/Group03/Female_03.mdl",
  47. "models/player/Group03/Female_04.mdl",
  48. "models/player/Group03/Female_06.mdl",
  49. "models/player/group03/male_01.mdl",
  50. "models/player/Group03/Male_02.mdl",
  51. "models/player/Group03/male_03.mdl",
  52. "models/player/Group03/Male_04.mdl",
  53. "models/player/Group03/Male_05.mdl",
  54. "models/player/Group03/Male_06.mdl",
  55. "models/player/Group03/Male_07.mdl",
  56. "models/player/Group03/Male_08.mdl",
  57. "models/player/Group03/Male_09.mdl"},
  58. description = [The lowest person of crime.
  59. A gangster generally works for the Mobboss who runs the crime family.
  60. The Mob boss sets your agenda and you follow it or you might be punished.],
  61. weapons = {},
  62. command = "gangster",
  63. max = 3,
  64. salary = GAMEMODE.Config.normalsalary,
  65. admin = 0,
  66. vote = false,
  67. hasLicense = false,
  68. category = "Gangsters",
  69. })
  70.  
  71.  
  72.  
  73. --[[---------------------------------------------------------------------------
  74. Define which team joining players spawn into and what team you change to if demoted
  75. ---------------------------------------------------------------------------]]
  76. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  77. --[[---------------------------------------------------------------------------
  78. Define which teams belong to civil protection
  79. Civil protection can set warrants, make people wanted and do some other police related things
  80. ---------------------------------------------------------------------------]]
  81. GAMEMODE.CivilProtection = {
  82. [TEAM_POLICE] = true,
  83. [TEAM_CHIEF] = true,
  84. [TEAM_MAYOR] = true,
  85. }
  86. --[[---------------------------------------------------------------------------
  87. Jobs that are hitmen (enables the hitman menu)
  88. ---------------------------------------------------------------------------]]
  89. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement