Advertisement
devenshona

My GMOD RANKS

Nov 18th, 2017
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. TEAM_THIEF = DarkRP.createJob("THIEF", {
  2. color = Color(214, 22, 22, 255),
  3. model = {"models/player/arctic.mdl"},
  4. description = [[Your are a Thief You Can Raid/MUG/KIDNAP]],
  5. weapons = {},
  6. command = "thief",
  7. max = 5,
  8. salary = 25,
  9. admin = 0,
  10. vote = false,
  11. hasLicense = false,
  12. candemote = false,
  13. category = "BAD GUYS",
  14. customCheck = function(ply) return CLIENT or
  15. table.HasValue({}, ply:Team())
  16. end,
  17. CustomCheckFailMsg = "",
  18. })
  19. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  20. TEAM_TERRORIST = DarkRP.createJob("TERRORIST", {
  21. color = Color(214, 22, 22, 255),
  22. model = {
  23. "models/player/arctic.mdl",
  24. "models/player/phoenix.mdl",
  25. "models/player/phoenix.mdl"
  26. },
  27. description = [[You Are A TERRORIST YOU CAN KOS ANYBODY BUT WHEN U BLOW UP/DIE YOU GET DEMOTED MAKE IT COUNT]],
  28. weapons = {},
  29. command = "terrorist",
  30. max = 2,
  31. salary = 0,
  32. admin = 0,
  33. vote = false,
  34. hasLicense = false,
  35. candemote = false,
  36. category = "BAD GUYS",
  37. PlayerSpawn = function(ply)
  38. ply:SetMaxHealth(200)
  39. ply:SetHealth(200)
  40. ply:SetArmor(50)
  41. end,
  42. PlayerDeath = function(ply, weapon, killer)
  43. ply:teamBan()
  44. ply:changeTeam(GAMEMODE.DefaultTeam, true)
  45. DarkRP.notifyAll(0, 4, "The TERROIST COMPLETED HIS JOB!")
  46. end,
  47. customCheck = function(ply) return CLIENT or
  48. table.HasValue({}, ply:Team())
  49. end,
  50. CustomCheckFailMsg = "",
  51. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement