Fixed hsay/tsay not checking for in-game players

This commit is contained in:
Matt Schubert 2008-11-29 18:49:10 -05:00
parent dcccfbd26a
commit f164419baa

View File

@ -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;
}