reverting the include for madness plugin again
This commit is contained in:
parent
ca37605983
commit
b0c6be592d
@ -18,7 +18,6 @@
|
|||||||
#tryinclude <oryx>
|
#tryinclude <oryx>
|
||||||
#tryinclude <entWatch_restrictions>
|
#tryinclude <entWatch_restrictions>
|
||||||
#tryinclude <jenz_ban_detector>
|
#tryinclude <jenz_ban_detector>
|
||||||
#tryinclude <testingjust>
|
|
||||||
|
|
||||||
#pragma newdecls required
|
#pragma newdecls required
|
||||||
|
|
||||||
@ -675,26 +674,6 @@ public Action OnClientSayCommand(int client, const char[] sCommand, const char[]
|
|||||||
return Plugin_Continue;
|
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)
|
public void BanDetectorPost(int client, const char[] detected_sourceban)
|
||||||
{
|
{
|
||||||
char sClientName[MAX_NAME_LENGTH];
|
char sClientName[MAX_NAME_LENGTH];
|
||||||
|
Loading…
Reference in New Issue
Block a user