Garry's Mod

DarkRP VIP Jobs?

Submitted by RayMond21, , Thread ID: 171461

Thread Closed
RayMond21
Lurker
Level:
0
Reputation:
0
Posts:
8
Likes:
0
Credits:
12
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?

MVPSword
Junior Member
Level:
1
Reputation:
0
Posts:
62
Likes:
0
Credits:
0
11-05-2020, 09:42 PM
#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?

Streamer105
Novice
Level:
0
Reputation:
0
Posts:
21
Likes:
0
Credits:
0
12-05-2020, 12:13 PM
#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?

maxidbog2
Novice
Level:
0
Reputation:
0
Posts:
23
Likes:
0
Credits:
0
12-05-2020, 05:35 PM
#5
customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "vip" end,
CustomCheckFailMsg = "fail messege"

RE: DarkRP VIP Jobs?

JimmyBobbin65
Junior Member
Level:
0
Reputation:
0
Posts:
63
Likes:
2
Credits:
1
12-05-2020, 06:08 PM
#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?

KiritoLife
Newbie
Level:
0
Reputation:
0
Posts:
14
Likes:
0
Credits:
7
13-05-2020, 07:40 AM
#7
I recommend csite.https://csite.io/tools/gmod-darkrp-job

Users browsing this thread: 1 Guest(s)