HeXo Posted July 20, 2008 Share Posted July 20, 2008 Hello everyone! Is there a way to make a resource only work for the admins on the ALC.xml file? How i can do this? When i try to do this with the webadmin i get this error: [18:36:56] WARNING: admin.lua: Access denied @ 'aclSetRight' - Line: 19 How can i fix that? Thanks! and sorry about my bad english. Link to comment
churchill Posted July 20, 2008 Share Posted July 20, 2008 simple enough - it should be done like this. under the Admin group in the acl, you can add objects that they can access, e.g: I think it has to begin with "resource.", e.g. "resource.WhateverTheResourceIsCalled"? Link to comment
Mr.Hankey Posted July 20, 2008 Share Posted July 20, 2008 No that wont work. That way you only would grant the resource to have access to admin functions (like kickPlayer and so on) Not sure if there's an easier way but you would have to code a check into the resource that checks on several parts of the script weather the player that tries to use the script is an admin or not. 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