From 086040f184b1ce0c106c6f156b55fc77a4baf907 Mon Sep 17 00:00:00 2001 From: Dogan Date: Fri, 11 Jan 2019 17:12:56 +0100 Subject: [PATCH] ConnectAnnounce: another fix should be last fucking fix. now those who never used !joinmsg should also appear as csay --- ConnectAnnounce/scripting/ConnectAnnounce.sp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ConnectAnnounce/scripting/ConnectAnnounce.sp b/ConnectAnnounce/scripting/ConnectAnnounce.sp index 1dee3873..a4e01d3f 100644 --- a/ConnectAnnounce/scripting/ConnectAnnounce.sp +++ b/ConnectAnnounce/scripting/ConnectAnnounce.sp @@ -396,8 +396,16 @@ public void TQueryCB(Handle owner, Handle rs, const char[] error, any data) } } else + { CPrintToChatAll(sRawMsg); - + for(int i = 1; i <= MaxClients; i++) + { + if(!g_bHideCsays[i] && IsClientInGame(i)) + { + PrintCenterText(i, "%s %s %s", "[VIP]", sName, "connected"); + } + } + } } //---------------------------------------------------------------------------------------------------- // Purpose: