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
»
Can user target group?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Can user target group? (Read 2229 times)
0 Members and 1 Guest are viewing this topic.
end360
Newbie
Posts: 5
Karma: 0
Can user target group?
«
on:
October 18, 2015, 04:17:20 PM »
Is there a built in function to see if a specific user can target a group? I actually need to see if they can't. I want to make it so say an operator can't mute an admin but the admin could mute the operator.
Logged
Caustic Soda-Senpai
Sr. Member
Posts: 469
Karma: 54
<Insert something clever here>
Re: Can user target group?
«
Reply #1 on:
October 18, 2015, 07:27:23 PM »
In the Manage groups portion of the groups tab, you need to set operator's target to
!%admin
Logged
Once you get to know me, you'll find you'll have never met me at all.
end360
Newbie
Posts: 5
Karma: 0
Re: Can user target group?
«
Reply #2 on:
October 18, 2015, 07:55:23 PM »
Yes i know that, but I need a way in lua to tell if the specific user can target a group. It's for a mute list in VGUI and I don't want a guest/member to be able to mute an admin but at the same time to allow the admin to mute them. (All clientside)
Logged
An Error Has Occurred!
array_keys(): Argument #1 ($array) must be of type array, null given
Back