Jump to content

ACL Question


HeXo

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...