diff --git a/plugins/l4d2_TKStopper.smx b/plugins/l4d2_TKStopper.smx index a24f96d..8384e6c 100644 Binary files a/plugins/l4d2_TKStopper.smx and b/plugins/l4d2_TKStopper.smx differ diff --git a/scripting/l4d2_TKStopper.sp b/scripting/l4d2_TKStopper.sp index ae2418b..a5f6e1a 100644 --- a/scripting/l4d2_TKStopper.sp +++ b/scripting/l4d2_TKStopper.sp @@ -150,6 +150,11 @@ public Action Event_PlayerToBot(Handle event, char[] name, bool dontBroadcast) { /////////////////////////////////////////////////////////////////////////////// public void Event_FinaleVehicleReady(Event event, const char[] name, bool dontBroadcast) { IsFinaleEnding = true; + for(int i = 1; i <= MaxClients; i++) { + if(IsClientConnected(i) && IsClientInGame(i) && isPlayerTroll[i]) { + PrintChatToAdmins("Note: %N is still marked as troll and will be banned after this game.", i); + } + } } public void OnMapEnd() { @@ -267,4 +272,18 @@ public Action Command_IgnorePlayer(int client, int args) { } return Plugin_Handled; -} \ No newline at end of file +} + +stock void PrintChatToAdmins(const char[] format, any ...) { + char buffer[254]; + VFormat(buffer, sizeof(buffer), format, 2); + for(int i = 1; i < MaxClients; i++) { + if(IsClientConnected(i) && IsClientInGame(i)) { + AdminId admin = GetUserAdmin(i); + if(admin != INVALID_ADMIN_ID) { + PrintToChat(i, "%s", buffer); + } + } + } + PrintToServer("%s", buffer); +}