Author Topic: [HELP] ULX !!!  (Read 1839 times)

0 Members and 1 Guest are viewing this topic.

Offline ? Alex ?

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
[HELP] ULX !!!
« on: December 04, 2022, 02:16:15 PM »
Hey I need help

I created my moderator usergroup with this command:
ulx addgroup "moderator" "user"

But, they don't get recognized by other addons using the function ply:IsAdmin()

I don't want to inherit from admin, because I needs to give to moderator stricted permissions for example, I want that moderators can't ban, and that admin can Ban.

And if I inherit the permissions from admin, I can't revoke access to Moderator to ban unless I revoke access to Admins too but that's not what I need
How Can I fix it please??

And I also need help with physgun

How can I make moderators not able to physgun admins, while admins can physgun moderators.

Please HELP ME to fix this issue !

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: [HELP] ULX !!!
« Reply #1 on: December 20, 2022, 09:05:58 PM »
The only way to have IsAdmin recognize a group is to have it inherit from Admin. This is a limitation of garrysmod.