structured logging

This commit is contained in:
2024-01-29 13:26:44 -08:00
parent 8d42fa4593
commit 2951e9cda9
4 changed files with 32 additions and 3 deletions

View File

@@ -3,7 +3,11 @@
{
_clientID = _thisArgs select 0;
player setDamage 1;
format["[MILSIM] (init) %1 claims they were glitched and respawned - %2", name player, netID player] remoteExec["diag_log", 2];
format[
"[MILSIM] (init) CHAT COMMAND RESPAWN playerNetID=%1 %2",
player call BIS_fnc_netId,
[player] call milsim_fnc_getPlayerLogString
] remoteExec["diag_log", 2];
format["%1 claims they were glitched and respawned (%2)", name player, netID player] remoteExec["systemChat", -_clientID];
},
"all",