Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.63 KB | None | 0 0
  1. TEAM_ENFORCER = AddExtraTeam("SWAT Enforcer", {
  2. color = Color(115,68,254,255),
  3. model = {"models/player/legion/blheavysoldier.mdl"},
  4. description = [[You are a SWAT Enforcer, you are the backup when the police need help.
  5. .]],
  6. weapons = {"m9k_usas","m9k_tec9","riot_shield"},
  7. command = "swatenforcer",
  8. max = 3,
  9. salary = 100,
  10. admin = 0,
  11. vote = false,
  12. hasLicense = true,
  13. candemote = false,
  14. mayorCanSetSalary = true,
  15. PlayerSpawn = function(ply) ply:SetArmor(120) end
  16. })
  17. TEAM_TERRORISTLEADER = AddExtraTeam("Terrorist Leader", {
  18. color = Color(65,65,65,255),
  19. model = {"models/code_gs/osama/osamaplayer.mdl"},
  20. description = [[You lead the terrorists.
  21. .]],
  22. weapons = {"m9k_ak47","m9k_suicide_bomb"},
  23. command = "terroristleader",
  24. max = 3,
  25. salary = 50,
  26. admin = 0,
  27. vote = false,
  28. hasLicense = false,
  29. candemote = false,
  30. mayorCanSetSalary = false,
  31. PlayerSpawn = function(ply) ply:SetArmor(30) end
  32. })
  33. TEAM_ELITEHITMAN = AddExtraTeam("Elite Hitman", {
  34. color = Color(124,0,0,255),
  35. model = {"models/player/cubanmerc_male.mdl"},
  36. description = [[You are an elite hitman, far more advanced than the average one.
  37. .]],
  38. weapons = {"m9k_intervention","m9k_mp7","climb_swep2"},
  39. command = "elitehitman",
  40. max = 3,
  41. salary = 100,
  42. admin = 0,
  43. vote = false,
  44. hasLicense = false,
  45. candemote = false,
  46. mayorCanSetSalary = false,
  47. PlayerSpawn = function(ply) ply:SetArmor(50) end
  48. })
  49. TEAM_EXPLOSIVESDEALER = AddExtraTeam("Explosives Dealer", {
  50. color = Color(193,79,0,255),
  51. model = {"models/player/magnusson.mdl"},
  52. description = [[You are an explosives dealer. Sell explosives.
  53. .]],
  54. weapons = {"m9k_knife"},
  55. command = "explosivesdealer",
  56. max = 3,
  57. salary = 100,
  58. admin = 0,
  59. vote = false,
  60. hasLicense = false,
  61. candemote = false,
  62. mayorCanSetSalary = false
  63. })
  64. TEAM_UNDERCOVERCOP = AddExtraTeam("Undercover Cop", {
  65. color = Color(20,150,20,255),
  66. model = {"models/player/Group01/Female_01.mdl",
  67. "models/player/Group01/Female_02.mdl",
  68. "models/player/Group01/Female_03.mdl",
  69. "models/player/Group01/Female_04.mdl",
  70. "models/player/Group01/Female_06.mdl",
  71. "models/player/group01/male_01.mdl",
  72. "models/player/Group01/Male_02.mdl",
  73. "models/player/Group01/male_03.mdl",
  74. "models/player/Group01/Male_04.mdl",
  75. "models/player/Group01/Male_05.mdl",
  76. "models/player/Group01/Male_06.mdl",
  77. "models/player/Group01/Male_07.mdl",
  78. "models/player/Group01/Male_08.mdl",
  79. "models/player/Group01/Male_09.mdl",
  80. "models/player/Group03/Female_01.mdl",
  81. "models/player/Group03/Female_02.mdl",
  82. "models/player/Group03/Female_03.mdl",
  83. "models/player/Group03/Female_04.mdl",
  84. "models/player/Group03/Female_06.mdl",
  85. "models/player/group03/male_01.mdl",
  86. "models/player/Group03/Male_02.mdl",
  87. "models/player/Group03/male_03.mdl",
  88. "models/player/Group03/Male_04.mdl",
  89. "models/player/Group03/Male_05.mdl",
  90. "models/player/Group03/Male_06.mdl",
  91. "models/player/Group03/Male_07.mdl",
  92. "models/player/Group03/Male_08.mdl",
  93. "models/player/Group03/Male_09.mdl"},
  94. description = [[You are an undercover cop, work undercover.
  95. .]],
  96. weapons = {"m9k_model627","m9k_kac_pdw"},
  97. command = "undercovercop",
  98. max = 3,
  99. salary = 100,
  100. admin = 0,
  101. vote = false,
  102. hasLicense = true,
  103. candemote = false,
  104. mayorCanSetSalary = true,
  105. PlayerSpawn = function(ply) ply:SetArmor(50) end
  106. })
  107. TEAM_VIGILANTE = AddExtraTeam("Vigilante", {
  108. color = Color(124,0,0,255),
  109. model = {"models/pechenko_121/deadpool/chr_deadpool2.mdl"},
  110. description = [[You are a vigilante, but will also accept hits.
  111. .]],
  112. weapons = {"dual_weapons","m9k_damascus","climb_swep2","m9k_fists"},
  113. command = "vigilante",
  114. max = 1,
  115. salary = 100,
  116. admin = 0,
  117. vote = false,
  118. hasLicense = false,
  119. candemote = false,
  120. mayorCanSetSalary = false,
  121. PlayerSpawn = function(ply)
  122. ply:SetArmor(200)
  123.  
  124. timer.Simple( "ThisIsMyTimerThereAreManyLikeItButThisOneIsMine", 5, 0, function()
  125. if( ply:Health() < ply:GetMaxHealth() )then
  126. local RegenAMT = 3
  127. if( ( ply:Health() + RegenAMT ) > ply:GetMaxHealth() )then
  128. RegenAMT = ply:GetMaxHealth() - ply:Health()
  129. end
  130.  
  131. ply:SetHealth( ply:Health() + RegenAMT )
  132. end )
  133. end,
  134. customCheck = function(ply) return ply:SteamID() == "STEAM_0:1:28895085" end
  135. })
  136.  
  137.  
  138. Addons to download:
  139.  
  140. http://steamcommunity.com/sharedfiles/filedetails/?id=620977303&searchtext=
  141.  
  142. http://steamcommunity.com/sharedfiles/filedetails/?id=175002964&searchtext=osama
  143.  
  144. https://steamcommunity.com/sharedfiles/filedetails/?id=290282950
  145.  
  146. https://steamcommunity.com/sharedfiles/filedetails/?id=222334482&searchtext=black+ops+2
  147.  
  148. https://steamcommunity.com/sharedfiles/filedetails/?id=200700693
  149.  
  150. https://steamcommunity.com/sharedfiles/filedetails/?id=245485732
  151.  
  152. http://steamcommunity.com/sharedfiles/filedetails/?l=&id=113495466
  153.  
  154.  
  155. Extra Info:
  156. Add the SWAT Enforcer and Undercover Cop to the civil protection catagory, to make sure they have the default cop weapons.
  157. Also, add the Vigilante and Elite Hitman to the Hitman catagory, to make sure they have the menu.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement