Thread: Admin Gag
View Single Post
Plugin Info:     Modification:          Category:          Approver:   BAILOPAN (72)
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 03-21-2004 , 15:07   Admin Gag
Reply With Quote #1

This plugin allows you to gag players from using say_team,say or voicecomm. It also echos admin actions
based on amx_show_activity. The plugin can also block gaged clients from changing their nick.
Admins with immunity will not be executed on, unless their executing on themself

Usage:
amx_gag <nick/userid> <flags (a/b/c)> <time in seconds> // lets you control what you want to gag
amx_gag <nick/userid> <time in seconds> // Will automaticly add the abc flag.
amx_gag <nick/userid> // Will add abc flags, and 600 secounds gag.
amx_gag <nick/userid> <flags> // Will add 600 sec to gag time
amx_ungag <nick/userid> // Will remove all "gags"

Modules required:
Engine

FAQ)
Q) Can i mute voicecomm?
A) Yes, that should be on by defualt. But you can make sure "#define VoiceCommMute 1"

Q) Whats the abc flags do?
A) a == normal say / b == team say / c == voicecomm

Q) Is there any way i can disable the engine module and still run the plugin?
A) yes, "#define VoiceCommMute 0".

Credits:
This plugin is heavly based on the work of tcquest78 in his gag plugin http://djeyl.net/forum/index.php?showtopic=4962
Ops in #AMXmod @ Quakenet for alot of help ( + AssKicR & CheesyPeteza )

Changelog:
  • 1.8.3 ( 23.02.2005 )
    - Fixed: Voicecomm not being muted via callfunc interface ( Like Admin Aimmenu )
The rest of the changelog is in the .sma comments
Attached Files
File Type: sma Get Plugin or Get Source (admin_gag.sma - 41900 views - 16.1 KB)
__________________
Github archive for plugins, the repos for the other c++ projects are there to.

Last edited by EKS; 06-26-2006 at 10:15.
EKS is offline