[Discord] Alter formatting slightly]
This commit is contained in:
parent
5cca9ae651
commit
4e20c52b74
@ -589,10 +589,17 @@ public Action OnLogAction(Handle hSource, Identity ident, int client, int target
|
||||
|
||||
char sFinal[256];
|
||||
char sCurrentMap[32];
|
||||
char sDemoInfo[64];
|
||||
char sClientName[64];
|
||||
|
||||
GetCurrentMap(sCurrentMap, sizeof(sCurrentMap));
|
||||
Format(sFinal, sizeof(sFinal), "[ %s ][ Demo: %d @ Tick: %d ]```%s```", sCurrentMap, GetDemoRecordingNumber(), GetDemoRecordingTick(), sMsg);
|
||||
|
||||
if (IsDemoRecording())
|
||||
Format(sDemoInfo, sizeof(sDemoInfo), "[ Demo: %d @ Tick: %d ]", GetDemoRecordingNumber(), GetDemoRecordingTick());
|
||||
else
|
||||
Format(sDemoInfo, sizeof(sDemoInfo), "[ Not recording ]");
|
||||
|
||||
Format(sFinal, sizeof(sFinal), "[ %s ]%s```%s```", sCurrentMap, sDemoInfo, sMsg);
|
||||
|
||||
GetClientName(client, sClientName, sizeof(sClientName));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user