General > Developers Corner
DarkRP custom job
bender180:
You have to edit the player.lua to make it VIP only I can't explain it very well but I asked the same question and got a good answer here http://forums.ulyssesmod.net/index.php/topic,6000.msg28117.html
Chef Ramsey:
TEAM_HITMAN = AddExtraTeam("NAME", {
color = Color(153,51,51,255),
model = "models/player/leet.mdl",
description = [[TEXT]],
weapons = {"weapon"},
command = "vip",
max = 1,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
customCheck = function(ply) return table.HasValue({"rank", "rank", "rank", "rank", "rank", "rank"}, ply:GetNWString("usergroup")) end,
CustomCheckFailMsg = "When pressing on job it comes a text, type what text you want here!"
})
In rank change what rank you want, like "admin", "fag" and more!
Make sure to delete ranks you dont want, just delete " "and text
Ask me questons http://steamcommunity.com/id/Ficidy/
Navigation
[0] Message Index
[*] Previous page
Go to full version