Assigning Job by SteamID?

I want to have custom jobs for my Gmod server and have a customcheck so only a certain steamid can use the job.

I know how to do this custom-check by usergroup like shown below:


When in doubt, check the wiki


Probably the easiest way of adding custom checks :ok:
(Groups or ID)

why would he have to deliberately buy an addon from SF (that has way more than what OP wants) when the solution above yours is more simpler, and not forgetting more easier

He can do whatever it was just a suggestion lol

Go sell your addons somewhere else.

not even his. god, you never fail to amuse me when it comes to saying something smart.

Some of his friend’s, does it matter? His answer is still not relevant and it just seems like blatant advertising.

I mean you can call it advertising I was just offering a suggestion, it’s not like I demanded him to do it jeez

billy isn’t my friend he constantly yells at me for being American

i never told him to post it and he gets no cut from it

Advertising or not, the method works. He was just throwing a suggestion out there. If you call it advertisement, noice.

I’m offended

So it’s a suggestion to use a paid addon, when the question was a programming problem. Nice.

[lua]customCheck = function(ply) return ply:SteamID() == “STEAM_0:0:0000000” end[/lua]

And also,

customCheck = function(ply) return ply:SteamID() == “STEAM_0:0:0000000” end
CustomCheckFailMsg = “This is a custom class!”,