Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: Munch on January 24, 2012, 05:06:05 PM
-
Over the past few months I've been using alittle bit of pre-made text I found on the net to make certain jobs "donator only" meaning if you want to become "mutant" you have to be in the group donator or Admin.
function(ply) return ply:GetUserGroup() == "donator" or ply:IsAdmin() end)
But now I have a second rank, above donator and requires the job: "mutant" and "swatleader".
How would I go about making the rank (V.I.P) have access to mutant+swatleader?
I have tried:
function(ply) return ply:GetUserGroup() == "donator" or "v.i.p" or ply:IsAdmin() end)
-
function(ply) return ply:GetUserGroup() == "donator" or ply:GetUserGroup() == "v.i.p" or ply:IsAdmin() end)
Is that what you're looking for? You'd do the same thing you have done with donator.
-
function(ply) return ply:GetUserGroup() == "donator" or ply:GetUserGroup() == "v.i.p" or ply:IsAdmin() end)
Is that what you're looking for? You'd do the same thing you have done with donator.
I have also tried this, I'm sure I did!
I'll give it a try later when I get home and post back.