Advertisement
MrSwagDogs

Untitled

Nov 26th, 2014
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 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_ASSASSIN = AddExtraTeam("Assassin", {
  22. color = Color(255, 0, 0, 255),
  23. model = {"models/player/gman_high.mdl"},
  24. description = [[You are a hired killer. People pay you for your
  25. skills with a weapon. Hunt down whom you're paid to kill.
  26. -Can Raid? No
  27. -Can do hits? Yes
  28. -Can KOS? No
  29. -Can RDM? No]],
  30. weapons = {"weapon_fists","m9k_ragingbull"},
  31. command = "assassin",
  32. max = 3,
  33. salary = 25,
  34. admin = 0,
  35. vote = true,
  36. hasLicense = false,
  37. mayorCanSetSalary = false
  38. })
  39.  
  40. TEAM_ADMIN = AddExtraTeam ("Admin on Duty", {
  41. color = Color(255,0,0,255),
  42. model ={"models/player/combine_super_soldier.mdl"},
  43. description = [[You are a admin that is protecting the city from evil rdmers!
  44. -Can Raid No
  45. -Can do hits? No
  46. -Can KOS If needed!
  47. -Can RDM No]],
  48. weapons = {"weapon_fists"},
  49. command = "admin"
  50. max = 4,
  51. salary = 0,
  52. admin = 1,
  53. vote = false,
  54. hasLicense = true,
  55. mayorCanSetSalary = false,
  56. })
  57.  
  58.  
  59.  
  60.  
  61. /*---------------------------------------------------------------------------
  62. Define which team joining players spawn into and what team you change to if demoted
  63. ---------------------------------------------------------------------------*/
  64. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  65.  
  66.  
  67. /*---------------------------------------------------------------------------
  68. Define which teams belong to civil protection
  69. Civil protection can set warrants, make people wanted and do some other police related things
  70. ---------------------------------------------------------------------------*/
  71. GAMEMODE.CivilProtection = {
  72. [TEAM_POLICE] = true,
  73. [TEAM_CHIEF] = true,
  74. [TEAM_MAYOR] = true,
  75. }
  76.  
  77. /*---------------------------------------------------------------------------
  78. Jobs that are hitmen (enables the hitman menu)
  79. ---------------------------------------------------------------------------*/
  80. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement