ULX

Author Topic: Votekick can_target  (Read 1587 times)

0 Members and 1 Guest are viewing this topic.

Offline Avoid

  • Full Member
  • ***
  • Posts: 142
  • Karma: 42
Votekick can_target
« on: February 23, 2014, 04:23:14 AM »
Hello, dear ULX community!

So I have been having some trouble configuring the can_target in ULX.
I want it so, only users can votekick users. Right now users can votekick any target, regardless of their group.

My debuginfo is in the attachments.


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Votekick can_target
« Reply #1 on: February 23, 2014, 07:57:37 AM »
As every other group usually inherits user, which means users targeting other groups which % will allow to target them too, you probably want to use #user instead of %user.
# will give specific, like 'only this group, not inheriting this group'
(And to be honest, my experience level of knowing my own team project at this point is where I fail the most)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Avoid

  • Full Member
  • ***
  • Posts: 142
  • Karma: 42
Re: Votekick can_target
« Reply #2 on: February 23, 2014, 08:51:17 AM »
Thank you for your reply.
I shall test it out later on, and let you know if it works.
To be honest, this stuff with can_target and % or # really confused me, so thanks for the help! ;)


Peace,
Avoid