Fixed hsay/tsay not checking for in-game players

This commit is contained in:
Matt Schubert 2008-11-29 13:16:33 -05:00
parent 90a44ea6c8
commit 4baf847062

View File

@ -239,7 +239,7 @@ public Action:Command_SmHsay(client, args)
for (new i = 1; i <= MaxClients; i++) for (new i = 1; i <= MaxClients; i++)
{ {
if (!IsClientConnected(i) || IsFakeClient(i)) if (!IsClientInGame(i) || IsFakeClient(i))
{ {
continue; continue;
} }
@ -279,7 +279,7 @@ public Action:Command_SmTsay(client, args)
for (new i = 1; i <= MaxClients; i++) for (new i = 1; i <= MaxClients; i++)
{ {
if (!IsClientConnected(i) || IsFakeClient(i)) if (!IsClientInGame(i) || IsFakeClient(i))
{ {
continue; continue;
} }