BorderLine Posted July 24, 2012 Share Posted July 24, 2012 Hi everyone Well i have a qustion. How i can edit a ACL gropus For example Mods and smods cant set Money then i need change acces to false, right? Now, this is only to command? if i want disable the setMoney button in admin panel, How i can do? something like this? I need a little help. Please Link to comment
TAPL Posted July 24, 2012 Share Posted July 24, 2012 if you disable the command, the button will disable too. Link to comment
Jaysds1 Posted July 24, 2012 Share Posted July 24, 2012 try this: name="function.SetPlayerMoney" access="false">> Link to comment
Castillo Posted July 24, 2012 Share Posted July 24, 2012 if you disable the command, the button will disable too. That's right, Lil Toady did this: _guiCreateButton = guiCreateButton function guiCreateButton ( x, y, w, h, text, relative, parent, right ) local button = _guiCreateButton ( x, y, w, h, text, relative, parent ) if ( button ) then if ( right ) then right = "command."..right if ( not hasPermissionTo ( right ) ) then guiSetEnabled ( button, false ) _guiprotected[right] = button end end guiSetFont ( button, "default-bold-small" ) return button end return false end Link to comment
BorderLine Posted July 24, 2012 Author Share Posted July 24, 2012 Cool. Thanks for your time guys Link to comment
Hoka1234 Posted July 24, 2012 Share Posted July 24, 2012 Too late reply , but maybe will help you/others get ur ip then type that in the browser tab yourip:22005 then goto acl groups >>> mods >> type in search about the command >> disallow it Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now