AMARANT Posted April 4, 2016 Posted April 4, 2016 Is there any way to disable these two commands? They can cause a total mess on the server. Thanks in advance for replying.
TioTiago Posted April 5, 2016 Posted April 5, 2016 try: addEventHandler("onPlayerCommand",root,function(commandName) if commandName == "bind" or commandName == "unbind" then cancelEvent() end end) server side.
SpecT Posted April 5, 2016 Posted April 5, 2016 try: addEventHandler("onPlayerCommand",root,function(commandName) if commandName == "bind" or commandName == "unbind" then cancelEvent() end end) server side. That won't work. As MIKI785 said they are client-sided commands.
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