[Discord] Use AutoRecorder natives for adminlogs.

This commit is contained in:
zaCade 2023-07-07 10:34:38 +02:00
parent ce2397e849
commit 5e45af2f68

View File

@ -8,6 +8,7 @@
#include <multicolors>
#include <sdktools>
#include <AFKManager>
#include <AutoRecorder>
#include <SteamAPI.secret>
#include <Discord.secret>
@ -591,7 +592,7 @@ public Action OnLogAction(Handle hSource, Identity ident, int client, int target
char sClientName[64];
GetCurrentMap(sCurrentMap, sizeof(sCurrentMap));
Format(sFinal, sizeof(sFinal), "[ %s ]```%s```", sCurrentMap, sMsg);
Format(sFinal, sizeof(sFinal), "[ %s ][ Demo: %d @ Tick: %d ]```%s```", sCurrentMap, GetDemoRecordingNumber(), GetDemoRecordingTick(), sMsg);
GetClientName(client, sClientName, sizeof(sClientName));