Young$ Posted January 23, 2012 Share Posted January 23, 2012 ERROR: Couldn't find meta.xml file for resource aclScoreboard. help he can't load acl Scoreboard. script is good everything. i have make meta.xml again but same error. ERROR: Couldn't find meta.xml file for resource aclScoreboard Link to comment
Kenix Posted January 23, 2012 Share Posted January 23, 2012 <meta> <info author="youngs" type="misc" name="ACL in scoreboard" /> <script src="acl.lua" type="server"/> </meta> You forgot / in end block. Link to comment
Young$ Posted January 23, 2012 Author Share Posted January 23, 2012 <meta> <info author="youngs" type="misc" name="ACL in scoreboard" /> <script src="acl.lua" type="server"/> </meta> You forgot / in end block. how you mean Link to comment
Kenix Posted January 23, 2012 Share Posted January 23, 2012 <meta> <info author="youngs" type="misc" name="ACL in scoreboard" /> <script src="acl.lua" type="server"/> </meta><!-- you use <meta> ( not </meta> ) --> Understand? Link to comment
Young$ Posted January 23, 2012 Author Share Posted January 23, 2012 thnx but the scoreboard is wrong script i think? this is script _________________________________________________________________ --call(getResourceFromName("scoreboard"), "addScoreboardColumn") exports["scoreboard"]:scoreboardAddColumn("ACL") function setACL(player) local admin = "Admin" local supermoderator = "SuperModerator" local moderator = "Moderator" local everyone = "Visitor" local console = "HeadAdmin" if isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(player)) , aclGetGroup ( "Admin" ) ) then setElementData ( player, "ACL", admin ) elseif isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(player)) , aclGetGroup ( "SuperModerator" ) ) then setElementData ( player, "ACL", supermoderator ) elseif isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(player)) , aclGetGroup ( "Moderator" ) ) then setElementData ( player, "ACL", moderator ) elseif isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(player)) , aclGetGroup ( "Console" ) ) then setElementData ( player, "ACL", console ) elseif isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(player)) , aclGetGroup ( "Everyone" ) ) then setElementData ( player, "ACL", everyone ) end end function timer() setTimer( setACL, 1000, 1, source ) end addEventHandler("onPlayerLogin", getRootElement(), timer) addEventHandler("onPlayerJoin", getRootElement(), timer) ___________________________________________________________________ and this is scoreboard ___________________________________________________________________ ___________________________________________________________________ and this is what i want ___________________________________________________________________ ___________________________________________________________________ i hope you can give a good script Link to comment
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