From f164419baa11be04a7d05c2584cee5f325c534ba Mon Sep 17 00:00:00 2001 From: Matt Schubert Date: Sat, 29 Nov 2008 18:49:10 -0500 Subject: [PATCH] Fixed hsay/tsay not checking for in-game players --- plugins/basechat.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/basechat.sp b/plugins/basechat.sp index 65b51b73..25d01fe5 100644 --- a/plugins/basechat.sp +++ b/plugins/basechat.sp @@ -239,7 +239,7 @@ public Action:Command_SmHsay(client, args) for (new i = 1; i <= MaxClients; i++) { - if (!IsClientConnected(i) || IsFakeClient(i)) + if (!IsClientInGame(i) || IsFakeClient(i)) { continue; } @@ -279,7 +279,7 @@ public Action:Command_SmTsay(client, args) for (new i = 1; i <= MaxClients; i++) { - if (!IsClientConnected(i) || IsFakeClient(i)) + if (!IsClientInGame(i) || IsFakeClient(i)) { continue; }