Hide entered message command?
Hello all!
I'm looking for a way to hide the entered commands by users like /hp, /me, and others so, that they will not be shown in the chat, cause a lot of players are spamming all the chat full. Thanks! |
Re: Hide entered message command?
No one?
|
Re: Hide entered message command?
register_clcmd("say /hp", "emptyFunction")
public emptyFunction() { return PLUGIN_HANDLED } |
Re: Hide entered message command?
Open plugin where are those commands, find the function, and add on end of it return PLUGIN_HANDLED;
|
Re: Hide entered message command?
Thanks to you! =))
|
| All times are GMT -4. The time now is 07:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.