ULX

Author Topic: some of our jobs dissappeared from F4  (Read 4449 times)

0 Members and 1 Guest are viewing this topic.

Offline -sG- Broccoli

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
  • Broccoli is love, Broccoli is life<3
Re: some of our jobs dissappeared from F4
« Reply #15 on: April 01, 2015, 04:35:34 PM »
i had the same problem.. but i found out that in my donor grups "silver mod" and so on dident work, so i chanced them to smod, then it worked.

So if you try to rename/remove donor mod, it might work. Space wont work, try removing  or ply:IsUserGroup("donor mod"), and see if it works now. If it work i suggest you to rename your donor mod to dmod or donormod.

Offline XxLMM13xX

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: -51
  • New to lua development
    • Twitch
Re: some of our jobs dissappeared from F4
« Reply #16 on: April 02, 2015, 05:13:29 PM »
Ok so this is what i use... Use this:

Code: [Select]

-- Donator Code / Only players there is in the Donator group can see the job.
customCheck = function(ply) return ply:GetNWString("usergroup") == "Donator" end,
CustomCheckFailMsg = "This job is donator only."

-- Donator Code / All players can see the job.
customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "Donator" end,
CustomCheckFailMsg = "This job is donator only."


-- SteamID Code / Only players with that SteamID can see the job.
customCheck = function(ply) return ply:SteamID() == "STEAM_***" end,
CustomCheckFailMsg = "This job is donator only."

-- SteamID Code / All players can see the job.
customCheck = function(ply) return CLIENT or ply:SteamID() == "STEAM_***" end,
CustomCheckFailMsg = "This job is donator only."


to add more steamids or ranks just do:   or ply:SetamID() == "STEAM_***" ect.
« Last Edit: April 02, 2015, 05:15:46 PM by XxLMM13xX »