Jump to content

[Help] ACL (setlvl)


Recommended Posts

Hey, I got one admin lvl script, There's a command /setlvl [user] (2-11)

But there's a problem, it's not working. I can only set lvl from panel/resource/Manage acl.

I want to give them rights typing /setlvl blabla 11 and boom.. done! :D

I Would be happy if someone helps me to fix it. Thanks!

Link to comment
Hey, I got one admin lvl script, I can give lvls by typing the command /setlvl [user] (2-11)

But there's a problem. I can only set lvl from panel/resource/Manage acl.

I want to give them rights typing /setlvl blabla 11 and boom.. done! :D

I Would be happy if someone helps me to fix it. Thanks!

You don't need to stop the server just use

aclReload () 

Link to comment
Hey, I got one admin lvl script, I can give lvls by typing the command /setlvl [user] (2-11)

But there's a problem. I can only set lvl from panel/resource/Manage acl.

I want to give them rights typing /setlvl blabla 11 and boom.. done! :D

I Would be happy if someone helps me to fix it. Thanks!

You don't need to stop the server just use

aclReload () 

The resource works good, it types '' ACL: [Mk1]Stefan^ added [Mk1]RealFix to admin group: 11 ""

But when I go to Manage Acl and look at lvl 11 users I see that he's not added

I tried ''refresh'' on console and he's still not added

Link to comment

The resource works good, it types '' ACL: [Mk1]Stefan^ added [Mk1]RealFix to admin group: 11 ""

But when I go to Manage Acl and look at lvl 11 users I see that he's not added

I tried ''refresh'' on console and he's still not added

I told you need to use aclReload() because refresh can't reload your ACL.xml file.

Example

function reload (player, command ) 
        local reloadAcl = aclReload() 
            if ( reloadAcl ) then  
        outputChatBox ( "ACL was successfully reloaded.", player, 255, 0, 0 )  
    end 
end 
addCommandHandler ( "reload", reload ) 

Link to comment

The resource works good, it types '' ACL: [Mk1]Stefan^ added [Mk1]RealFix to admin group: 11 ""

But when I go to Manage Acl and look at lvl 11 users I see that he's not added

I tried ''refresh'' on console and he's still not added

I told you need to use aclReload() because refresh can't reload your ACL.xml file.

Example

function reload (player, command ) 
        local reloadAcl = aclReload() 
            if ( reloadAcl ) then  
        outputChatBox ( "ACL was successfully reloaded.", player, 255, 0, 0 )  
    end 
end 
addCommandHandler ( "reload", reload ) 

I reloaded and tried the command again

dwkKDvO.png

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...