1.1 --- a/plugins/antiflood.sp Mon Jul 16 17:49:18 2007 +0000
1.2 +++ b/plugins/antiflood.sp Mon Jul 16 21:32:17 2007 +0000
1.3 @@ -47,6 +47,12 @@
1.4 sm_flood_time = CreateConVar("sm_flood_time", "0.75", "Amount of time allowed between chat messages");
1.5 }
1.6
1.7 +public OnClientPutInServer(client)
1.8 +{
1.9 + g_LastTime[client] = 0.0;
1.10 + g_FloodTokens[client] = 0;
1.11 +}
1.12 +
1.13 public Action:CheckChatFlood(client, args)
1.14 {
1.15 /* Chat from server console shouldn't be checked for flooding */