• [HELP] My Staff DarkRP Job is open to Users but only one user in the world!
    0 replies, posted
Here's my code. [code] TEAM_ADMIN = DarkRP.createJob("OPG Staff on duty", { color = Color(0, 150 + math.sin(RealTime() * 2) * 50, 0, 150 + math.sin(RealTime() * 2) * 50), model = {"models/player/zeus_combine_v2/zeus_combine_v2.mdl"}, description = [[ Staff Class, Handle Rule Breakers... IF YOU ABUSE THIS JOB BY EARNING MONEY YOU WILL BE REVOKED FROM YOUR RANK! Who can use: Moderators, Admin, Developers, Head-Admin, Superadmin, Staff-Manager, Co-Founder, Founder ]], weapons = {"adminstick"}, command = "admin", max = 0, salary = 450, admin = 0, vote = false, hasLicense = false, candemote = false, customCheck = function(ply) return ply:GetNWString("usergroup") == "moderator" or ply:GetNWString("usergroup") == "admin" or ply:GetNWString("usergroup") == "developer" or ply:GetNWString("usergroup") == "headadmin" or ply:GetNWString("usergroup") == "staffmanager" or ply:GetNWString("usergroup") == "superadmin1" or ply:GetNWString("usergroup") == "superadmin2" or ply:GetNWString("usergroup") == "superadmin" end, CustomCheckFailMsg = "Staff Only!" }) [/code] How this happend was, I invited a friend of mine. He came on and then became Staff On Duty. I looked at his job said how was he a Staff On Duty, His rank was currently User at that time. And my code was the same at that time above. [editline]24th November 2014[/editline] It's Solved, Sorry. It was an Admin Command.
Sorry, you need to Log In to post a reply to this thread.