ULX

Author Topic: setgroupcantarget  (Read 6359 times)

0 Members and 1 Guest are viewing this topic.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
setgroupcantarget
« on: June 09, 2010, 03:31:57 PM »
This doesn't have anything to do with cfg, but how does the "ulx setgroupcantarget" command work?  As in how does it set it, I have been playing around with it and don't quite understand it.  If I do "ulx setgroupcantarget admin !%superadmin" they would end being able to target everyone unless this isn't finished yet.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: setgroupcantarget
« Reply #1 on: June 09, 2010, 04:05:55 PM »
If I do "ulx setgroupcantarget admin !%superadmin" they would end being able to target everyone unless this isn't finished yet.

That command with those parameters, if used, would make it so admins can target everyone except superadmins or other groups that inherit from superadmin (which happens to be the default setup now).

Does that help?
Experiencing God's grace one day at a time.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: setgroupcantarget
« Reply #2 on: June 09, 2010, 08:38:58 PM »
Not really, when I try it admins are able to kick/ban/slap/ect. ect. anyone.  The only way it works is if I put it directly in the command.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: setgroupcantarget
« Reply #3 on: June 10, 2010, 05:21:20 AM »
Not really, when I try it admins are able to kick/ban/slap/ect. ect. anyone.  The only way it works is if I put it directly in the command.

Admins can kick/ban/slap even superadmins? Use a debug dump and paste it here.
« Last Edit: June 10, 2010, 09:56:53 PM by Megiddo »
Experiencing God's grace one day at a time.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: setgroupcantarget
« Reply #4 on: June 10, 2010, 09:00:21 PM »
Let me try a few things then if it still isn't working right I'll debug it for you.