1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

how to i add two groups to 1 job

Discussion in 'DarkRP Modding Questions & Help' started by LavaLemon, Oct 26, 2013.

  1. LavaLemon

    LavaLemon Member

    or maybe steam id which ever is good
     
  2. -MS-

    -MS- New Member

    What do you mean? Are you talking about customCheck?

    customCheck = function(ply) return ply:IsUserGroup("moderator") or ply:IsAdmin() or ply:SteamID()=="STEAM_0:0:123456" end
     
  3. LavaLemon

    LavaLemon Member

    what i mean is like someone he wants to be mod and a custom class at the same time what customcheck should i put ? maybe yours will work i will try it tomorrow thanks
     
  4. LavaLemon

    LavaLemon Member

    so let's say i want to add 2 steam id the code would be

    customCheck = function(ply) return ply:IsUserGroup("moderator") or ply:IsAdmin() or ply:SteamID()=="STEAM_0:0:123456" or ply:SteamID()=="STEAM_0:0:123456" end
     
  5. -MS-

    -MS- New Member

    Yes, this will allow moderators, admins and those two SteamIDs to become the job.
     

Share This Page