Jump to content

Add Command "reloadACL"


Quited

Recommended Posts

Posted (edited)

Hi All

it is nice to add simple command reloadacl to reload acl.xml.

* Don't Reply for use runcode resource or Execute command in admin panel to do this , It's mostly used for hacking and cheat.

Edited by Guest
Posted

How would it be used for "hacking"?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted (edited)
How would it be used for "hacking"?

start runcode Resource , type into console "F8"

srun setTimer(outputChatBox,1000,0,"Type Anything",root,0,0,0,true) 

And

srun setTimer(function () 
fadeCamera ( root, false, 1.0, math.random(255), math.random(255), math.random(255)) 
    end,500,0) 

or type

srun addEventHandler("onPlayerJoin",root,         function()             redirectPlayer(source,'Your server ip','Your server port')         end     ) 

After that

and you will see whats doing

Edited by Guest
Posted

This happen only with "stupids" and sorry to tell that but what you was expect when you give everyone admin rights like giving chocolate to everyone whom you don't know or you can't trust him.

CiTLh.png
Posted

Or when you don't restrict the runcode to admin only.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
This happen only with stupids and sorry to tell that but what you was expect when you give everyone admin rights like giving chocolate to everyone whom you don't know or you can't trust him.

I know, but I give him an answer to his question

Posted
Or when you don't restrict the runcode to admin only.

Even if made ​​runcode resource restrict to admins , I do not trust admins.

Posted

'' runcode commands wont work with any player except admins and this resource is really useful ''

anyways about the reload command you can make it yourself :)

addCommandHandler("reloadacl", 
function (player) 
    local accountname = getAccountName(getPlayerAccount(player)) 
    if isObjectInACLGroup("user."..accountname.."",aclGetGroup("admin")) then 
    aclReload() 
    outputChatBox("* ACL Reloaded.",player,255,255,255,true) 
    end 
end) 

add it to admin resource or another resource that have admin rights

  • 2 weeks later...
Posted
'' runcode commands wont work with any player except admins and this resource is really useful ''

anyways about the reload command you can make it yourself :)

addCommandHandler("reloadacl", 
function (player) 
    local accountname = getAccountName(getPlayerAccount(player)) 
    if isObjectInACLGroup("user."..accountname.."",aclGetGroup("admin")) then 
    aclReload() 
    outputChatBox("* ACL Reloaded.",player,255,255,255,true) 
    end 
end) 

add it to admin resource or another resource that have admin rights

Thanks Sora

Posted

Modify the script.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • 2 weeks later...
Posted

Add runcode to admin acl.

do /run aclReload() or /srun aclReload()

if you have debug like access Denied restart runcode.

PS : TAPL, i love chocolate :3.

430x73_B2E03D_FF9900_000000_000000.png

Some people want it to happen, some wish it would happen, others make it happen.

Posted
Add runcode to admin acl.

do /run aclReload() or /srun aclReload()

if you have debug like access Denied restart runcode.

PS : TAPL, i love chocolate :3.

i said :

* Don't Reply for use runcode resource or Execute command in admin panel to do this , It's mostly used for hacking and cheat.
  • Recently Browsing   0 members

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