[Discord] Use AutoRecorder natives for adminlogs.
This commit is contained in:
parent
ce2397e849
commit
5e45af2f68
@ -8,6 +8,7 @@
|
|||||||
#include <multicolors>
|
#include <multicolors>
|
||||||
#include <sdktools>
|
#include <sdktools>
|
||||||
#include <AFKManager>
|
#include <AFKManager>
|
||||||
|
#include <AutoRecorder>
|
||||||
|
|
||||||
#include <SteamAPI.secret>
|
#include <SteamAPI.secret>
|
||||||
#include <Discord.secret>
|
#include <Discord.secret>
|
||||||
@ -591,7 +592,7 @@ public Action OnLogAction(Handle hSource, Identity ident, int client, int target
|
|||||||
char sClientName[64];
|
char sClientName[64];
|
||||||
|
|
||||||
GetCurrentMap(sCurrentMap, sizeof(sCurrentMap));
|
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));
|
GetClientName(client, sClientName, sizeof(sClientName));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user