ConnectAnnounce: fix neon

This commit is contained in:
Dogan 2019-10-15 19:14:39 +02:00
parent a50a22b3b8
commit 4b89a20bbc

View File

@ -449,7 +449,10 @@ public void TQueryCB(Handle owner, Handle rs, const char[] error, any data)
if(!g_bHideCsays[i] && IsClientInGame(i))
{
CRemoveTags(sCustomMessage, 256);
PrintCenterText(i, "%s %s %s %s", "[VIP]", sName, "connected", sCustomMessage);
if(StrContains(sCustomMessage, "") == -1)
PrintCenterText(i, "%s %s %s %s", "[VIP]", sName, "connected", sCustomMessage);
else
PrintCenterText(i, "%s %s %s", "[VIP]", sName, "connected");
}
}
}