Raised This Month: $94 Target: $400
 23% 

Chat Mute - 08/18/08


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Zenith77 (34)
stupok
Veteran Member
Join Date: Feb 2006
Old 07-30-2007 , 03:53   Chat Mute - 08/18/08
Reply With Quote #1

Chat Mute


Last updated 08/18/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_chatmute <name>
Use this command in console to mute a specific player.
say /chatmute
This command brings up the mute menu.
amx_chatmutemenu
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
v1.6 - 08/18/08
Rewritten with Exolent's tip in mind.
Note
I could not test this extensively. I only did limited testing with bots, so please report any bugs you find.
Attached Files
File Type: sma Get Plugin or Get Source (chat_mute.sma - 3349 views - 5.6 KB)

Last edited by stupok; 09-18-2008 at 16:25.
stupok is offline
BlackMilk
Veteran Member
Join Date: Jun 2007
Old 07-30-2007 , 06:04   Re: Chat Mute
Reply With Quote #2

Too bad I can't test it yet, but glad you released it =]
__________________
Mod:
User:
BlackMilk is offline
Halolo
Senior Member
Join Date: Jul 2006
Location: Germany/Hessen
Old 07-30-2007 , 12:56   Re: Chat Mute
Reply With Quote #3

Good Idea. Testing it right now and works.
But one question, when i say /mute to all ingame, nothing happens.
amx_mutemenu works, but in the console it says "Unknown Command", but the menu opens =/
__________________
Halolo is offline
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-02-2007 , 14:15   Re: Chat Mute - 07/30/07
Reply With Quote #4

What about already created amx_gag (amx_super plugin)? That has options to mute not only chat, but voice also (but i've found that voice blocking doesn't work)
draft is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-02-2007 , 16:19   Re: Chat Mute - 07/30/07
Reply With Quote #5

Quote:
Originally Posted by draft View Post
What about already created amx_gag (amx_super plugin)? That has options to mute not only chat, but voice also (but i've found that voice blocking doesn't work)
This plugin is different!
Quote:
Originally Posted by stupok69
If you mute a player, you will not see his chat, but everyone else will.
When you gag an player he can't chat at all!
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 08-02-2007 , 16:46   Re: Chat Mute - 07/30/07
Reply With Quote #6

this is you cage yourself
gag is you cage him
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow is offline
BlackMilk
Veteran Member
Join Date: Jun 2007
Old 08-03-2007 , 05:30   Re: Chat Mute - 07/30/07
Reply With Quote #7

And as a reminder, gag is generally NOT open for use by the public.
Imagine ANYONE in your server being able to take away the ability of another player to chat/teamchat/use mic.

With this people can more effectively ignore others. So it's very useful for eg. when admins aren't around, when players are having a disagreement and one won't stop while the other just has enough of it and wants to keep playing undisturbed, that sorta thing.

I mean, you must have seen it a lot online, people getting into discussions and both wanting to have the last word, they just keep going at it, at that time you just want to not see any text of either players at all, right?

EDIT: And the usage of mic by specific players is accounted for by the built-in mute function of the game or by use of the already existing Mute Menu plugin.
__________________
Mod:
User:
BlackMilk is offline
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 08-03-2007 , 05:43   Re: Chat Mute - 07/30/07
Reply With Quote #8

Better name is Chat Ignore, imho. Muting is associating with muting yourself or muting anyone by admin.

Anyway, useful tool for clients.
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm
Simon Logic is offline
Send a message via Skype™ to Simon Logic
Maurice
Senior Member
Join Date: Nov 2006
Location: Netherlands
Old 08-03-2007 , 18:03   Re: Chat Mute - 07/30/07
Reply With Quote #9

After i died and used my say chat alive players could read it aswell, i'm using version 1.2 now and disabled the say_team function and everything seems to work with that modification. Only disabling the say chat is maybe already enoug but it would be great to block also the say_team chat.
__________________
Luck? Luck is only one feeling of amazement concerning a seemingly incidental circumstance which one himself must create.
Maurice is offline
stupok
Veteran Member
Join Date: Feb 2006
Old 08-06-2007 , 14:52   Re: Chat Mute - 07/30/07
Reply With Quote #10

I fixed that issue in V1.4, Maurice. However, I'm not sure how spectator's chat should work. When a spectator chats, can dead players AND alive players both see his chat?
__________________
stupok is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:09.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode