customCheck = function(ply) return CLIENT or table.HasValue({"superadmin", "vip", "donator"}, ply:GetNWString("usergroup")) end,
CustomCheckFailMsg = "You have to be a VIP or Donator to access this class."
Whenever I put this in my job all the jobs disappear from his list does anyone have any idea why this is?
Looks fine to me; any errors?
Put a comma after the fail message
[QUOTE=danker pepers;50619989]Put a comma after the fail message[/QUOTE]
That doesn't matter if it's at the end of the table.
What F4 are you use?
[QUOTE='Hat [RU];50622668']What F4 are you use?[/QUOTE]
It shouldn't matter. The code returns true on the client.
[QUOTE=code_gs;50620010]That doesn't matter if it's at the end of the table.[/QUOTE]
He never said it was at the end
[QUOTE=danker pepers;50622756]He never said it was at the end[/QUOTE]
It usually is. If it's not, he would get an error.
It's not, he posted in the general questions thread
Sorry, you need to Log In to post a reply to this thread.