Hi, I have a job called SWAT. Normal users create vote for that job but I want to get VIP's to get the job without creating a vote. How can I do this?
You can add these two things:
[code]
1:
vote = false,
2:
CustomCheck = function(ply) return ply:GetNWString("usergroup") == "vip" or ply:IsSuperAdmin() or ply:IsAdmin() end,
[/code]
[QUOTE=PIXX;52027468]You can add these two things:
[code]
1:
vote = false,
2:
CustomCheck = function(ply) return ply:GetNWString("usergroup") == "vip" or ply:IsSuperAdmin() or ply:IsAdmin() end,
[/code][/QUOTE]
1: Everyone can get that job without vote
2: Only vip's can get that job.
I want users to get that job with vote but donators to get that job without vote
[QUOTE=efeaydin;52028021]1: Everyone can get that job without vote
2: Only vip's can get that job.
I want users to get that job with vote but donators to get that job without vote[/QUOTE]
Create two jobs lol
One for VIP and for users WITHOUT vip :/
[QUOTE=PIXX;52028748]Create two jobs lol
One for VIP and for users WITHOUT vip :/[/QUOTE]
I haven't touched DarkRP in a really long while, but from what I remember, you could override having to call a vote to become a job if you had permission for it. You can just type the job command into the chat and it would set you as that job without a vote. It might have been a thing for admins but it's worth looking into.
Sorry, you need to Log In to post a reply to this thread.