diff --git a/Discord_UNLOZE/scripting/Discord_UNLOZE.sp b/Discord_UNLOZE/scripting/Discord_UNLOZE.sp index 8dd450d..08c8073 100644 --- a/Discord_UNLOZE/scripting/Discord_UNLOZE.sp +++ b/Discord_UNLOZE/scripting/Discord_UNLOZE.sp @@ -17,7 +17,8 @@ #tryinclude #tryinclude #tryinclude -#tryinclude +//#tryinclude +#tryinclude #pragma newdecls required @@ -674,7 +675,7 @@ public Action OnClientSayCommand(int client, const char[] sCommand, const char[] return Plugin_Continue; } -public void BanDetectorPost(int client, const char[] detected_sourceban) +public void BanDetectorPost1(int client, const char[] detected_sourceban) { char sClientName[MAX_NAME_LENGTH]; char sClientID[21]; @@ -687,7 +688,7 @@ public void BanDetectorPost(int client, const char[] detected_sourceban) if (!Steam32IDtoSteam64ID(sClientID, sAuthID64, sizeof(sAuthID64))) return; - Format(sMessage, sizeof(sMessage), "https://steamcommunity.com/profiles/%s\nName: %s\nSteamID: %s\nClient is ban avoiding the ban: https://bans.unloze.com/index.php?p=banlist&searchText=%s&Submit=Search ", sAuthID64, sClientName, sClientID, detected_sourceban); + Format(sMessage, sizeof(sMessage), "https://steamcommunity.com/profiles/%s\nName: %s\nSteamID: %s\nMap: %s\nClient is ban avoiding the ban: https://bans.unloze.com/index.php?p=banlist&searchText=%s&Submit=Search ", sAuthID64, sClientName, sClientID, currentMap, detected_sourceban); if (g_sAvatarURL[client][0] != '\0') Discord_POST(DISCORD_BAN_DETECTOR, sMessage, true, sClientName, true, g_sAvatarURL[client], false); else @@ -710,7 +711,7 @@ public void CallAdmin_OnReportPost(int client, int target, const char[] reason) serverPort = CallAdmin_GetHostPort(); CallAdmin_GetHostName(sServerName, sizeof(sServerName)); - // Reporter wasn't a real client (initiated by a module) + // Reporter wasnt a real client (initiated by a module) if (client == REPORTER_CONSOLE) { strcopy(sClientName, sizeof(sClientName), "Server/Console"); @@ -839,7 +840,7 @@ public void EW_OnClientRestricted(int client, int target, int length) else if (length == 0) Format(sMessageTemp, sizeof(sMessageTemp), "%L got permanently restricted by %L", target, client); else - Format(sMessageTemp, sizeof(sMessageTemp), "%L got restricted by %L for %d minutes", target, client, length); + Format(sMessageTemp, sizeof(sMessageTemp), "%L got restricted by %L for %d Hours playtime", target, client, length); char sMessage[1920]; // 128 x 15 Format(sMessage, sizeof(sMessage), "[ %s ][ %s ]```%s```", sCurrentMap, sDemoInfo, sMessageTemp);