From b0c6be592d406038ea4867aaf93297c2177b65ca Mon Sep 17 00:00:00 2001 From: jenz Date: Sun, 2 Jun 2024 00:34:20 +0200 Subject: [PATCH] reverting the include for madness plugin again --- Discord_UNLOZE/scripting/Discord_UNLOZE.sp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/Discord_UNLOZE/scripting/Discord_UNLOZE.sp b/Discord_UNLOZE/scripting/Discord_UNLOZE.sp index 7abc13de..8dd450d2 100644 --- a/Discord_UNLOZE/scripting/Discord_UNLOZE.sp +++ b/Discord_UNLOZE/scripting/Discord_UNLOZE.sp @@ -18,7 +18,6 @@ #tryinclude #tryinclude #tryinclude -#tryinclude #pragma newdecls required @@ -675,26 +674,6 @@ public Action OnClientSayCommand(int client, const char[] sCommand, const char[] return Plugin_Continue; } -public void KickEliteHackDetectorPost(int client) -{ - char sClientName[MAX_NAME_LENGTH]; - char sClientID[21]; - GetClientName(client, sClientName, sizeof(sClientName)); - GetClientAuthId(client, AuthId_Steam2, sClientID, sizeof(sClientID)); - char currentMap[64]; - GetCurrentMap(currentMap, sizeof(currentMap)); - char sMessage[1900]; - char sAuthID64[32]; - if (!Steam32IDtoSteam64ID(sClientID, sAuthID64, sizeof(sAuthID64))) - return; - - Format(sMessage, sizeof(sMessage), "https://steamcommunity.com/profiles/%s\nName: %s\nSteamID: %s\nClient got kicked for potentially using ZE elite hack. might have squashed the guy crashing the server. map was: %s", sAuthID64, sClientName, sClientID, currentMap); - if (g_sAvatarURL[client][0] != '\0') - Discord_POST(DISCORD_BAN_DETECTOR, sMessage, true, sClientName, true, g_sAvatarURL[client], false); - else - Discord_POST(DISCORD_BAN_DETECTOR, sMessage, true, sClientName, false, "", false); -} - public void BanDetectorPost(int client, const char[] detected_sourceban) { char sClientName[MAX_NAME_LENGTH];