Jump to content

[Help] ACL (setlvl)


Recommended Posts

Posted

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!

Posted
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 () 

Do not yield your back to your enemy, might feel something strange in your ass.

Two things are infinite the universe and human stupidity and i'm not sure about the universe.

UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle

Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators

Posted
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

Posted

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 ) 

Do not yield your back to your enemy, might feel something strange in your ass.

Two things are infinite the universe and human stupidity and i'm not sure about the universe.

UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle

Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators

Posted

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

Posted
Nvm Fixed :D

The script had no premission to the ACL.Meta file

Thx for the support Walid!

np.

Do not yield your back to your enemy, might feel something strange in your ass.

Two things are infinite the universe and human stupidity and i'm not sure about the universe.

UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle

Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators

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