General > Developers Corner

IsAdmin, IsSuperAdmin and groups

(1/1)

Tommy228:
Hey,
I am the developper of this addon and I have some issues with ULX and the way it handles user groups. A lot of servers are creating user groups like "moderator", "owner" and I'm using Player.IsAdmin and Player.IsSuperAdmin to check if they are admins or not, but that doesn't work as gmod doesn't consider them as admins. Could you please give me a workaround? I want my addon to be compatible with all admins mods, not only ulx.

Megiddo:
The behavior as given is correct. In ULib, if a group inherits from admin, IsAdmin will return true, as you would expect. I'm not sure what the problem is.

Tommy228:
I thought it was only inheriting user rights, so that's fine. thanks

DJ Mikey:
if its any consolation, i am using your amazing addon on my server.  I dont have any issues atm.  Ill have my admins test it later.

JamminR:
I see people here ask about damage logs all the time.
I'll send them your addon's way if I see anyone ask again.

Navigation

[0] Message Index

Go to full version