Chat Mute


Last updated 02/22/08

Description
With this plugin you can mute other players' chat (say, say_team). If you mute a player, you will not see his chat, but everyone else will.
Commands
amx_mute <name>
Use this command in console to mute a specific player.
say /mute
This command brings up the mute menu.
amx_mutemenu
This command brings up the mute menu.
Credits
Pro Patria Finland and teame06
Thanks for convincing me that this is actually possible to do.
SPECIAL THANKS
Thank you for the menu code, xeroblood. I think tons of scripters have used your code in their plugins, it's great!
http://forums.alliedmods.net/showpos...31&postcount=5
Changelog
v1.0 - 07/30/07
Initial release.
v1.1 - 07/30/07
menu colors disabled for non-Counter-Strike
"say /mute" works
"Unknown command" removed
usage displayed for "amx_mute"
v1.2 - 07/30/07
say_team now works better
v1.3 - 07/31/07
say_team now works as it should
I think this is as seamless as I can get it...
v1.4 - 08/06/07
now dead players shouldn't be able to communicate with alive players
v1.5 - 02/22/08
probably fixed dead chat issues, changed code to Zenith's specs
Note
I've tested this extensively on Counter-Strike, but not on other mods. I've tried to make this plugin as universal as possible, but post if you find that something isn't the way it should be.