Quited Posted July 22, 2013 Posted July 22, 2013 (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 August 26, 2013 by Guest
Castillo Posted July 22, 2013 Posted July 22, 2013 How would it be used for "hacking"? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Quited Posted July 22, 2013 Author Posted July 22, 2013 (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 August 26, 2013 by Guest
TAPL Posted July 22, 2013 Posted July 22, 2013 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.
Castillo Posted July 22, 2013 Posted July 22, 2013 Or when you don't restrict the runcode to admin only. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Quited Posted July 22, 2013 Author Posted July 22, 2013 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
Quited Posted July 22, 2013 Author Posted July 22, 2013 Or when you don't restrict the runcode to admin only. Even if made runcode resource restrict to admins , I do not trust admins.
Sora Posted July 22, 2013 Posted July 22, 2013 '' 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 [REL] Resource Starter System v1.3 [REL] Give Permissions Panel v1.4 [REL] Meta Creator 1.1 ( In-game MetaCreator ) [REL] ACL Permission Manager 1.0 [REL] Accounts Security Manager 1.1 Name(s) in-game : old |S.s|SoRa, current : *Sora
ixjf Posted July 22, 2013 Posted July 22, 2013 Even if made runcode resource restrict to admins , I do not trust admins. If you do not trust in your team, perhaps they shouldn't be in? I mean, this is common sense.. I used to know how to code, but then I took an arrow in the knee. Project Redivivus - Remaking Old School MTA With New Code MTA 0.6 Nightly 1 released
Quited Posted July 30, 2013 Author Posted July 30, 2013 '' 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
DeletedAccount1111 Posted July 31, 2013 Posted July 31, 2013 Cant the command be console-only? Modloader's mdel blah blah command is console only, so a admin cant delete cars.
xXMADEXx Posted August 1, 2013 Posted August 1, 2013 You could make it so runcode will only work on certain accounts... The Ultimate Lua Tutorial! | MTA PHP SDK
Quited Posted August 6, 2013 Author Posted August 6, 2013 You could make it so runcode will only work on certain accounts... how ?
Castillo Posted August 7, 2013 Posted August 7, 2013 Modify the script. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
xXMADEXx Posted August 8, 2013 Posted August 8, 2013 You could make it so runcode will only work on certain accounts... how ? With: isGuestAccount getPlayerAccount getAccountName The Ultimate Lua Tutorial! | MTA PHP SDK
Markeloff Posted August 22, 2013 Posted August 22, 2013 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. Some people want it to happen, some wish it would happen, others make it happen.
Quited Posted August 26, 2013 Author Posted August 26, 2013 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.
Recommended Posts