Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
General
»
Developers Corner
»
IsAdmin, IsSuperAdmin and groups
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: IsAdmin, IsSuperAdmin and groups (Read 3586 times)
0 Members and 2 Guests are viewing this topic.
Tommy228
Newbie
Posts: 2
Karma: 0
IsAdmin, IsSuperAdmin and groups
«
on:
August 28, 2013, 04:21:24 AM »
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.
Logged
Megiddo
Ulysses Team Member
Hero Member
Posts: 6214
Karma: 394
Project Lead
Re: IsAdmin, IsSuperAdmin and groups
«
Reply #1 on:
August 28, 2013, 04:59:12 AM »
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.
Logged
Experiencing God's grace one day at a time.
Tommy228
Newbie
Posts: 2
Karma: 0
Re: IsAdmin, IsSuperAdmin and groups
«
Reply #2 on:
August 28, 2013, 05:03:19 AM »
I thought it was only inheriting user rights, so that's fine. thanks
Logged
DJ Mikey
Newbie
Posts: 17
Karma: 0
Re: IsAdmin, IsSuperAdmin and groups
«
Reply #3 on:
August 31, 2013, 03:45:25 PM »
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.
Logged
JamminR
Ulysses Team Member
Hero Member
Posts: 8096
Karma: 390
Sertafide Ulysses Jenius
Re: IsAdmin, IsSuperAdmin and groups
«
Reply #4 on:
August 31, 2013, 04:21:31 PM »
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.
Logged
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
General
»
Developers Corner
»
IsAdmin, IsSuperAdmin and groups