• Darkrp - how do i hide a job
    3 replies, posted
hi, i made a admin on duty class but i dont want users to see it. They cannot access it because of customcheck but how do i make it totally invisible?
Uh post the job? Make sure your customCheck doesn't return CLIENT
XD it does: [lua]TEAM_MEAT = AddExtraTeam("TEAM 2", { color = Color(0, 0, 255, 255), model = "models/player/dod_german.mdl", description = [[DONT ABUSE]], weapons = {"m9k_m249lmg", "m9k_coltpython", "m9k_svu", "m9k_knife"}, command = "Team2", max = 5, salary = 45, admin = 0, vote = false, hasLicense = false, mayorCanSetSalary = true, customCheck = function(ply) return CLIENT or table.HasValue({"superadmin", "User"}, ply:GetNWString("usergroup")) end })[/lua]
Then remove that part..
Sorry, you need to Log In to post a reply to this thread.