ConnectAnnounce: another small fix

This commit is contained in:
Dogan 2019-01-11 01:29:46 +01:00
parent 1d5f97113f
commit 5d513b0cce

View File

@ -375,7 +375,7 @@ public void TQueryCB(Handle owner, Handle rs, const char[] error, any data)
CPrintToChatAll(sRawMsg);
for(int i = 1; i <= MaxClients; i++)
{
if(!g_bHideCsays[i] && IsClientConnected[i])
if(!g_bHideCsays[i] && IsClientInGame(i))
{
PrintCenterText(i, "%s %s %s", "[VIP]", sName, "connected");
}
@ -387,7 +387,7 @@ public void TQueryCB(Handle owner, Handle rs, const char[] error, any data)
CPrintToChatAll(sFinalMessage);
for(int i = 1; i <= MaxClients; i++)
{
if(!g_bHideCsays[i] && IsClientConnected[i])
if(!g_bHideCsays[i] && IsClientInGame(i))
{
CRemoveTags(sCustomMessage, 256);
PrintCenterText(i, "%s %s %s %s", "[VIP]", sName, "connected", sCustomMessage);