Advertisement
Guest User

Job code, by Sika

a guest
May 26th, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. Normal Job:
  2.  
  3. TEAM_TAXIDRIVER = DarkRP.createJob("Taxi Driver", {
  4. color = Color(220, 0,255),
  5. model = {"models/player/hostage/hostage_01.mdl"},
  6. description = [[Drive people, there they wanna go.]],
  7. weapons = {"weapon_fists", "weapon_arc_atmcard"},
  8. command = "taxidriver",
  9. max = 2,
  10. salary = 45,
  11. admin = 0,
  12. vote = false,
  13. hasLicense = false,
  14. })
  15.  
  16. Donator Job:
  17.  
  18. TEAM_PROTHIEF = DarkRP.createJob("Pro Thief", {
  19. color = Color(0,127,31),
  20. model = {"models/player/arctic.mdl"},
  21. description = [[You are a better trained version of the thief.
  22. This is a Donator Job, Which requires the following Ranks:
  23. Silver VIP and higher.
  24. You can take Stolen things, and sell it to the Black Market NPC.
  25. Which is placed all over the Map.]],
  26. weapons = {"m9k_knife","lockpick","keypad_cracker", "weapon_fists", "weapon_arc_atmcard", "m9k_winchester73"},
  27. command = "prothief",
  28. max = 5,
  29. salary = 80,
  30. admin = 0,
  31. vote = false,
  32. hasLicense = false,
  33.  
  34. customCheck = function(ply) return CLIENT or
  35. table.HasValue({"superadmin", "admin", "Silver VIP", "cmanager", "operator", "Gold VIP", "Platinum VIP", "hadmin1", "hadmin", "tadmin", "Diamond VIP", "Special VIP", "superadmin1"}, ply:GetNWString("usergroup"))
  36. end,
  37. CustomCheckFailMsg = "You don't have the required rank to complete this action!",
  38.  
  39. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement