myonlake Posted November 6, 2011 Posted November 6, 2011 (edited) Hello, Which original resource of MTA uses /me command? Asking because I want to remove it. Edited May 30, 2019 by myonlake If I helped you, please click the like button on the right Thanks!
^Dev-PoinT^ Posted November 6, 2011 Posted November 6, 2011 This is if you want Remove it removeCommandHandler ( "me" )
SDK Posted November 6, 2011 Posted November 6, 2011 You can't remove builtin commands. But you can disable the chat output: addEventHandler('onPlayerChat', root, function(message, type) if type == 1 then -- /me action cancelEvent() end end) Learn Lua - Learn to script - GUI scripting Scripter tools - Find/fix errors yourself(!) Don't pm me for scripting help, keep it for the Scripting subforum!
myonlake Posted November 6, 2011 Author Posted November 6, 2011 You can't remove builtin commands.But you can disable the chat output: addEventHandler('onPlayerChat', root, function(message, type) if type == 1 then -- /me action cancelEvent() end end) Alrigthy, thanks. If I helped you, please click the like button on the right Thanks!
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