mr.Extreme Posted October 18, 2013 Posted October 18, 2013 (edited) hello all This script does not work How to fix it?? clientside: CODE REMOVED serverside: function processAdminList( ) local players = getElementsByType( "player" ); local admins = { }; local moderators = { }; for k,v in ipairs( players ) do local accountname = ""; local account = getPlayerAccount( v ); local name = getPlayerName( v ); if not isGuestAccount( account )then local accountname = getAccountName( account ); if isObjectInACLGroup( "user." .. accountname, aclGetGroup( "Admin" ) ) then table.insert( admins, name ); elseif isObjectInACLGroup( "user." .. accountname, aclGetGroup( "Moderator" ) ) then table.insert( moderators, name ); end end end triggerClientEvent( root, "onClientStaffRefresh", root, moderators, admins ); end addEventHandler( "onResourceStart", root, processAdminList ); addEventHandler( "onPlayerLogin", root, processAdminList ); addEventHandler( "onPlayerLogout", root, processAdminList ); addEventHandler( "onPlayerChangeNick", root, processAdminList ); addEventHandler( "onPlayerQuit", root, processAdminList ); Edited October 18, 2013 by Guest
Markeloff Posted October 18, 2013 Posted October 18, 2013 Can you post your meta.xml? Because, I couldn't find the problem. Some people want it to happen, some wish it would happen, others make it happen.
mr.Extreme Posted October 18, 2013 Author Posted October 18, 2013 Can you post your meta.xml? Because, I couldn't find the problem.
-.Paradox.- Posted October 19, 2013 Posted October 19, 2013 Client side script is stolen from client files of http://grafuroam.ucoz.com/ , and please try to do it you're self as far as i know there is a resource in community that does, you don't need dxDrawText. If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
Recommended Posts