Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2014
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.61 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. TEAM_THIEF = AddExtraTeam("Thief", Color(0, 0, 0, 255), "models/player/magnusson.mdl", [[Being a thief, you must be sneaky beaky...
  21. Break into peoples homes steal their things and
  22. sell them :)]], {"m9k_usp","weapon_lockpick","lockpick","utility_lockpick"},
  23.  
  24. TEAM_POLICE = AddExtraTeam("Police", Color(0, 51, 255, 255), "models/player/police.mdl", [[You are the civil protection, you must put people
  25. who break the law in jail, and confiscate illegal
  26. items.]], {"m9k_mp5sd","m9k_colt1911"}, "police", 5, 200, 0, true, true, false)
  27.  
  28. TEAM_CHIEF = AddExtraTeam("Chief of Police", Color(0, 51, 255, 255), "models/player/urban.mdl", [[You are the chief of police! you must put people
  29. who break the law in jail, and confiscate illegal
  30. items, dont forget to tell your underlings how to
  31. do it!]], {"m9k_m4a1","m9k_deagle"}, "chief", 1, 200, 0, true, true, {Police})
  32.  
  33. TEAM_SWAT = AddExtraTeam("S.W.A.T", Color(0, 51, 255, 255), "models/player/swat.mdl", [[Welcome to the special weapons armored tactics
  34. force, your job is to kill terrorists, and save
  35. your country from threat.]], {"m9k_auga3","m9k_deagle"}, "swat", 3, 400, 0, true, true, {Police})
  36.  
  37. TEAM_MAYOR = AddExtraTeam("Mayor", Color(0, 51, 255, 255), "models/player/breen.mdl", [[You are the mayor! you must compose the law, and
  38. tell people how to live their life :D]], {}, "mayor", 1, 2000, 0, true, true, false)
  39.  
  40. TEAM_HITMAN = AddExtraTeam("Hitman", Color(153, 51, 0, 255), "models/player/guerilla.mdl", [[Hitman, kills people for money, Equipped with an
  41. M98B]], {"m9k_m98b","keys"}, "hitman", 2, 1000, 0, false, true, false)
  42.  
  43. TEAM_GUARD = AddExtraTeam("Guard", Color(102, 51, 255, 255), "models/player/odessa.mdl", [[If you become a guard, you are to be hired by
  44. people to protect their shops/items e.g a
  45. gundealer.]], {"m9k_usp"}, "guard", 4, 300, 0, true, true, false)
  46.  
  47. TEAM_GANGSTER = AddExtraTeam("Gangster", Color(51, 0, 0, 255), "models/player/artic.mdl", [[You are a gangsta! Go kill people (dont rdm) and
  48. take their stuff!!! Listen to the Mob Boss first
  49. though.]], {"m9k_fists"}, "gangster", 5, 45, 0, false, false, false)
  50.  
  51. TEAM_MOBBOSS = AddExtraTeam("Mob Boss", Color(51, 0, 0, 255), "models/player/gman_high.mdl", [[You are the mob boss! Go kill people (dont rdm)
  52. and take their stuff!!! Give your underlings (the
  53. gangsters) orders!]], {"m9k_fists","m9k_usp"}, "mobboss", 1, 100, 0, true, false, {gangster})
  54.  
  55.  
  56. TEAM_MEDIC = AddExtraTeam("Medic", Color(255, 255, 0, 255), "models/player/Kleiner.mdl", [[Have people pay you to heal them from their war
  57. wounds, this could cause some serious money coming
  58. in.]], {"weapon_medkit"}, "medic", 3, 55, 0, false, false, false)
  59.  
  60. TEAM_GUNDEALER = AddExtraTeam("Gundealer", Color(255, 102, 0, 255), "models/player/monk.mdl", [[You are a gun dealer, sell even the most
  61. underlings of society weapons, in order to make
  62. some quick bucks.]], {}, "gundealer", 3, 75, 0, false, false, false)
  63.  
  64. }
  65. /*---------------------------------------------------------------------------
  66. Define which team joining players spawn into and what team you change to if demoted
  67. ---------------------------------------------------------------------------*/
  68. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  69.  
  70.  
  71. /*---------------------------------------------------------------------------
  72. Define which teams belong to civil protection
  73. Civil protection can set warrants, make people wanted and do some other police related things
  74. ---------------------------------------------------------------------------*/
  75. GAMEMODE.CivilProtection = {
  76.     [TEAM_POLICE] = true,
  77.        [TEAM_SWAT] = true,
  78.        [TEAM_CHIEF] = true,
  79.        [TEAM_MAYOR] = true,
  80. }
  81.  
  82. /*---------------------------------------------------------------------------
  83. Jobs that are hitmen (enables the hitman menu)
  84. ---------------------------------------------------------------------------*/
  85. DarkRP.addHitmanTeam(TEAM_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement