From 4baf847062b3d62d9ad216c3484537b6c99cee2e Mon Sep 17 00:00:00 2001 From: Matt Schubert Date: Sat, 29 Nov 2008 13:16:33 -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; }