Bonsai Posted October 30, 2014 Share Posted October 30, 2014 Hey Peeps, some time ago I made a little custom chatbox. Right now I'm trying to fix some minor things. One of those are commands. As far as I know, clientside commands are nothing to worry about. It should work fine just executing. Serverside commands are complicated cause there is a custom acl system involved. Hardcoded commands, such as /bind, only work in console, since you can't execute them as it seems. I just wonder if there is a way to make them work in a custom chatbox either. Bonsai Link to comment
Mr_Moose Posted October 31, 2014 Share Posted October 31, 2014 ExecuteCommandHandler might be the solution, only works for commands written in lua (i.e custom functions you wrote by yourself) and not the hardcoded commands. -- server bool executeCommandHandler( string commandName, player thePlayer, [ string args ] ) -- client bool executeCommandHandler( string commandName, [ string args ] ) 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