Advertisement
Guest User

Untitled

a guest
Dec 15th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.13 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_STAFF = DarkRP.createJob("Staff On Duty", {
  19. color = Color(251, 255, 0, 255),
  20. model = {"models/Humans/Group01/male_07.mdl"},
  21. description = [[Staff On Duty.]],
  22. weapons = {"weapon_physgun", "gmod_tool"},
  23. command = "OnDuty",
  24. max = 5,
  25. salary = 0,
  26. admin = 1,
  27. vote = false,
  28. hasLicense = false,
  29. category = "Staff",
  30. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("6000") ply:SetGravity(1) return CLIENT end,
  31. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  32. customCheck = function(ply) return CLIENT or table.HasValue({"OnDuty"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  33. CustomCheckFailMsg = "You Are Not White-listed."
  34. })
  35.  
  36. TEAM_RECRUIT = DarkRP.createJob("Recruit", {
  37. color = Color(255, 255, 255, 255),
  38. model = {"models/player/tiki/white.mdl"},
  39. description = [[Imperial Recruit.]],
  40. weapons = {"tfa_swch_dc15a_alt_training"},
  41. command = "Recruit",
  42. max = 200,
  43. salary = 5,
  44. admin = 0,
  45. vote = false,
  46. hasLicense = false,
  47. category = "Recruits",
  48. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("100") ply:SetGravity(1) return CLIENT end,
  49. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  50. customCheck = function(ply) return CLIENT or table.HasValue({"Recruit"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  51. CustomCheckFailMsg = "You Are Not White-listed."
  52. })
  53.  
  54. TEAM_STORMTROOPER = DarkRP.createJob("Stormtrooper", {
  55. color = Color(192, 154, 255, 255),
  56. model = {"models/player/fatal/troopers/trooper.mdl"},
  57. description = [[You Are A Stormtrooper Of The Empire.]],
  58. weapons = {"tfa_e11", "tfa_dh17_extended"},
  59. command = "Trooper",
  60. max = 200,
  61. salary = 40,
  62. admin = 0,
  63. vote = false,
  64. hasLicense = false,
  65. category = "Stormtroopers",
  66. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  67. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  68. customCheck = function(ply) return CLIENT or table.HasValue({"Trooper"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  69. CustomCheckFailMsg = "You Are Not White-listed."
  70. })
  71.  
  72. TEAM_STORMTROOPERNCO = DarkRP.createJob("Stormtrooper Nco", {
  73. color = Color(192, 154, 255, 255),
  74. model = {"models/player/fatal/troopers/sergeant.mdl"}
  75. description = [[You Are A Stormtrooper NCO.]],
  76. weapons = {"tfa_e11", "tfa_dh17_extended"},
  77. command = "Troopernco",
  78. max = 10,
  79. salary = 80,
  80. admin = 0,
  81. vote = false,
  82. hasLicense = false,
  83. category = "Stormtroopers",
  84. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("220") ply:SetGravity(1) return CLIENT end,
  85. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  86. customCheck = function(ply) return CLIENT or table.HasValue({"Troopernco"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  87. CustomCheckFailMsg = "You Are Not White-listed."
  88. })
  89.  
  90. TEAM_STORMTROOPEROFFICER = DarkRP.createJob("Stormtrooper Officer", {
  91. color = Color(192, 154, 255, 255),
  92. model = {models/player/fatal/troopers/officer.mdl"},
  93. description = [[You Are A Stormtrooper Officer.]],
  94. weapons = {"tfa_e11", "tfa_dh17_extended"},
  95. command = "Trooperofficer",
  96. max = 6,
  97. salary = 110,
  98. admin = 0,
  99. vote = false,
  100. hasLicense = false,
  101. category = "Stormtroopers",
  102. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("230") ply:SetGravity(1) return CLIENT end,
  103. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  104. customCheck = function(ply) return CLIENT or table.HasValue({"Trooperofficer"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  105. CustomCheckFailMsg = "You Are Not White-listed."
  106. })
  107.  
  108. TEAM_STORMTROOPERCOMMANDER = DarkRP.createJob("Stormtrooper Commander", {
  109. color = Color(192, 154, 255, 255),
  110. model = {"models/player/tiki/white.mdl"},
  111. description = [[You Are A Stormtrooper Commander]],
  112. weapons = {"tfa_e11", "tfa_dh17_extended"},
  113. command = "Troopercmdr",
  114. max = 5,
  115. salary = 210,
  116. admin = 0,
  117. vote = false,
  118. hasLicense = false,
  119. category = "Stormtroopers",
  120. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("245") ply:SetGravity(1) return CLIENT end,
  121. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  122. customCheck = function(ply) return CLIENT or table.HasValue({"Troopercmdr"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  123. CustomCheckFailMsg = "You Are Not White-listed."
  124. })
  125.  
  126. TEAM_SITHACOLYTE = DarkRP.createJob("Sith Acolyte", {
  127. color = Color(0, 242, 255, 255),
  128. model = {"models/player/tiki/white.mdl"},
  129. description = [[You Are A Sith Acolyte.]],
  130. weapons = {},
  131. command = "Acolyte",
  132. max = 20,
  133. salary = 60,
  134. admin = 0,
  135. vote = false,
  136. hasLicense = false,
  137. category = "Sith",
  138. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("500") ply:SetGravity(1) return CLIENT end,
  139. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  140. customCheck = function(ply) return CLIENT or table.HasValue({"Acolyte"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  141. CustomCheckFailMsg = "You Are Not White-listed."
  142. })
  143.  
  144. TEAM_SITHAPPRENTICE = DarkRP.createJob("Sith Apprentices", {
  145. color = Color(0, 242, 255, 255),
  146. model = {"models/player/starwars/mistersweetroll/riottrooper.mdl"},
  147. description = [[You Are A Sith Apprentice.]],
  148. weapons = {},
  149. command = "Apprentice",
  150. max = 20,
  151. salary = 100,
  152. admin = 0,
  153. vote = false,
  154. hasLicense = false,
  155. category = "Sith",
  156. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("1000") ply:SetGravity(1) return CLIENT end,
  157. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  158. customCheck = function(ply) return CLIENT or table.HasValue({"Apprentice"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  159. CustomCheckFailMsg = "You Are Not White-listed."
  160. })
  161.  
  162. TEAM_SITHLORD = DarkRP.createJob("Sith Lord", {
  163. color = Color(0, 242, 255, 255),
  164. model = {
  165. "models/player/valley/eighth_brother.mdl",
  166. "models/player/valley/xalek.mdl",
  167. "models/rebuilt/arcann_rebuilt.mdl",
  168. "models/x1gcw/x1gcw.mdl",
  169. "models/player/valley/recluse.mdl"
  170. },
  171. description = [[You Are A Sith Lord.]],
  172. weapons = {},
  173. command = "Lord",
  174. max = 15,
  175. salary = 150,
  176. admin = 0,
  177. vote = false,
  178. hasLicense = false,
  179. category = "Sith",
  180. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("2000") ply:SetGravity(1) return CLIENT end,
  181. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  182. customCheck = function(ply) return CLIENT or table.HasValue({"Lord"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  183. CustomCheckFailMsg = "You Are Not White-listed."
  184. })
  185.  
  186. TEAM_SITHDARTH = DarkRP.createJob("Darth", {
  187. color = Color(0, 242, 255, 255),
  188. model = {
  189. "models/kallig/kallig.mdl", "models/imperius/imperiuss.mdl",
  190. "models/vindican/vindican.mdl",
  191. "models/revan/revan.mdl",
  192. "models/player/valley/revanitechampion.mdl",
  193. "models/player/valley/vitiate.mdl"
  194. },
  195. description = [[You Are A Darth Of The Sith.]],
  196. weapons = {},
  197. command = "Darth",
  198. max = 10,
  199. salary = 210,
  200. admin = 0,
  201. vote = false,
  202. hasLicense = false,
  203. category = "Sith",
  204. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("2500") ply:SetGravity(1) return CLIENT end,
  205. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  206. customCheck = function(ply) return CLIENT or table.HasValue({"Darth"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  207. CustomCheckFailMsg = "You Are Not White-listed."
  208. })
  209.  
  210. TEAM_VADER = DarkRP.createJob("Darth Vader", {
  211. color = Color(143, 0, 255, 255),
  212. model = {"models/nate159/swbf/hero/player/hero_sith_vader_player.mdl"},
  213. description = [[You Are Darth Vader, Supreme Commander Of The Empire.]],
  214. weapons = {},
  215. command = "Vader",
  216. max = 1,
  217. salary = 500,
  218. admin = 0,
  219. vote = false,
  220. hasLicense = false,
  221. category = "High Command",
  222. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("3400") ply:SetGravity(1) return CLIENT end,
  223. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  224. customCheck = function(ply) return CLIENT or table.HasValue({"Vader"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  225. CustomCheckFailMsg = "You Are Not White-listed."
  226. })
  227.  
  228. TEAM_PALPATINE = DarkRP.createJob("Emperor Palpatine", {
  229. color = Color(143, 0, 255, 255),
  230. model = {"models/player/emperor_palpatine.mdl"},
  231. description = [[You Are His Majasty Emperor Palpatine, Leader Of The Galactic Empire.]],
  232. weapons = {"sidiousq"},
  233. command = "Palpatine",
  234. max = 1,
  235. salary = 500,
  236. admin = 0,
  237. vote = false,
  238. hasLicense = false,
  239. category = "High Command",
  240. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("5500") ply:SetGravity(1) return CLIENT end,
  241. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  242. customCheck = function(ply) return CLIENT or table.HasValue({"Palpatine"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  243. CustomCheckFailMsg = "You Are Not White-listed."
  244. })
  245.  
  246. TEAM_ROYALGUARD = DarkRP.createJob("Royal Guard", {
  247. color = Color(168, 0, 0, 255),
  248. model = {"models/player/starwars/mistersweetroll/imperialguard.mdl"},
  249. description = [[You Are A Royal Guard, The Emperors Personal Guard.]],
  250. weapons = {"tfa_kotor_repeaten_2", "tfa_se14c_extended"},
  251. command = "RG",
  252. max = 10,
  253. salary = 500,
  254. admin = 0,
  255. vote = false,
  256. hasLicense = false,
  257. category = "Emperors Guards",
  258. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("400") ply:SetGravity(1) return CLIENT end,
  259. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  260. customCheck = function(ply) return CLIENT or table.HasValue({"RG"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  261. CustomCheckFailMsg = "You Are Not White-listed."
  262. })
  263.  
  264. TEAM_SHADOWGUARD = DarkRP.createJob("Shadow Guard", {
  265. color = Color(168, 0, 0, 255),
  266. model = {"models/models/konnie/shadowguard/shadowguard.mdl"},
  267. description = [[You Are A Shadow Guard, Darth Vaders Personal Assassin/Guard.]],
  268. weapons = {"tfa_kotor_repeaten_2", "tfa_se14c_extended"},
  269. command = "SG",
  270. max = 6,
  271. salary = 500,
  272. admin = 0,
  273. vote = false,
  274. hasLicense = false,
  275. category = "Emperors Guards",
  276. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("550") ply:SetGravity(1) return CLIENT end,
  277. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  278. customCheck = function(ply) return CLIENT or table.HasValue({"SG"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  279. CustomCheckFailMsg = "You Are Not White-listed."
  280. })
  281.  
  282. TEAM_IMPERIALSOVEREIGNPROTECTOR = DarkRP.createJob("Imperial Sovereign Protector", {
  283. color = Color(168, 0, 0, 255),
  284. model = {"models/player/ven/carnor.mdl",},
  285. description = [[You Are A Imperial Sovereign Protector, You Guard The Emperors Vital Locations And Sometimes The Emperor Himself.]],
  286. weapons = {"tfa_kotor_repeaten_2", "tfa_se14c_extended"},
  287. command = "SP",
  288. max = 5,
  289. salary = 600,
  290. admin = 0,
  291. vote = false,
  292. hasLicense = false,
  293. category = "Emperors Guards",
  294. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("800") ply:SetGravity(1) return CLIENT end,
  295. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  296. customCheck = function(ply) return CLIENT or table.HasValue({"SP"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  297. CustomCheckFailMsg = "You Are Not White-listed."
  298. })
  299.  
  300. TEAM_THRAWN = DarkRP.createJob("Grand Admiral Thrawn", {
  301. color = Color(0, 164, 255, 255),
  302. model = {"models/player/heracles421/swbf_thrawn.mdl"}
  303. description = [[You Are Grand Admiral Thrawn, Leader Of The Imperial Fleet.]],
  304. weapons = {"tfa_se14c_extended", "tfa_dh17"},
  305. command = "Thrawn",
  306. max = 1,
  307. salary = 500,
  308. admin = 0,
  309. vote = false,
  310. hasLicense = false,
  311. category = "High Command",
  312. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("350") ply:SetGravity(1) return CLIENT end,
  313. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  314. customCheck = function(ply) return CLIENT or table.HasValue({"Thrawn"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  315. CustomCheckFailMsg = "You Are Not White-listed."
  316. })
  317.  
  318. TEAM_DEATHTROOPER = DarkRP.createJob("Death Trooper", {
  319. color = Color(0, 63, 105, 255),
  320. model = {
  321. "models/player/hydro/swbf_deathtrooper/swbf_deathtrooper2.mdl",
  322. "models/player/hydro/swbf_deathtrooper/swbf_deathtrooper.mdl",
  323. "models/player/hydro/swbf_deathtrooper/swbf_deathtrooper3.mdl"
  324. },
  325. description = [[You Are A Death Trooper, Personal Guard To High Ranking Navy/ISB]],
  326. weapons = {"tfa_e11d_extended", "tfa_se14c_extended"},
  327. command = "DT",
  328. max = 8,
  329. salary = 300,
  330. admin = 0,
  331. vote = false,
  332. hasLicense = false,
  333. category = "Death Troopers",
  334. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("400♣") ply:SetGravity(1) return CLIENT end,
  335. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  336. customCheck = function(ply) return CLIENT or table.HasValue({"DT"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  337. CustomCheckFailMsg = "You Are Not White-listed."
  338. })
  339.  
  340. TEAM_TARKIN = DarkRP.createJob("Grand Moff Tarkin", {
  341. color = Color(0, 171, 24, 255),
  342. model = {"models/player/heracles421/tarkin/moff_tarkin.mdl"},
  343. description = [[You Are Grand Moff Tarkin, You Command The Army.]],
  344. weapons = {"tfa_swch_de10" "tfa_dh17"},
  345. command = "Tarkin",
  346. max = 1,
  347. salary = 500,
  348. admin = 0,
  349. vote = false,
  350. hasLicense = false,
  351. category = "High Command",
  352. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("350") ply:SetGravity(1) return CLIENT end,
  353. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  354. customCheck = function(ply) return CLIENT or table.HasValue({"Tarkin"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  355. CustomCheckFailMsg = "You Are Not White-listed."
  356. })
  357.  
  358. TEAM_SCOUTTROOPER = DarkRP.createJob("Scout Trooper", {
  359. color = Color(0, 255, 242, 255),
  360. model = {
  361. "models/sono/swbf3/scout.mdl",
  362. "models/sono/swbf3/backpack.mdl",
  363. "models/sono/swbf3/forest.mdl",
  364. "models/sono/swbf3/desert.mdl"
  365. },
  366. description = [[You Are A Scout Troper, You Scout Ahead And Relay Information Back To The Main Army.]],
  367. weapons = {"tfa_dlt20a_extended","tfa_dh17_extended", "unfuckedgrapple"},
  368. command = "Scout",
  369. max = 15,
  370. salary = 40,
  371. admin = 0,
  372. vote = false,
  373. hasLicense = false,
  374. category = "Scout Troopers",
  375. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("170") ply:SetGravity(1) return CLIENT end,
  376. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  377. customCheck = function(ply) return CLIENT or table.HasValue({"Scout"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  378. CustomCheckFailMsg = "You Are Not White-listed."
  379. })
  380.  
  381. TEAM_SCOUTTROOPEROFFICER = DarkRP.createJob("Scout Trooper Officer", {
  382. color = Color(0, 255, 242, 255),
  383. model = {
  384. "models/sono/swbf3/officer.mdl",
  385. "models/sono/swbf3/forest.mdl",
  386. "models/sono/swbf3/desert.mdl"
  387. },
  388. description = [[You Are A Scout Troper Officer, You Scout Ahead And Relay Information Back To The Main Army.]],
  389. weapons = {"tfa_dlt20a_extended","tfa_dh17_extended", "unfuckedgrapple"},
  390. command = "Scoutofficer",
  391. max = 3,
  392. salary = 100,
  393. admin = 0,
  394. vote = false,
  395. hasLicense = false,
  396. category = "Scout Troopers",
  397. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("180") ply:SetGravity(1) return CLIENT end,
  398. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  399. customCheck = function(ply) return CLIENT or table.HasValue({"Scoutofficer"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  400. CustomCheckFailMsg = "You Are Not White-listed."
  401. })
  402.  
  403. TEAM_SCOUTTROOPERNCO = DarkRP.createJob("Scout Trooper Nco", {
  404. color = Color(0, 255, 242, 255),
  405. model = {
  406. "models/sono/swbf3/sergeant.mdl",
  407. "models/sono/swbf3/forest.mdl",
  408. "models/sono/swbf3/desert.mdl"
  409. },
  410. description = [[You Are A Scout Troper NCO, You Scout Ahead And Relay Information Back To The Main Army.]],
  411. weapons = {"tfa_dlt20a_extended","tfa_dh17_extended", "unfuckedgrapple"},
  412. command = "Scoutnco",
  413. max = 4,
  414. salary = 200,
  415. admin = 0,
  416. vote = false,
  417. hasLicense = false,
  418. category = "Scout Trooper",
  419. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("190") ply:SetGravity(1) return CLIENT end,
  420. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  421. customCheck = function(ply) return CLIENT or table.HasValue({"Scoutnco"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  422. CustomCheckFailMsg = "You Are Not White-listed."
  423. })
  424.  
  425. TEAM_SCOUTTROOPERCOMMANDER = DarkRP.createJob("Scout Trooper Commander", {
  426. color = Color(0, 255, 242, 255),
  427. model = {
  428. "models/sono/swbf3/commander.mdl",
  429. "models/sono/swbf3/forest.mdl",
  430. "models/sono/swbf3/desert.mdl"
  431. },
  432. description = [[You Are A Scout Troper Commander, You Scout Ahead And Relay Information Back To The Main Army.]],
  433. weapons = {"tfa_dlt20a_extended","tfa_dh17_extended", "unfuckedgrapple"},
  434. command = "Scoutcmdr",
  435. max = 1,
  436. salary = 240,
  437. admin = 0,
  438. vote = false,
  439. hasLicense = false,
  440. category = "Scout Troopers",
  441. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  442. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  443. customCheck = function(ply) return CLIENT or table.HasValue({"Scoutcmdr"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  444. CustomCheckFailMsg = "You Are Not White-listed."
  445. })
  446.  
  447. TEAM_SNOWTROOPER = DarkRP.createJob("Snow Trooper", {
  448. color = Color(0, 255, 242, 255),
  449. model = {
  450. "models/player/sono/starwars/snowheavy.mdl",
  451. "models/player/sono/starwars/snowtrooper.mdl",
  452. "models/player/sono/starwars/snowsniper.mdl"
  453. },
  454. description = [[You Are A Snow Trooper, You Are Equiped To Get Reconnaissance In Harsh Snowy Climents.]],
  455. weapons = {"tfa_kotor_repeaten_1","tfa_dh17_extended", "unfuckedgrapple"},
  456. command = "Snow",
  457. max = 15,
  458. salary = 40,
  459. admin = 0,
  460. vote = false,
  461. hasLicense = false,
  462. category = "Snow Troopers",
  463. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("170") ply:SetGravity(1) return CLIENT end,
  464. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  465. customCheck = function(ply) return CLIENT or table.HasValue({"Snow"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  466. CustomCheckFailMsg = "You Are Not White-listed."
  467. })
  468.  
  469. TEAM_SNOWTROOPEROFFICER = DarkRP.createJob("Snow Trooper Officer", {
  470. color = Color(0, 255, 242, 255),
  471. model = {
  472. "models/player/sono/starwars/snowheavy.mdl",
  473. "models/player/sono/starwars/snowtrooper.mdl",
  474. "models/player/sono/starwars/snowsniper.mdl"
  475. },
  476. description = [[You Are A Snow Trooper Officer, You Are Equiped To Get Reconnaissance In Harsh Snowy Climents.]],
  477. weapons = {"tfa_kotor_repeaten_1","tfa_dh17_extended", "unfuckedgrapple"},
  478. command = "Snowofficer",
  479. max = 3,
  480. salary = 100,
  481. admin = 0,
  482. vote = false,
  483. hasLicense = false,
  484. category = "Snow Troopers",
  485. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("190") ply:SetGravity(1) return CLIENT end,
  486. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  487. customCheck = function(ply) return CLIENT or table.HasValue({"Snowofficer"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  488. CustomCheckFailMsg = "You Are Not White-listed."
  489. })
  490.  
  491. TEAM_SNOWTROOPERNCO = DarkRP.createJob("Snow Trooper Nco", {
  492. color = Color(0, 255, 242, 255),
  493. model = {
  494. "models/player/sono/starwars/snowheavy.mdl",
  495. "models/player/sono/starwars/snowtrooper.mdl",
  496. "models/player/sono/starwars/snowsniper.mdl"
  497. },
  498. description = [[You Are A Snow Trooper NCO, You Are Equiped To Get Reconnaissance In Harsh Snowy Climents.]],
  499. weapons = {"tfa_kotor_repeaten_1","tfa_dh17_extended", "unfuckedgrapple"},
  500. command = "Snownco",
  501. max = 4,
  502. salary = 200,
  503. admin = 0,
  504. vote = false,
  505. hasLicense = false,
  506. category = "Snow Trooper",
  507. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("180") ply:SetGravity(1) return CLIENT end,
  508. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  509. customCheck = function(ply) return CLIENT or table.HasValue({"Snownco"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  510. CustomCheckFailMsg = "You Are Not White-listed."
  511. })
  512.  
  513. TEAM_SNOWTROOPERCOMMANDER = DarkRP.createJob("Snow Trooper Commander", {
  514. color = Color(0, 255, 242, 255),
  515. model = {"models/player/sono/starwars/snowflame.mdl"},
  516. description = [[You Are A Snow Trooper Commander, You Are Equiped To Get Reconnaissance In Harsh Snowy Climents.]],
  517. weapons = {"tfa_imperialdisruptor_extended","tfa_dh17_extended", "unfuckedgrapple", "tfa_kotor_repeaten_1"},
  518. command = "Snowcmdr",
  519. max = 1,
  520. salary = 240,
  521. admin = 0,
  522. vote = false,
  523. hasLicense = false,
  524. category = "Snow Troopers",
  525. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  526. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  527. customCheck = function(ply) return CLIENT or table.HasValue({"Snowcmdr"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  528. CustomCheckFailMsg = "You Are Not White-listed."
  529. })
  530.  
  531. TEAM_MEDTROOPER = DarkRP.createJob("Medical Trooper", {
  532. color = Color(250, 170, 255, 255),
  533. model = {"models/player/hydro/imperial_stormsurgeon/stormsurgeon.mdl"},
  534. description = [[You Are A Medical Trooper, You Keep Everyone Alive And Healthy On The Battle Field.]],
  535. weapons = {"tfa_e11", "weapon_bactainjector", "weapon_bactanade", "tfa_swch_dc17"},
  536. command = "Medical",
  537. max = 15,
  538. salary = 40,
  539. admin = 0,
  540. vote = false,
  541. hasLicense = false,
  542. category = "Medical Troopers",
  543. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  544. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  545. customCheck = function(ply) return CLIENT or table.HasValue({"Medical"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  546. CustomCheckFailMsg = "You Are Not White-listed."
  547. })
  548.  
  549. TEAM_MEDTROOPEROFFICER = DarkRP.createJob("Medical Trooper Officer", {
  550. color = Color(250, 170, 255, 255),
  551. model = {"models/player/hydro/imperial_stormsurgeon/stormsurgeon.mdl"},
  552. description = [[You Are A Medical Trooper Officer, You Keep Everyone Alive And Healthy On The Battle Field.]],
  553. weapons = {"tfa_e11", "weapon_bactainjector", "weapon_bactanade"},
  554. command = "Medicalofficer",
  555. max = 3,
  556. salary = 80,
  557. admin = 0,
  558. vote = false,
  559. hasLicense = false,
  560. category = "Medical troopers",
  561. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("270") ply:SetGravity(1) return CLIENT end,
  562. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  563. customCheck = function(ply) return CLIENT or table.HasValue({"Medicalofficer"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  564. CustomCheckFailMsg = "You Are Not White-listed."
  565. })
  566.  
  567. TEAM_MEDTROOPERSNCO = DarkRP.createJob("Medical Trooper Nco", {
  568. color = Color(250, 170, 255, 255),
  569. model = {"models/player/hydro/imperial_stormsurgeon/stormsurgeon.mdl"},
  570. description = [[You Are A Medical Trooper NCO, You Keep Everyone Alive And Healthy On The Battle Field.]],
  571. weapons = {"tfa_e11", "weapon_bactainjector", "weapon_bactanade"},
  572. command = "Medicalnco",
  573. max = 4,
  574. salary = 110,
  575. admin = 0,
  576. vote = false,
  577. hasLicense = false,
  578. category = "Medical troopers",
  579. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("250") ply:SetGravity(1) return CLIENT end,
  580. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  581. customCheck = function(ply) return CLIENT or table.HasValue({"Medicalnco"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  582. CustomCheckFailMsg = "You Are Not White-listed."
  583. })
  584.  
  585. TEAM_MEDICALTROOPERCOMMANDER = DarkRP.createJob("Medical Trooper Commander", {
  586. color = Color(250, 170, 255, 255),
  587. model = {"models/player/hydro/imperial_stormsurgeon/stormsurgeon.mdl"},
  588. description = [[You Are A Medical Trooper Commander, You Keep Everyone Alive And Healthy On The Battle Field.]],
  589. weapons = {"tfa_e11", "weapon_bactainjector", "weapon_bactanade"}
  590. command = "Medicalcmdr",
  591. max = 1,
  592. salary = 160,
  593. admin = 0,
  594. vote = false,
  595. hasLicense = false,
  596. category = "Medical troopers",
  597. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("285") ply:SetGravity(1) return CLIENT end,
  598. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  599. customCheck = function(ply) return CLIENT or table.HasValue({"Medicalcmdr"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  600. CustomCheckFailMsg = "You Are Not White-listed."
  601. })
  602.  
  603. TEAM_RANCORBASIC = DarkRP.createJob("Rancor Trooper", {
  604. color = Color(255, 171, 0, 255),
  605. model = {"models/player/venator/tk_arc/tk_blitz.mdl"},
  606. description = [[You Are Rancor Battalion, Elite Guard Of The General And Front Line Assult Special Forces.]],
  607. weapons = {"unfuckedgrapple", "tfa_752_dlt19", "tfa_dl44"},
  608. command = "Rancorbasic",
  609. max = 15,
  610. salary = 50,
  611. admin = 0,
  612. vote = false,
  613. hasLicense = false,
  614. category = "Rancor Troopers",
  615. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("300") ply:SetGravity(1) return CLIENT end,
  616. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  617. customCheck = function(ply) return CLIENT or table.HasValue({"Rancorbasic"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  618. CustomCheckFailMsg = "You Are Not White-listed."
  619. })
  620.  
  621. TEAM_RANCORHEAVY = DarkRP.createJob("Rancor Heavy Trooper", {
  622. color = Color(255, 171, 0, 255),
  623. model = {"models/player/venator/tk_arc/tk_havoc.mdl"},
  624. description = [[You Are Rancor Battalion Heavy, Elite Guard Of The General And Front Line Assult Special Forces.]],
  625. weapons = {"tfa_swch_z6_green", "tfa_752_dlt19", "tfa_dl44", "unfuckedgrapple")
  626. command = "Rancorheavy",
  627. max = 15,
  628. salary = 50,
  629. admin = 0,
  630. vote = false,
  631. hasLicense = false,
  632. category = "Rancorheavy",
  633. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("500") ply:SetGravity(1) return CLIENT end,
  634. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  635. customCheck = function(ply) return CLIENT or table.HasValue({"Rancorheavy"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  636. CustomCheckFailMsg = "You Are Not White-listed."
  637. })
  638.  
  639. TEAM_RANCORSNIPER = DarkRP.createJob("Rancor Sniper Trooper", {
  640. color = Color{255, 171, 0, 255},
  641. model = {"models/player/venator/tk_arc/tk_colt.mdl"},
  642. description = [[You Are Rancor Battalion Sniper, Elite Guard Of The General And Front Line Assult Special Forces.]],
  643. weapons = {"tfa_imperialdisruptor_extended", "tfa_e11", "unfuckedgrapple", "tfa_dl44"},
  644. command = "Rancorsniper",
  645. max = 15,
  646. salary = 50,
  647. admin = 0,
  648. vote = false,
  649. hasLicense = false,
  650. category = "Rancor Troopers",
  651. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("240") ply:SetGravity(1) return CLIENT end,
  652. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  653. customCheck = function(ply) return CLIENT or table.HasValue({"Rancorsniper"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  654. CustomCheckFailMsg = "You Are Not White-listed."
  655. })
  656.  
  657. TEAM_RANCORNCO = DarkRP.createJob("Rancor Trooper Nco", {
  658. color = Color(255, 171, 0, 255),
  659. model = {
  660. "models/player/venator/tk_arc/tk_blitz.mdl",
  661. "models/player/venator/tk_arc/tk_colt.mdl",
  662. "models/player/venator/tk_arc/tk_havoc.mdl"
  663. },
  664. description = [[You Are Rancor Battalion NCO, Elite Guard Of The General And Front Line Assult Special Forces.]],
  665. weapons = {"tfa_imperialdisruptor_extended", "tfa_e11", ""tfa_swch_z6_green"},
  666. command = "Rancornco",
  667. max = 6,
  668. salary = 80,
  669. admin = 0,
  670. vote = false,
  671. hasLicense = false,
  672. category = "Rancor Troopers",
  673. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("425") ply:SetGravity(1) return CLIENT end,
  674. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  675. customCheck = function(ply) return CLIENT or table.HasValue({"Scoutnco"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  676. CustomCheckFailMsg = "You Are Not White-listed."
  677. })
  678.  
  679. TEAM_RANCORCOMMANDER = DarkRP.createJob("Rancor Trooper Commander", {
  680. color = Color(255, 171, 0, 255),
  681. model = {"models/player/venator/tk_arc/tk_arc.mdl"},
  682. description = [[You Are Rancor Battalion Commander, Elite Guard Of The General And Front Line Assult Special Forces.]],
  683. weapons = {"tfa_kotor_br_1", "tfa_sw_dual_dl44", "tfa_swch_z6_green"},
  684. command = "Rancorcmdr",
  685. max = 6,
  686. salary = 150,
  687. admin = 0,
  688. vote = false,
  689. hasLicense = false,
  690. category = "Rancor Trooper",
  691. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("570") ply:SetGravity(1) return CLIENT end,
  692. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  693. customCheck = function(ply) return CLIENT or table.HasValue({"Rancorcmdr"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  694. CustomCheckFailMsg = "You Are Not White-listed."
  695. })
  696.  
  697. TEAM_SHADOWTROOPER = DarkRP.createJob("Shadow Trooper", {
  698. color = Color(255, 122, 0, 255),
  699. model = {"models/player/blitz/troopers/trooper.mdl"},
  700. description = [[You Are A Shadow Trooper, Assassins And Ambush Specialists.]],
  701. weapons = {"tfa_swch_e5", "tfa_dh17_extended", "weapon_camo"},
  702. command = "Shadowtrooper",
  703. max = 15,
  704. salary = 50,
  705. admin = 0,
  706. vote = false,
  707. hasLicense = false,
  708. category = "Shadow troopers",
  709. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  710. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  711. customCheck = function(ply) return CLIENT or table.HasValue({"Shadowtrooper"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  712. CustomCheckFailMsg = "You Are Not White-listed."
  713. })
  714.  
  715. TEAM_SHADOWTROOPERNCO = DarkRP.createJob{"Shadow Trooper Nco", {
  716. color = Color{255, 122, 0, 255},
  717. model = {"models/player/blitz/troopers/sergeant.mdl"},
  718. description = [[You Are A Shadow Trooper NCO, Assassins And Ambush Specialists.]],
  719. weapons = {"tfa_swch_e5", "tfa_dh17_extended", "weapon_camo"},
  720. command = "Shadowtroopernco",
  721. max = 6,
  722. salary = 50,
  723. admin = 0,
  724. vote = false,
  725. hasLicense = false,
  726. category = "Shadow troopers",
  727. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("225") ply:SetGravity(1) return CLIENT end,
  728. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  729. customCheck = function(ply) return CLIENT or table.HasValue({""}, ply:GetUserGroup()) or ply:IsAdmin() end,
  730. CustomCheckFailMsg = "You Are Not White-listed."
  731. })
  732.  
  733. TEAM_SHADOWTROOPEROFFICER = DarkRP.createJob(♣"Shadow Trooper Officer", {
  734. color = Color(255, 122, 0, 255),
  735. model = {"models/player/blitz/troopers/officer.mdl"},
  736. description = [[You Are A Shadow Trooper Officer, Assassins And Ambush Specialists.]],
  737. weapons = {"tfa_swch_e5", "tfa_dh17_extended", "weapon_camo"},
  738. command = "Shadowofficer",
  739. max = 3,
  740. salary = 100,
  741. admin = 0,
  742. vote = false,
  743. hasLicense = false,
  744. category = "Shadow troopers",
  745. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("245") ply:SetGravity(1) return CLIENT end,
  746. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  747. customCheck = function(ply) return CLIENT or table.HasValue({"Shadowofficer"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  748. CustomCheckFailMsg = "You Are Not White-listed."
  749. })
  750.  
  751. TEAM_SHADOWTROOPERCOMMANDER = DarkRP.createJob("Shadow Trooper Commander", {
  752. color = Color(255, 122, 0, 255),
  753. model = {"models/player/blitz/troopers/commander.mdl"},
  754. description = [[You Are A Shadow Trooper Commander, Assassins And Ambush Specialists.]],
  755. weapons = {"tfa_swch_e5", "tfa_dh17_extended", "weapon_camo"},
  756. command = "Shadowcmdr",
  757. max = 1,
  758. salary = 150,
  759. admin = 0,
  760. vote = false,
  761. hasLicense = false,
  762. category = "Shadow troopers",
  763. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("270") ply:SetGravity(1) return CLIENT end,
  764. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  765. customCheck = function(ply) return CLIENT or table.HasValue({"Shadowcmdr"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  766. CustomCheckFailMsg = "You Are Not White-listed."
  767. })
  768.  
  769. TEAM_SHOCKTROOPER = DarkRP.createJob("Shock Trooper", {
  770. color = Color(255, 0, 0, 255),
  771. model = {"models/sono/shocktrooper/trooper.mdl"},
  772. description = [[You Are A Shock Trooper, You Maintain Order On The Ship.]],
  773. weapons = {"stunstick", "tfa_752_dlt19", "arrest_stick"},
  774. command = "shock",
  775. max = 15,
  776. salary = 50,
  777. admin = 0,
  778. vote = false,
  779. hasLicense = false,
  780. category = "Shock troopers",
  781. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1.5) ply:SetHealth("250") ply:SetGravity(1) return CLIENT end,
  782. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  783. customCheck = function(ply) return CLIENT or table.HasValue({"Shock"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  784. CustomCheckFailMsg = "You Are Not White-listed."
  785. })
  786.  
  787. TEAM_SHOCKTROOPERNCO = DarkRP.createJob("Shock Trooper Nco", {
  788. color = Color(255, 0, 0, 255),
  789. model = {"models/sono/shocktrooper/sergeant.mdl"},
  790. description = [[You Are A Shock Trooper NCO, You Maintain Order On The Ship.]],
  791. weapons = {"stunstick", "tfa_752_dlt19", "arrest_stick"},
  792. command = "shocknco",
  793. max = 6,
  794. salary = 130,
  795. admin = 0,
  796. vote = false,
  797. hasLicense = false,
  798. category = "Shock troopers",
  799. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1.5) ply:SetHealth("300") ply:SetGravity(1) return CLIENT end,
  800. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  801. customCheck = function(ply) return CLIENT or table.HasValue({"Shocknco"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  802. CustomCheckFailMsg = "You Are Not White-listed."
  803. })
  804.  
  805. TEAM_SHOCKTROOPEROFFICER = DarkRP.createJob("Shock Trooper Officer", {
  806. color = Color(255, 0, 0, 255),
  807. model = {"models/sono/shocktrooper/officer.mdl"},
  808. description = [[You Are A Shock Trooper Officer, You Maintain Order On The Ship.]],
  809. weapons = {"tfa_swch_e5", "tfa_dh17_extended", "arrest_stick"},
  810. command = "Shockofficer",
  811. max = 3,
  812. salary = 210,
  813. admin = 0,
  814. vote = false,
  815. hasLicense = false,
  816. category = "Shock troopers",
  817. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1.5) ply:SetHealth("350") ply:SetGravity(1) return CLIENT end,
  818. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  819. customCheck = function(ply) return CLIENT or table.HasValue({"Shockofficer"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  820. CustomCheckFailMsg = "You Are Not White-listed."
  821. })
  822.  
  823. TEAM_SHOCKTROOPERCOMMANDER = DarkRP.createJob("Shock Trooper Commander", {
  824. color = Color(255, 0, 0, 255),
  825. model = {"models/sono/shocktrooper/commander.mdl"},
  826. description = [[You Are A Shock Trooper Commander, You Maintain Order On The Ship.]],
  827. weapons = {"stunstick", "tfa_752_dlt19", "arrest_stick"},
  828. command = "Shockcmdr",
  829. max = 1,
  830. salary = 240,
  831. admin = 0,
  832. vote = false,
  833. hasLicense = false,
  834. category = "Shock troopers",
  835. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1.5) ply:SetHealth("400") ply:SetGravity(1) return CLIENT end,
  836. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  837. customCheck = function(ply) return CLIENT or table.HasValue({"Shockcmdr"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  838. CustomCheckFailMsg = "You Are Not White-listed."
  839. })
  840.  
  841. TEAM_AGENT = DarkRP.createJob("ISB Agent", {
  842. color = Color(255, 247, 205, 255),
  843. model = {"models/player/swbf_imperial_officer_isbofficerv2/swbf_imperial_officer_isbofficerv2.mdl"},
  844. description = [[You Are A Agent Of ISB, You Make Sure There Are No Secrets WithIn The Empire And Interrogate Captives.]],
  845. weapons = {"stunstick", "tfa_kotor_bp_4", "arrest_stick"},
  846. command = "ISBagent",
  847. max = 10,
  848. salary = 80,
  849. admin = 0,
  850. vote = false,
  851. hasLicense = false,
  852. category = "ISB",
  853. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  854. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  855. customCheck = function(ply) return CLIENT or table.HasValue({"ISBagent"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  856. CustomCheckFailMsg = "You Are Not White-listed."
  857. })
  858.  
  859. TEAM_ISBCORPORAL = DarkRP.createJob("ISB Corporal", {
  860. color = Color(255, 247, 205, 255),
  861. model = {"models/player/swbf_imperial_officer_isbofficerv2/swbf_imperial_officer_isbofficerv2.mdl"},
  862. description = [[You Are A Agent Of ISB, You Make Sure There Are No Secrets WithIn The Empire And Interrogate Captives.]],
  863. weapons = {"stunstick", "tfa_kotor_bp_4", "arrest_stick"},
  864. command = "ISBCorporal",
  865. max = 10,
  866. salary = 120,
  867. admin = 0,
  868. vote = false,
  869. hasLicense = false,
  870. category = "ISB",
  871. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  872. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  873. customCheck = function(ply) return CLIENT or table.HasValue({"ISBCorporal"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  874. CustomCheckFailMsg = "You Are Not White-listed."
  875. })
  876.  
  877. TEAM_ISBSERGANT = DarkRP.createJob("ISB Corporal", {
  878. color = Color(255, 247, 205, 255),
  879. model = {"models/player/swbf_imperial_officer_isbofficerv2/swbf_imperial_officer_isbofficerv2.mdl"},
  880. description = [[You Are A Agent Of ISB, You Make Sure There Are No Secrets WithIn The Empire And Interrogate Captives.]],
  881. weapons = {"stunstick", "tfa_kotor_bp_4", "arrest_stick"},
  882. command = "ISBSergant",
  883. max = 10,
  884. salary = 130,
  885. admin = 0,
  886. vote = false,
  887. hasLicense = false,
  888. category = "Agent",
  889. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  890. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  891. customCheck = function(ply) return CLIENT or table.HasValue({"ISBSergant"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  892. CustomCheckFailMsg = "You Are Not White-listed."
  893. })
  894.  
  895. TEAM_ISBSTAFFCHIEF = DarkRP.createJob("ISB Staff Chief", {
  896. color = Color(255, 247, 205, 255),
  897. model = {"models/player/swbf_imperial_isb_agentv2/swbf_imperial_isb_agentv2.mdl"},
  898. description = [[You Are A Agent Of ISB, You Make Sure There Are No Secrets WithIn The Empire And Interrogate Captives.]],
  899. weapons = {"stunstick", "tfa_kotor_bp_4", "arrest_stick"},
  900. command = "Staffchief",
  901. max = 10,
  902. salary = 140,
  903. admin = 0,
  904. vote = false,
  905. hasLicense = false,
  906. category = "ISB",
  907. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  908. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  909. customCheck = function(ply) return CLIENT or table.HasValue({"Staffchief"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  910. CustomCheckFailMsg = "You Are Not White-listed."
  911. })
  912.  
  913. TEAM_ISBMASTERCHEIF = DarkRP.createJob("ISB Master Chief", {
  914. color = Color(255, 247, 205, 255),
  915. model = {"models/player/swbf_imperial_isb_agentv2/swbf_imperial_isb_agentv2.mdl"},
  916. description = [[You Are A Agent Of ISB, You Make Sure There Are No Secrets WithIn The Empire And Interrogate Captives.]],
  917. weapons = {"stunstick", "tfa_kotor_bp_4", "arrest_stick"},
  918. command = "Mastercheif",
  919. max = 10,
  920. salary = 150,
  921. admin = 0,
  922. vote = false,
  923. hasLicense = false,
  924. category = "ISB",
  925. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  926. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  927. customCheck = function(ply) return CLIENT or table.HasValue({"Mastercheif"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  928. CustomCheckFailMsg = "You Are Not White-listed."
  929. })
  930.  
  931. TEAM_ISBCONSTABLE = DarkRP.createJob("ISB Constable", {
  932. color = Color(255, 247, 205, 255),
  933. model = {"models/player/swbf_imperial_isb_agentv2/swbf_imperial_isb_agentv2.mdl"},
  934. description = [[You Are A Agent Of ISB, You Make Sure There Are No Secrets WithIn The Empire And Interrogate Captives.]],
  935. weapons = {"stunstick", "tfa_kotor_bp_4", "arrest_stick"},
  936. command = "Constable",
  937. max = 10,
  938. salary = 160,
  939. admin = 0,
  940. vote = false,
  941. hasLicense = false,
  942. category = "ISB",
  943. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  944. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  945. customCheck = function(ply) return CLIENT or table.HasValue({"Constable"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  946. CustomCheckFailMsg = "You Are Not White-listed."
  947. })
  948.  
  949. TEAM_ISBSENIORCONSTABLE = DarkRP.createJob("ISB Senior Constable", {
  950. color = Color(255, 247, 205, 255),
  951. model = {"models/player/swbf_imperial_officer_commodorev2/swbf_imperial_officer_commodorev2.mdl"},
  952. description = [[You Are A Agent Of ISB, You Make Sure There Are No Secrets WithIn The Empire And Interrogate Captives.]],
  953. weapons = {"stunstick", "tfa_kotor_bp_4", "arrest_stick"},
  954. command = "Seniorconstable",
  955. max = 10,
  956. salary = 170,
  957. admin = 0,
  958. vote = false,
  959. hasLicense = false,
  960. category = "ISB",
  961. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  962. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  963. customCheck = function(ply) return CLIENT or table.HasValue({"Seniorconstable"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  964. CustomCheckFailMsg = "You Are Not White-listed."
  965. })
  966.  
  967. TEAM_ISBSENIORAGENT = DarkRP.createJob("ISB Senior Agent", {
  968. color = Color(255, 247, 205, 255),
  969. model = {"models/player/swbf_imperial_officer_commodorev2/swbf_imperial_officer_commodorev2.mdl"},
  970. description = [[You Are A Agent Of ISB, You Make Sure There Are No Secrets WithIn The Empire And Interrogate Captives.]],
  971. weapons = {"stunstick", "tfa_kotor_bp_4", "arrest_stick"},
  972. command = "Senioragent",
  973. max = 10,
  974. salary = 180,
  975. admin = 0,
  976. vote = false,
  977. hasLicense = false,
  978. category = "ISB",
  979. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  980. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  981. customCheck = function(ply) return CLIENT or table.HasValue({"Senioragent"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  982. CustomCheckFailMsg = "You Are Not White-listed."
  983. })
  984.  
  985. TEAM_ISBSTAFFAGENT = DarkRP.createJob("ISB Staff Agent", {
  986. color = Color(255, 247, 205, 255),
  987. model = {"models/player/swbf_imperial_officer_commodorev2/swbf_imperial_officer_commodorev2.mdl"},
  988. description = [[You Are A Agent Of ISB, You Make Sure There Are No Secrets WithIn The Empire And Interrogate Captives.]],
  989. weapons = {"stunstick", "tfa_kotor_bp_4", "arrest_stick"},
  990. command = "Staffagent",
  991. max = 10,
  992. salary = 190,
  993. admin = 0,
  994. vote = false,
  995. hasLicense = false,
  996. category = "ISB",
  997. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  998. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  999. customCheck = function(ply) return CLIENT or table.HasValue({"Staffagent"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1000. CustomCheckFailMsg = "You Are Not White-listed."
  1001. })
  1002.  
  1003. TEAM_ISBMASTERAGENT = DarkRP.createJob("ISB Master Agent", {
  1004. color = Color(255, 247, 205, 255),
  1005. model = {"models/player/swbf_imperial_officer_commodorev2/swbf_imperial_officer_commodorev2.mdll"},
  1006. description = [[You Are A Agent Of ISB, You Make Sure There Are No Secrets WithIn The Empire And Interrogate Captives.]],
  1007. weapons = {"stunstick", "tfa_kotor_bp_4", "arrest_stick"},
  1008. command = "Masteragent",
  1009. max = 10,
  1010. salary = 200,
  1011. admin = 0,
  1012. vote = false,
  1013. hasLicense = false,
  1014. category = "ISB",
  1015. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1016. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1017. customCheck = function(ply) return CLIENT or table.HasValue({"Masteragent"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1018. CustomCheckFailMsg = "You Are Not White-listed."
  1019. })
  1020.  
  1021. TEAM_ISBCOORDINATOR = DarkRP.createJob("ISB Coordinator", {
  1022. color = Color(255, 247, 205, 255),
  1023. model = {"models/player/swbf_imperial_officer_commodorev2/swbf_imperial_officer_commodorev2.mdl"},
  1024. description = [[You Are A Agent Of ISB, You Make Sure There Are No Secrets WithIn The Empire And Interrogate Captives.]],
  1025. weapons = {"stunstick", "tfa_kotor_bp_4", "arrest_stick"},
  1026. command = "Coordinator",
  1027. max = 5,
  1028. salary = 210,
  1029. admin = 0,
  1030. vote = false,
  1031. hasLicense = false,
  1032. category = "ISB",
  1033. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1034. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1035. customCheck = function(ply) return CLIENT or table.HasValue("Coordinator"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1036. CustomCheckFailMsg = "You Are Not White-listed."
  1037. })
  1038.  
  1039. TEAM_ISBCHIEF = DarkRP.createJob("ISB Chief", {
  1040. color = Color(255, 247, 205, 255),
  1041. model = {"models/player/swbf_imperial_officer_commodorev2/swbf_imperial_officer_commodorev2.mdl"},
  1042. description = [[You Are A Agent Of ISB, You Make Sure There Are No Secrets WithIn The Empire And Interrogate Captives.]],
  1043. weapons = {"stunstick", "tfa_kotor_bp_4", "arrest_stick"},
  1044. command = "ISBchief",
  1045. max = 5,
  1046. salary = 220,
  1047. admin = 0,
  1048. vote = false,
  1049. hasLicense = false,
  1050. category = "ISB",
  1051. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1052. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1053. customCheck = function(ply) return CLIENT or table.HasValue({"ISBchief"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1054. CustomCheckFailMsg = "You Are Not White-listed."
  1055. })
  1056.  
  1057. TEAM_ISBCHIEFCOORDINATOR = DarkRP.createJob("ISB Chief Coordinator", {
  1058. color = Color(255, 247, 205, 255),
  1059. model = {"models/sono/shocktrooper/commander.mdl"},
  1060. description = [[You Are A Agent Of ISB, You Make Sure There Are No Secrets WithIn The Empire And Interrogate Captives.]],
  1061. weapons = {"stunstick", "tfa_kotor_bp_4", "arrest_stick"},
  1062. command = "chiefcoordinator",
  1063. max = 5,
  1064. salary = 220,
  1065. admin = 0,
  1066. vote = false,
  1067. hasLicense = false,
  1068. category = "ISB",
  1069. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1070. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1071. customCheck = function(ply) return CLIENT or table.HasValue({"chiefcoordinator"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1072. CustomCheckFailMsg = "You Are Not White-listed."
  1073. })
  1074.  
  1075. TEAM_ISBDEPUTYDIRECTOR = DarkRP.createJob("ISB Deputy Director", {
  1076. color = Color(255, 247, 205, 255),
  1077. model = {"models/player/swbf_imperial_officer_commodorev2/swbf_imperial_officer_commodorev2.mdl"},
  1078. description = [[You Are A Agent Of ISB, You Make Sure There Are No Secrets WithIn The Empire And Interrogate Captives.]],
  1079. weapons = {"stunstick", "tfa_kotor_bp_4", "arrest_stick"},
  1080. command = "Deputydirector",
  1081. max = 2,
  1082. salary = 230,
  1083. admin = 0,
  1084. vote = false,
  1085. hasLicense = false,
  1086. category = "ISB",
  1087. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1088. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1089. customCheck = function(ply) return CLIENT or table.HasValue({"Deputydirector"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1090. CustomCheckFailMsg = "You Are Not White-listed."
  1091. })
  1092.  
  1093. TEAM_ISBDIRECTOR = DarkRP.createJob("ISB Director", {
  1094. color = Color(255, 247, 205, 255),
  1095. model = {"models/player/swbf_imperial_officer_commodorev2/swbf_imperial_officer_commodorev2.mdl"},
  1096. description = [[You Are The Leader Of ISB, You Make Sure ISB Runs Smoothly And Report Directly To High Command.]],
  1097. weapons = {"stunstick", "tfa_kotor_bp_4", "arrest_stick"},
  1098. command = "Director",
  1099. max = 1,
  1100. salary = 240,
  1101. admin = 0,
  1102. vote = false,
  1103. hasLicense = false,
  1104. category = "ISB",
  1105. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1106. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1107. customCheck = function(ply) return CLIENT or table.HasValue({"Director"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1108. CustomCheckFailMsg = "You Are Not White-listed."
  1109. })
  1110.  
  1111. TEAM_ENGINEER = DarkRP.createJob{"Engineer Troopers", {
  1112. color = Color(0, 255, 181, 255),
  1113. model = {"models/player/ie_dt/visionrp/trooper.mdl"},
  1114. description = [[You Are 84th Comany Engineer, you Make Sure The Ship Is Running At Peak Performance.]],
  1115. weapons = {"tfa_e11_b", "tfa_dh17_extended"},
  1116. command = "84thtrooper",
  1117. max = 15,
  1118. salary = 40,
  1119. admin = 0,
  1120. vote = false,
  1121. hasLicense = false,
  1122. category = "84th Company",
  1123. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1124. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1125. customCheck = function(ply) return CLIENT or table.HasValue({"84thtrooper"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1126. CustomCheckFailMsg = "You Are Not White-listed."
  1127. })
  1128.  
  1129. TEAM_ENGINEERNCO = DarkRP.createJob("Engineer Nco Troopers", {
  1130. color = Color(0, 255, 181, 255),
  1131. model = {"models/player/ie_dt/visionrp/sergeant.mdl"},
  1132. description = [[You Are 84th Comany Engineer NCO, you Make Sure The Ship Is Running At Peak Performance.]],
  1133. weapons = {"tfa_e11_b", "tfa_dh17_extended"},
  1134. command = "84thnco",
  1135. max = 6,
  1136. salary = 60,
  1137. admin = 0,
  1138. vote = false,
  1139. hasLicense = false,
  1140. category = "84th Company",
  1141. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("220") ply:SetGravity(1) return CLIENT end,
  1142. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1143. customCheck = function(ply) return CLIENT or table.HasValue({"84thnco"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1144. CustomCheckFailMsg = "You Are Not White-listed."
  1145. })
  1146.  
  1147. TEAM_ENGINEERXO = DarkRP.createJob("Engineer Xo Troopers", {
  1148. color = Color(0, 255, 181, 255),
  1149. model = {"models/player/ie_dt/visionrp/officer.mdl"},
  1150. description = [[You Are 84th Comany Engineer XO, you Make Sure The Ship Is Running At Peak Performance.]],
  1151. weapons = {"tfa_e11_b", "tfa_dh17_extended"},
  1152. command = "84thxo",
  1153. max = 2,
  1154. salary = 80,
  1155. admin = 0,
  1156. vote = false,
  1157. hasLicense = false,
  1158. category = "84th Company",
  1159. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("240") ply:SetGravity(1) return CLIENT end,
  1160. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1161. customCheck = function(ply) return CLIENT or table.HasValue({"84thxo"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1162. CustomCheckFailMsg = "You Are Not White-listed."
  1163. })
  1164.  
  1165. TEAM_ENGINEERCOMMANDER = DarkRP.createJob("Engineer Commander", {
  1166. color = Color(0, 255, 181, 255),
  1167. model = {"models/player/ie_dt/visionrp/officer.mdl"},
  1168. description = [[You Are 84th Comany Engineer Commander, you Make Sure The Ship Is Running At Peak Performance.]],
  1169. weapons = {"tfa_e11_b", "tfa_dh17_extended"},
  1170. command = "84thcmdr",
  1171. max = 1,
  1172. salary = 120,
  1173. admin = 0,
  1174. vote = false,
  1175. hasLicense = false,
  1176. category = "84th Company",
  1177. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("300") ply:SetGravity(1) return CLIENT end,
  1178. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1179. customCheck = function(ply) return CLIENT or table.HasValue({"84thcmdr"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1180. CustomCheckFailMsg = "You Are Not White-listed."
  1181. })
  1182.  
  1183. TEAM_NAVY = DarkRP.createJob("Navy Trooper NCO", {
  1184. color = Color(80, 45, 0, 255),
  1185. model = {}
  1186. description = [[You Are A Navy Trooper NCO, You Guard The Bridge.]],
  1187. weapons = {"tfa_relby", "tfa_dh17"},
  1188. command = "NavytrooperNCO",
  1189. max = 10,
  1190. salary = 400,
  1191. admin = 0,
  1192. vote = false,
  1193. hasLicense = false,
  1194. category = "Navy Troopers",
  1195. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("240") ply:SetGravity(1) return CLIENT end,
  1196. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1197. customCheck = function(ply) return CLIENT or table.HasValue({"NavytrooperNCO"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1198. CustomCheckFailMsg = "You Are Not White-listed."
  1199. })
  1200.  
  1201. TEAM_NAVY = DarkRP.createJob("Navy Trooper", {
  1202. color = Color(0, 184, 8, 255),
  1203. model = {},
  1204. description = [[You Are A Navy Trooper, You Guard The Bridge.]],
  1205. weapons = {"tfa_relby", "tfa_dh17"},
  1206. command = "Navytrooper",
  1207. max = 10,
  1208. salary = 400,
  1209. admin = 0,
  1210. vote = false,
  1211. hasLicense = false,
  1212. category = "Navy Troopers",
  1213. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("240") ply:SetGravity(1) return CLIENT end,
  1214. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1215. customCheck = function(ply) return CLIENT or table.HasValue({"Navytrooper"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1216. CustomCheckFailMsg = "You Are Not White-listed."
  1217. })
  1218.  
  1219. TEAM_501STCOMMANDER = DarkRP.createJob("501st Commander", {
  1220. color = Color(38, 0, 255, 255),
  1221. model = {"models/player/venator/tk_arc/tk_vertigo.mdl"},
  1222. description = [[You are Commander of the 501st.]],
  1223. weapons = {"tfa_relby", "tfa_dl44", "tfa_752_dlt19"},
  1224. command = "501stcmdr",
  1225. max = 1,
  1226. salary = 400,
  1227. admin = 0,
  1228. vote = false,
  1229. hasLicense = false,
  1230. category = "501st",
  1231. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("300") ply:SetGravity(1) return CLIENT end,
  1232. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1233. customCheck = function(ply) return CLIENT or table.HasValue({"501stcmdr"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1234. CustomCheckFailMsg = "You Are Not White-listed."
  1235. })
  1236.  
  1237. TEAM_501STCOLONEL = DarkRP.createJob("501st Colonel", {
  1238. color = Color(38, 0, 255, 255),
  1239. model = {"models/player/hydro/tk_commander/tk_commander.mdl"},
  1240. description = [[You are Colonel in the 501st.]],
  1241. weapons = {"tfa_relby", "tfa_dl44", "tfa_752_dlt19"},
  1242. command = "501stcolonel",
  1243. max = 2,
  1244. salary = 350,
  1245. admin = 0,
  1246. vote = false,
  1247. hasLicense = false,
  1248. category = "501st",
  1249. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("300") ply:SetGravity(1) return CLIENT end,
  1250. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1251. customCheck = function(ply) return CLIENT or table.HasValue({"501stcolonel"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1252. CustomCheckFailMsg = "You Are Not White-listed."
  1253. })
  1254.  
  1255. TEAM_501STOFFICER = DarkRP.createJob{"501st Officer", {
  1256. color = Color(38, 0, 255, 255),
  1257. model = {"models/player/hydro/tk_commander/tk_commander.mdl"},
  1258. description = [[You are an officer in the 501st.]],
  1259. weapons = {"tfa_relby", "tfa_dl44", "tfa_752_dlt19"},
  1260. command = "501stOfficer",
  1261. max = 4,
  1262. salary = 350,
  1263. admin = 0,
  1264. vote = false,
  1265. hasLicense = false,
  1266. category = "501st",
  1267. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("300") ply:SetGravity(1) return CLIENT end,
  1268. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1269. customCheck = function(ply) return CLIENT or table.HasValue({"501stOfficer"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1270. CustomCheckFailMsg = "You Are Not White-listed."
  1271. })
  1272.  
  1273. TEAM_501STTROOPER = DarkRP.createJob{"501st Trooper", {
  1274. color = Color(38, 0, 255, 255),
  1275. model = {"models/player/hydro/tk_commander/tk_commander.mdl"},
  1276. description = [[You are part of 501st.]],
  1277. weapons = {"tfa_relby", "tfa_dl44", "tfa_752_dlt19"},
  1278. command = "501st",
  1279. max = 15,
  1280. salary = 300,
  1281. admin = 0,
  1282. vote = false,
  1283. hasLicense = false,
  1284. category = "501st",
  1285. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("300") ply:SetGravity(1) return CLIENT end,
  1286. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1287. customCheck = function(ply) return CLIENT or table.HasValue({"501st"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1288. CustomCheckFailMsg = "You Are Not White-listed.",
  1289. })
  1290.  
  1291. TEAM_FLEETADMIRALS = DarkRP.createJob(="Admirals Of the Fleet", {
  1292. color = Color(0, 184, 8, 255),
  1293. model = {
  1294. "models/player/swbf_imperial_officer_admiralv2/swbf_imperial_officer_admiralv2.mdl",
  1295. "models/player/swbf_imperial_officer_grand_admiralv2/swbf_imperial_officer_grand_admiralv2.mdl"
  1296. },
  1297. description = [[You Are An Admiral Of The Imperial Navy, You Make Sure The Navy Are Doing Their Job Properly.]],
  1298. weapons = {"tfa_swch_de10", "tfa_dh17"},
  1299. command = "admiral",
  1300. max = 10,
  1301. salary = 300,
  1302. admin = 0,
  1303. vote = false,
  1304. hasLicense = false,
  1305. category = "Fleet",
  1306. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1307. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1308. customCheck = function(ply) return CLIENT or table.HasValue({"admiral"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1309. CustomCheckFailMsg = "You Are Not White-listed."
  1310. })
  1311.  
  1312. TEAM_JUINORCREWMAN = DarkRP.createJob("Junior Crewman", {
  1313. color = Color(0, 184, 8, 255),
  1314. model = {"models/player/swbf_imperial_officer_lieutenantv2/swbf_imperial_officer_lieutenantv2.mdl"},
  1315. description = [[You Are A Navial Officer, You And Your Fellow Navy Make Sure The Ship Flys Properly.]],
  1316. weapons = {"tfa_swch_de10", "tfa_dh17"},
  1317. command = "Navyjcrewman",
  1318. max = 15,
  1319. salary = 300,
  1320. admin = 0,
  1321. vote = false,
  1322. hasLicense = false,
  1323. category = "Fleet",
  1324. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1325. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1326. customCheck = function(ply) return CLIENT or table.HasValue({"Navyjcrewman"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1327. CustomCheckFailMsg = "You Are Not White-listed."
  1328. })
  1329.  
  1330. TEAM_CREWMAN = DarkRP.createJob("Navy Crewman", {
  1331. color = Color(0, 184, 8, 255),
  1332. model = {"models/player/swbf_imperial_officer_ensignv2/swbf_imperial_officer_ensignv2.mdl"},
  1333. description = [[You Are A Navial Officer, You And Your Fellow Navy Make Sure The Ship Flys Properly.]],
  1334. weapons = {"tfa_swch_de10", "tfa_dh17"},
  1335. command = "Navycrewman",
  1336. max = 15,
  1337. salary = 300,
  1338. admin = 0,
  1339. vote = false,
  1340. hasLicense = false,
  1341. category = "Fleet",
  1342. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1343. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1344. customCheck = function(ply) return CLIENT or table.HasValue({"Navycrewman"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1345. CustomCheckFailMsg = "You Are Not White-listed.",
  1346. })
  1347.  
  1348. TEAM_NAVYCHIEF = DarkRP.createJob("Navy Chief", {
  1349. color = Color(0, 184, 8, 255),
  1350. model = {"models/player/swbf_imperial_officer_ensignv2/swbf_imperial_officer_ensignv2.mdl"},
  1351. description = [[You Are A Navial Officer, You And Your Fellow Navy Make Sure The Ship Flys Properly.]],
  1352. weapons = {"tfa_swch_de10", "tfa_dh17"},
  1353. command = "Navychief",
  1354. max = 15,
  1355. salary = 300,
  1356. admin = 0,
  1357. vote = false,
  1358. hasLicense = false,
  1359. category = "Fleet",
  1360. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1361. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1362. customCheck = function(ply) return CLIENT or table.HasValue({"Navychief"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1363. CustomCheckFailMsg = "You Are Not White-listed."
  1364.  
  1365. })
  1366.  
  1367. TEAM_NAVYMASTERCHIEF = DarkRP.createJob("Master CHief", {
  1368. color = Color(0, 184, 8, 255),
  1369. model = {"models/player/swbf_imperial_officer_ensignv2/swbf_imperial_officer_ensignv2.mdl"},
  1370. description = [[You Are A Navial Officer, You And Your Fellow Navy Make Sure The Ship Flys Properly.]],
  1371. weapons = {"tfa_swch_de10", "tfa_dh17"},
  1372. command = "Navymasterchief",
  1373. max = 15,
  1374. salary = 300,
  1375. admin = 0,
  1376. vote = false,
  1377. hasLicense = false,
  1378. category = "Fleet",
  1379. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1380. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1381. customCheck = function(ply) return CLIENT or table.HasValue({"Navymasterchief"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1382. CustomCheckFailMsg = "You Are Not White-listed."
  1383. })
  1384.  
  1385. TEAM_NAVYMIDSHIPMAN = DarkRP.createJob("Midshipman", {
  1386. color = Color(0, 184, 8, 255),
  1387. model = {"models/player/swbf_imperial_officer_ensignv2/swbf_imperial_officer_ensignv2.mdl"},
  1388. description = [[You Are A Navial Officer, You And Your Fellow Navy Make Sure The Ship Flys Properly.]],
  1389. weapons = {"tfa_swch_de10", "tfa_dh17"},
  1390. command = "Midshipman",
  1391. max = 15,
  1392. salary = 300,
  1393. admin = 0,
  1394. vote = false,
  1395. hasLicense = false,
  1396. category = "Fleet",
  1397. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1398. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1399. customCheck = function(ply) return CLIENT or table.HasValue({"midshipman"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1400. CustomCheckFailMsg = "You Are Not White-listed."
  1401. })
  1402.  
  1403. TEAM_NAVYENSIGN = DarkRP.createJob("Ensign", {
  1404. color = Color(0, 184, 8, 255),
  1405. model = {"models/player/swbf_imperial_officer_ensignv2/swbf_imperial_officer_ensignv2.mdl"},
  1406. description = [[You Are A Navial Officer, You And Your Fellow Navy Make Sure The Ship Flys Properly.]],
  1407. weapons = {"tfa_swch_de10", "tfa_dh17"},
  1408. command = "Ensign",
  1409. max = 15,
  1410. salary = 300,
  1411. admin = 0,
  1412. vote = false,
  1413. hasLicense = false,
  1414. category = "Fleet",
  1415. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1416. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1417. customCheck = function(ply) return CLIENT or table.HasValue({"Ensign"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1418. CustomCheckFailMsg = "You Are Not White-listed."
  1419. })
  1420.  
  1421. TEAM_NAVYSUBLIEUTENANT = DarkRP.createJob("Sub-Lieutenant", {
  1422. color = Color(0, 184, 8, 255),
  1423. model = {"models/player/swbf_imperial_officer_ensignv2/swbf_imperial_officer_ensignv2.mdl"},
  1424. description = [[You Are A Navial Officer, You And Your Fellow Navy Make Sure The Ship Flys Properly.]],
  1425. weapons = {"tfa_swch_de10", "tfa_dh17"},
  1426. command = "Navysublt",
  1427. max = 15,
  1428. salary = 300,
  1429. admin = 0,
  1430. vote = false,
  1431. hasLicense = false,
  1432. category = "Fleet",
  1433. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1434. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1435. customCheck = function(ply) return CLIENT or table.HasValue({"Navysublt"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1436. CustomCheckFailMsg = "You Are Not White-listed."
  1437. })
  1438.  
  1439. TEAM_LIEUTENANT = DarkRP.createJob("Navy Lieutenant", {
  1440. color = Color(0, 184, 8, 255),
  1441. model = {"models/player/swbf_imperial_officer_lieutenantv2/swbf_imperial_officer_lieutenantv2.mdl"},
  1442. description = [[You Are A Navial Officer, You And Your Fellow Navy Make Sure The Ship Flys Properly.]],
  1443. weapons = {"tfa_swch_de10", "tfa_dh17"},
  1444. command = "Navylt",
  1445. max = 15,
  1446. salary = 300,
  1447. admin = 0,
  1448. vote = false,
  1449. hasLicense = false,
  1450. category = "Fleet",
  1451. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1452. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1453. customCheck = function(ply) return CLIENT or table.HasValue({"Navylt"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1454. CustomCheckFailMsg = "You Are Not White-listed."
  1455. })
  1456.  
  1457. TEAM_NAVYLIIEUTENANTCOMMANDER = DarkRP.createJob{"Navy Lieutenant Commander", {
  1458. color = Color(0, 184, 8, 255),
  1459. model = {"models/player/swbf_imperial_isb_agentv2/swbf_imperial_isb_agentv2.mdl"},
  1460. description = [[You Are A Navial Officer, You And Your Fellow Navy Make Sure The Ship Flys Properly.]],
  1461. weapons = {"tfa_swch_de10", "tfa_dh17"},
  1462. command = "Navyltcmdr",
  1463. max = 15,
  1464. salary = 300,
  1465. admin = 0,
  1466. vote = false,
  1467. hasLicense = false,
  1468. category = "Fleet",
  1469. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1470. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1471. customCheck = function(ply) return CLIENT or table.HasValue({"Navyltcmdr"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1472. CustomCheckFailMsg = "You Are Not White-listed."
  1473. })
  1474.  
  1475. TEAM_NAVYCOMMANDER = DarkRP.createJob("Navy Commander", {
  1476. color = Color(0, 184, 8, 255),
  1477. model = {"models/player/swbf_imperial_officer_lieutenantv2/swbf_imperial_officer_lieutenantv2.mdl"},
  1478. description = [[You Are A Navial Officer, You And Your Fellow Navy Make Sure The Ship Flys Properly.]],
  1479. weapons = {"tfa_swch_de10", "tfa_dh17"},
  1480. command = "Navycmdr",
  1481. max = 15,
  1482. salary = 300,
  1483. admin = 0,
  1484. vote = false,
  1485. hasLicense = false,
  1486. category = "Fleet",
  1487. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1488. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1489. customCheck = function(ply) return CLIENT or table.HasValue({"Navycmdr"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1490. CustomCheckFailMsg = "You Are Not White-listed."
  1491. })
  1492.  
  1493. TEAM_NAVYCAPTAIN = DarkRP.createJob("Navy Captain", {
  1494. color = Color(0, 184, 8, 255),
  1495. model = {""models/player/swbf_imperial_officer_lieutenantv2/swbf_imperial_officer_lieutenantv2.mdl""},
  1496. description = [[You Are A Navial Officer, You And Your Fellow Navy Make Sure The Ship Flys Properly.]],
  1497. weapons = {"tfa_swch_de10", "tfa_dh17"},
  1498. command = "/Navycaptian",
  1499. max = 15,
  1500. salary = 300,
  1501. admin = 0,
  1502. vote = false,
  1503. hasLicense = false,
  1504. category = "Fleet",
  1505. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1506. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1507. customCheck = function(ply) return CLIENT or table.HasValue({"Navycaptian"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1508. CustomCheckFailMsg = "You Are Not White-listed."
  1509. })
  1510.  
  1511. TEAM_NAVYLINECAPTAIN = DarkRP.createJob("Navy Line Captian", {
  1512. color = Color(0, 184, 8, 255),
  1513. model = {"models/player/swbf_imperial_officer_commodorev2/swbf_imperial_officer_commodorev2.mdl"},
  1514. description = [[You Are A Navial Officer, You And Your Fellow Navy Make Sure The Ship Flys Properly.]],
  1515. weapons = {"tfa_swch_de10", "tfa_dh17"},
  1516. command = "Linecaptian",
  1517. max = 15,
  1518. salary = 300,
  1519. admin = 0,
  1520. vote = false,
  1521. hasLicense = false,
  1522. category = "Fleet",
  1523. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1524. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1525. customCheck = function(ply) return CLIENT or table.HasValue({"Linecaptian"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1526. CustomCheckFailMsg = "You Are Not White-listed."
  1527. })
  1528.  
  1529. TEAM_FLEETCOMMODORE = DarkRP.createJob("Navy Commodore", {
  1530. color = Color(0, 184, 8, 255),
  1531. model = {"models/player/swbf_imperial_officer_colonelv2/swbf_imperial_officer_colonelv2.mdl"},
  1532. description = [[You Are A Navial Officer, You And Your Fellow Navy Make Sure The Ship Flys Properly.]],
  1533. weapons = {"tfa_swch_de10", "tfa_dh17"},
  1534. command = "commodore",
  1535. max = 5,
  1536. salary = 300,
  1537. admin = 0,
  1538. vote = false,
  1539. hasLicense = false,
  1540. category = "Fleet",
  1541. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("200") ply:SetGravity(1) return CLIENT end,
  1542. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1543. customCheck = function(ply) return CLIENT or table.HasValue({"commodore"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1544. CustomCheckFailMsg = "You Are Not White-listed."
  1545. })
  1546.  
  1547. TEAM_GENERAL = DarkRP.createJob("General Of The Army", {
  1548. color = Color(255, 245, 0, 255),
  1549. model = {"models/x1cw/x1cw.mdl"},
  1550. description = [[You Are The General Of The Imperial Army, You Tend To Regimental Punishment, Promotions And Demotions Of Army Personel.]],
  1551. weapons = {"tfa_kotor_br_3", "tfa_se14c"},
  1552. command = "Armygeneral",
  1553. max = 1,
  1554. salary = 500,
  1555. admin = 0,
  1556. vote = false,
  1557. hasLicense = false,
  1558. category = "High Command",
  1559. PlayerSpawn = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * .5, GAMEMODE.Config.runspeed * 1) ply:SetHealth("400") ply:SetGravity(1) return CLIENT end,
  1560. PlayerDeath = function(ply) GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1, GAMEMODE.Config.runspeed * 1) return CLIENT end,
  1561. customCheck = function(ply) return CLIENT or table.HasValue({"Armygeneral"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  1562. CustomCheckFailMsg = "You Are Not White-listed."
  1563. })
  1564. --[[---------------------------------------------------------------------------
  1565. Define which team joining players spawn into and what team you change to if demoted
  1566. ---------------------------------------------------------------------------]]
  1567. GAMEMODE.DefaultTeam = TEAM_RECRUIT
  1568. --[[---------------------------------------------------------------------------
  1569. Define which teams belong to civil protection
  1570. Civil protection can set warrants, make people wanted and do some other police related things
  1571. ---------------------------------------------------------------------------]]
  1572. GAMEMODE.CivilProtection = {
  1573. [TEAM_POLICE] = false,
  1574. [TEAM_CHIEF] = false,
  1575. [TEAM_MAYOR] = false,
  1576. }
  1577. --[[---------------------------------------------------------------------------
  1578. Jobs that are hitmen {enables the hitman menu}
  1579. ---------------------------------------------------------------------------]]
  1580. DarkRP.addHitmanTeam{TEAM_MOB}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement