Author Topic: Cant Remove commands from any group  (Read 2009 times)

0 Members and 1 Guest are viewing this topic.

Offline smiffyvs

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Cant Remove commands from any group
« on: March 15, 2014, 04:37:43 AM »
I have got Ulx and i am trying to remove commands from a group. I am typing in console ulx groupdeny Moderator ulx bring     it says for every command i do that this group doesnt have access to that command. the groups i make inherit from Admin.

PLEASE HELP ME

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Cant Remove commands from any group
« Reply #1 on: March 15, 2014, 05:52:19 AM »
If the group inherits from admin, then you have to make sure that the admin group doesn't have access to the commands as well.
This is a good read too: http://forums.ulyssesmod.net/index.php/topic,3073.0.html
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Cant Remove commands from any group
« Reply #2 on: March 15, 2014, 05:57:58 AM »
Lua is case sensitive.
Always make groups lower case.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Cobalt

  • Full Member
  • ***
  • Posts: 216
  • Karma: 44
  • http://steamcommunity.com/id/__yvl/
Re: Cant Remove commands from any group
« Reply #3 on: March 15, 2014, 09:22:15 AM »
Lua is case sensitive.
Always make groups lower case.
You guys should make it so that you can't have uppercase letters in a group name.
Code: [Select]
local name = string.sub( whatevertextbox:GetText(), 1, 1 )
local nameUpper = string.sub( string.upper( name ), 1, 1 )
if name == nameUpper then
--whatever
end

Offline smiffyvs

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Cant Remove commands from any group
« Reply #4 on: March 15, 2014, 02:55:54 PM »
Thanks guys this really help.