-misterX- Posted January 15, 2013 Share Posted January 15, 2013 console reports: bad argument on getelementData, aclgetgroup and acldestroygroup function destroyGroup() group = getElementData(thePlayer, "group") aclDestroyGroup ( aclGetGroup(group) ) warnText("you destroyed your group", thePlayer) end addCommandHandler("destroygroup", destroyGroup) Link to comment
Castillo Posted January 15, 2013 Share Posted January 15, 2013 You forgot to define 'thePlayer' argument here: function destroyGroup() 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