-misterX- Posted January 15, 2013 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)
Castillo Posted January 15, 2013 Posted January 15, 2013 You forgot to define 'thePlayer' argument here: function destroyGroup() San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted January 15, 2013 Posted January 15, 2013 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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