Raised This Month: $32 Target: $400
 8% 

AMX Mute - Mute a player in public chat [UPDATED]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 01-14-2010 , 16:03   AMX Mute - Mute a player in public chat [UPDATED]
Reply With Quote #1

Description

This plugin is capable of muting a player in the public chat (normal say).

Use

amx_mute <nick> [time]
amx_unmute <nick>

v1.1:
Added timed mute, just pass an extra parameter to amx_mute, the time in minutes. Example:
amx_mute player - Mute player until amx_unmute player or disconnect
amx_mute player 10 - Mute player for 10 minutes

Installation

Copy mute.amxx to your plugins directory and mute.txt to data/lang directory.
The mute.amxx line in plugins.ini MUST be before any other 3rd party plugin.

Multilingual support - Thanks for all the translations!

English - Me
Brazilian Portuguese - Me
Spanish - Javivi
Dutch - crazyeffect
Swedish - DarkGod
Russian - SHLAKBAUM
German - platzpatrone

Feel free to post new translations and I will update the dictionary file.
Attached Files
File Type: sma Get Plugin or Get Source (mute.sma - 6058 views - 2.4 KB)
File Type: txt mute.txt (2.1 KB, 2978 views)

Last edited by Seta00; 01-15-2010 at 12:24. Reason: German Translation by platzpatrone
Seta00 is offline
Javivi
AlliedModders Donor
Join Date: Dec 2008
Old 01-14-2010 , 16:26   Re: AMX Mute - Mute a player in public chat
Reply With Quote #2

Spanish translation
Code:
[es]
SORRY = Lo siento, el jugador %s no se pudo encontrar o no es un objetivo valido.
MUTED = Has sido muteado por un admin, para pedir disculpas escribe /sorry
BEEN_MUTED = El jugador %s ha sido muteado por el admin %s
CLIENT_SORRY = El jugador %s pide perdon por su estupidez
UNMUTED = Ya puedes hablar por el chat
[ES]
Algunas palabras no existen en espaņol, pero las que puse sustituyendolas estan bien creo, saludos.
__________________
Javivi is offline
CHyCMyMpNk
Senior Member
Join Date: Jun 2008
Location: PTZ
Old 01-14-2010 , 16:46   Re: AMX Mute - Mute a player in public chat
Reply With Quote #3

Add time = )

amx_mute <nick> <time>
CHyCMyMpNk is offline
Send a message via ICQ to CHyCMyMpNk
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 01-14-2010 , 16:55   Re: AMX Mute - Mute a player in public chat
Reply With Quote #4

Seems quite good

Dutch
Quote:
[nl]
SORRY = Speler %s ka, niet gevonden worden.
MUTED = Je mag niet meer spreken van een beheerder, schrijf '/sorry'.
BEEN_MUTED = Speler %s is verbannen om te spreken door beheerder %s.
CLIENT_SORRY = Speler %s zegt sorry voor zijn fouten.
UNMUTED = Je bent nu toegestaan te praten.
English Fix:
Quote:
[en]
SORRY = Player %s could not be found or targetted.
MUTED = You have been muted by an admin , to apologize, type /sorry
BEEN_MUTED = Player %s has been muted by admin %s.
CLIENT_SORRY = Player %s says sorry for his trolling.
UNMUTED = You are now able to chat.
__________________

Last edited by crazyeffect; 01-14-2010 at 16:59.
crazyeffect is offline
Send a message via MSN to crazyeffect
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 01-14-2010 , 17:22   Re: AMX Mute - Mute a player in public chat
Reply With Quote #5

Code:
[sv]
SORRY = Tyv'a'rr, spelare %s kunde inte bli hittad.
MUTED = Du har blivit stum av en admin, f'o'r att be om urs'a'kt, skriv /sorry.
BEEN_MUTED = Spelare %s har blivit stum av admin %s.
CLIENT_SORRY = Spelare %s har bett om urs'a'kt f'o'r sitt beteende.
UNMUTED = Du kan nu chatta igen.
__________________

Last edited by DarkGod; 01-14-2010 at 17:24.
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 01-14-2010 , 18:04   Re: AMX Mute - Mute a player in public chat
Reply With Quote #6

Quote:
Originally Posted by CHyCMyMpNk View Post
Add time = )

amx_mute <nick> <time>
Updated:

Now it's
Code:
amx_mute <nick> [time]
Example:
amx_mute player 1 - mute player for 1 minute
amx_mute player - mute player until amx_unmute player or disconnect

And thanks for the Spanish, Dutch and Swedish translations.
Seta00 is offline
NGage70
Senior Member
Join Date: Sep 2008
Old 01-14-2010 , 18:08   Re: AMX Mute - Mute a player in public chat [UPDATED]
Reply With Quote #7

[pt]
SORRY = O jogador %s nao pode ser encontrado ou e imune.
MUTED = Um admin deixou-te mudo, para pedir desculpas, escreve /sorry
BEEN_MUTED = O jogador %s foi mutado pelo admin %s
CLIENT_SORRY = O jogador %s pediu desculpas por ser n00b
UNMUTED = Agora ja podes falar no chat.
__________________
NGage70 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-14-2010 , 18:11   Re: AMX Mute - Mute a player in public chat [UPDATED]
Reply With Quote #8

Fix your loose indentation and symbol not used warnings
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 01-14-2010 , 18:19   Re: AMX Mute - Mute a player in public chat [UPDATED]
Reply With Quote #9

Symbol not used warning is fixed, and I don't know how to fix loose indentation warning.
Seta00 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-14-2010 , 18:23   Re: AMX Mute - Mute a player in public chat [UPDATED]
Reply With Quote #10

Use only tabs or only spaces to indent your code. Currently you mix it.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou 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 06:43.


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