1.1 --- a/plugins/basetriggers.sp Sun Jun 05 21:52:36 2011 -0400
1.2 +++ b/plugins/basetriggers.sp Sun Jun 05 23:13:25 2011 -0400
1.3 @@ -75,8 +75,9 @@
1.4 g_Cvar_TimeleftInterval = CreateConVar("sm_timeleft_interval", "0.0", "Display timeleft every x seconds. Default 0.", 0, true, 0.0, true, 1800.0);
1.5 g_Cvar_FriendlyFire = FindConVar("mp_friendlyfire");
1.6
1.7 - RegConsoleCmd("say", Command_Say);
1.8 - RegConsoleCmd("say_team", Command_Say);
1.9 + AddCommandListener("say", Command_Say);
1.10 + AddCommandListener("say2", Command_Say);
1.11 + AddCommandListener("say_team", Command_Say);
1.12
1.13 RegConsoleCmd("timeleft", Command_Timeleft);
1.14 RegConsoleCmd("nextmap", Command_Nextmap);
1.15 @@ -221,9 +222,9 @@
1.16 return Plugin_Handled;
1.17 }
1.18
1.19 -public Action:Command_Say(client, args)
1.20 +public Action:Command_Say(client, const String:command[], argc)
1.21 {
1.22 - decl String:text[192], String:command[64];
1.23 + decl String:text[192];
1.24 new startidx = 0;
1.25 if (GetCmdArgString(text, sizeof(text)) < 1)
1.26 {