General > Developers Corner

some of our jobs dissappeared from F4

<< < (4/4)

-sG- Broccoli:
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.

XxLMM13xX:
Ok so this is what i use... Use this:


--- Code: ---
-- 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."


--- End code ---

to add more steamids or ranks just do:   or ply:SetamID() == "STEAM_***" ect.

Navigation

[0] Message Index

[*] Previous page

Go to full version