ConnectAnnounce: another small fix
This commit is contained in:
parent
1d5f97113f
commit
5d513b0cce
@ -375,7 +375,7 @@ public void TQueryCB(Handle owner, Handle rs, const char[] error, any data)
|
|||||||
CPrintToChatAll(sRawMsg);
|
CPrintToChatAll(sRawMsg);
|
||||||
for(int i = 1; i <= MaxClients; i++)
|
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");
|
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);
|
CPrintToChatAll(sFinalMessage);
|
||||||
for(int i = 1; i <= MaxClients; i++)
|
for(int i = 1; i <= MaxClients; i++)
|
||||||
{
|
{
|
||||||
if(!g_bHideCsays[i] && IsClientConnected[i])
|
if(!g_bHideCsays[i] && IsClientInGame(i))
|
||||||
{
|
{
|
||||||
CRemoveTags(sCustomMessage, 256);
|
CRemoveTags(sCustomMessage, 256);
|
||||||
PrintCenterText(i, "%s %s %s %s", "[VIP]", sName, "connected", sCustomMessage);
|
PrintCenterText(i, "%s %s %s %s", "[VIP]", sName, "connected", sCustomMessage);
|
||||||
|
Loading…
Reference in New Issue
Block a user