Chlorek Posted February 16, 2011 Posted February 16, 2011 Hi. I need little help. So, how to add command script in lua? And secound problem is how to do this command is for admins only? Plz quickly help.
Castillo Posted February 16, 2011 Posted February 16, 2011 to add a command just use addCommandHandler
Aibo Posted February 16, 2011 Posted February 16, 2011 well correct way would be add this command to ACL.
eAi Posted February 16, 2011 Posted February 16, 2011 ... with hasObjectPermissionTo. (Removed your incorrect suggestion Solidsnake14!)
TheGhost Posted February 17, 2011 Posted February 17, 2011 addCommandHandler("command", function (element, command) end )
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