Garry's Mod

DarkRP VIP Jobs?

Submitted by RayMond21, , Thread ID: 171461

Thread Closed
11-05-2020, 05:01 PM
#1
Just wondering but how would I go about making a job V.I.P only? My guess is just make the job run through a custom check? Google hasn't really provided much so any help would be great. I also am wondering on how to categorize the V.I.P jobs within the F4 menu. (I.E Putting all of the vip jobs under its own category.). But I haven't bothered looking into that yet and google can probably provide that.

RE: DarkRP VIP Jobs?

#2
Always refer to here if you need help with job parameters.

https://wiki.darkrp.com/index.php/DarkRP...mJobFields


customCheck = function(ply) return ply:GetUserGroup() == "vip" or ply:IsAdmin() end, -- The extra check function. Enter nil or nothing to not have a restriction
CustomCheckFailMsg = "This job is VIP only!" -- Allows you to tell the user what went wrong when attempting to switch jobs
})

RE: DarkRP VIP Jobs?

#3
https://csite.io/tools/gmod-darkrp-job

This is a darkrp job creator and it has everything layed out for you including custom check

RE: DarkRP VIP Jobs?

#4
You could use this, a lot of people use it when creating jobs because it makes it a fuck tonne easier. https://csite.io/tools/gmod-darkrp-job. Theres an option in there where you can make it VIP only

RE: DarkRP VIP Jobs?

#5
customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "vip" end,
CustomCheckFailMsg = "fail messege"

RE: DarkRP VIP Jobs?

#6
Using csite is probably the easiest method of creating jobs as if any of the code is wrong or is missing it lets you know

RE: DarkRP VIP Jobs?

#7
I recommend csite.https://csite.io/tools/gmod-darkrp-job

RE: DarkRP VIP Jobs?

#8
Here people hold here on this forum everything is painted correctly
https://wiki.darkrp.com/index.php/DarkRP...mJobFields

Users browsing this thread: 1 Guest(s)