daily pastebin goal
25%
SHARE
TWEET

Custom Template

a guest Nov 23rd, 2017 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.     })
RAW Paste Data
Top