1.1 --- a/plugins/basecomm.sp Mon Aug 05 11:36:59 2013 -0400
1.2 +++ b/plugins/basecomm.sp Mon Aug 05 11:46:29 2013 -0400
1.3 @@ -81,9 +81,6 @@
1.4 g_Cvar_Deadtalk = CreateConVar("sm_deadtalk", "0", "Controls how dead communicate. 0 - Off. 1 - Dead players ignore teams. 2 - Dead players talk to living teammates.", 0, true, 0.0, true, 2.0);
1.5 g_Cvar_Alltalk = FindConVar("sv_alltalk");
1.6
1.7 - AddCommandListener(Command_Say, "say");
1.8 - AddCommandListener(Command_Say, "say_team");
1.9 -
1.10 RegAdminCmd("sm_mute", Command_Mute, ADMFLAG_CHAT, "sm_mute <player> - Removes a player's ability to use voice.");
1.11 RegAdminCmd("sm_gag", Command_Gag, ADMFLAG_CHAT, "sm_gag <player> - Removes a player's ability to use chat.");
1.12 RegAdminCmd("sm_silence", Command_Silence, ADMFLAG_CHAT, "sm_silence <player> - Removes a player's ability to use voice or chat.");
1.13 @@ -154,13 +151,13 @@
1.14 return true;
1.15 }
1.16
1.17 -public Action:Command_Say(client, const String:command[], args)
1.18 +public Action:OnClientSayCommand(client, const String:command[], const String:sArgs[])
1.19 {
1.20 if (client)
1.21 {
1.22 if (g_Gagged[client])
1.23 {
1.24 - return Plugin_Handled;
1.25 + return Plugin_Stop;
1.26 }
1.27 }
1.28