ULX

Author Topic: Create group help  (Read 1588 times)

0 Members and 1 Guest are viewing this topic.

Offline Mello

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Create group help
« on: December 03, 2015, 04:47:50 AM »
Hello.Can you help me?Tell me,how to create a Super User group rights, but that it can not edit the rights of other groups and their too.
Thanks.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Create group help
« Reply #1 on: December 03, 2015, 04:09:46 PM »
In Gmod, superadmin is highest access of all groups. Even if you do not run any other mod/addon/script, Gmod will expect to allow a group named "superadmin" as though it was server host.
We have FAQs to answer your question
How do I make myself admin = http://forums.ulyssesmod.net/index.php/topic,5766.0.html
How exactly does can_target work? = http://forums.ulyssesmod.net/index.php/topic,5346.0.html
« Last Edit: December 03, 2015, 04:12:24 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline monkeymacman

  • Newbie
  • *
  • Posts: 44
  • Karma: 13
Re: Create group help
« Reply #2 on: December 03, 2015, 05:16:32 PM »
If you want to get around superadmin being the highest you can make a new group "super admin" and then not use "superadmin" and gave a rank inherit from "superadmin". That way as long as an addon doesn't have "if ply:IsUserGroup("superadmin")" instead of "if ply:IsSuperAdmin()" you should be fine