Advertisement
Guest User

Custom Template

a guest
Nov 23rd, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. TEAM_JOB(The jobs team) <-has to be in capital letters = DarkRP.createJob("Name of the job", {
  2. color = Color(226, 144, 11, 255),
  3. model = {"MODEL FOR THE JOB"},
  4. description = [[Custom job for: PERSON THE JOB IS FOR]],
  5. weapons = {"weapon", "weapon", "weapon", "weapon", "weapon"},
  6. command = "COMMAND FOR THE JOB EX. /job", <- has to be in small letters
  7. max = 1,
  8. salary = 420,
  9. admin = 0,
  10. vote = false,
  11. hasLicense = true,
  12. candemote = false,
  13. category = "Custom Jobs",
  14. PlayerSpawn = function(ply)
  15. ply:SetMaxHealth(100)
  16. ply:SetHealth(100)
  17. ply:SetArmor(100)
  18. end,
  19. customCheck = function(ply) return CLIENT or
  20. table.HasValue({"STEAMID"}, ply:SteamID())
  21. end,
  22. CustomCheckFailMsg = "You are not Person the job is for!!!",
  23.  
  24. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement