AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hide entered message command? (https://forums.alliedmods.net/showthread.php?t=117140)

V I R U S 01-29-2010 14:13

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!

V I R U S 01-30-2010 07:17

Re: Hide entered message command?
 
No one?

Mevrael 01-30-2010 07:26

Re: Hide entered message command?
 
register_clcmd("say /hp", "emptyFunction")

public emptyFunction() { return PLUGIN_HANDLED }

xPaw 01-30-2010 08:15

Re: Hide entered message command?
 
Open plugin where are those commands, find the function, and add on end of it return PLUGIN_HANDLED;

V I R U S 01-30-2010 11:49

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.