Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TEAM_JOB(The jobs team) <-has to be in capital letters = DarkRP.createJob("Name of the job", {
- color = Color(226, 144, 11, 255),
- model = {"MODEL FOR THE JOB"},
- description = [[Custom job for: PERSON THE JOB IS FOR]],
- weapons = {"weapon", "weapon", "weapon", "weapon", "weapon"},
- command = "COMMAND FOR THE JOB EX. /job", <- has to be in small letters
- max = 1,
- salary = 420,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Custom Jobs",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(100)
- end,
- customCheck = function(ply) return CLIENT or
- table.HasValue({"STEAMID"}, ply:SteamID())
- end,
- CustomCheckFailMsg = "You are not Person the job is for!!!",
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement