ULX

Author Topic: Setting what ranks count as "superadmin"?  (Read 1458 times)

0 Members and 1 Guest are viewing this topic.

Offline yobson

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Setting what ranks count as "superadmin"?
« on: June 17, 2016, 04:16:10 AM »
As the title says is there a way, and if so how, to set what ULX ranks count as "superadmin" for example when spawning npcs or vehicles multiple ranks would be able to do this when set to superadmin only.

Offline OpticPotatOS

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 0
  • GLaDOS
    • Gaming for Everyone
Re: Setting what ranks count as "superadmin"?
« Reply #1 on: June 17, 2016, 06:40:16 AM »
Make the new ranks inherit from superadmin, or just make them have those permissions.
My website isn't my website, rather, it's the gaming network my sever is connected to.

ttt.gfe.nu

Unforeseen Consequences

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: Setting what ranks count as "superadmin"?
« Reply #2 on: June 18, 2016, 03:32:37 AM »
It depends on how the addons check for your group. I think there are certain ways that ignore inheritance, meaning that only "superadmin" counts as superadmin.

There's really no need to have groups higher than superadmin, if that's what you're trying to do.
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.