Hey, I having this problem for a while already and don't know how to fix it.. when I try to ban/kick or do something via admin panel it says this on console or debugscript (same) "WARNING: [admin]/admin/server/admin_server.lua:228: Access denied @ '
aclSave'"
code of admin_server.lua:
--[[********************************** * * Multi Theft Auto - Admin Panel * * admin_server.lua * * Original File by lil_Toady * **************************************]]
function notifyPlayerLoggedIn(player) outputChatBox("Press 'p' to open your admin panel", player) local unread = 0 for _, msg inipairs( aReports )do unread = unread + ( msg.read and0or1) end if unread > 0then outputChatBox( unread .. " unread Admin message" .. ( unread==1and""or"s"), player, 255, 0, 0) end end
addEventHandler("onResourceStop", _root, function(resource) -- Incase the resource being stopped has been deleted local stillExists = false for i, res inipairs(getResources())do if res == resourcethen stillExists = true break end end ifnot stillExists thenreturnend
function aGetSetting ( setting ) local result = xmlFindChild( _settings, tostring( setting ), 0) if( result )then result = xmlNodeGetValue( result ) if( result == "true")thenreturntrue elseif( result == "false")thenreturnfalse elsereturn result end end returnfalse end
Question
Dazsh
Hey, I having this problem for a while already and don't know how to fix it.. when I try to ban/kick or do something via admin panel it says this on console or debugscript (same) "WARNING: [admin]/admin/server/admin_server.lua:228: Access denied @ '
aclSave'"
code of admin_server.lua:
Edited by GuestLink to comment
6 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now