structured logging
This commit is contained in:
@@ -3,9 +3,12 @@ if ( !hasInterface ) exitWith {};
|
||||
player addEventHandler["Respawn",
|
||||
{
|
||||
params ["_unit", "_corpse"];
|
||||
_killer = _corpse getVariable ["ace_medical_causeOfDeath", "#scripted"];
|
||||
private _killer = _corpse getVariable ["ace_medical_causeOfDeath", "#scripted"];
|
||||
if (_killer == "respawn_button") then {
|
||||
format["[MILSIM] (client) %1 was unconscious then clicked the respawn button", name _unit] remoteExec["diag_log", 0];
|
||||
format[
|
||||
"[MILSIM] (client) RESPAWNED WHILE UNCONSCIOUS %1",
|
||||
[_unit] call milsim_fnc_getPlayerLogString
|
||||
] remoteExec["diag_log", 0];
|
||||
// format["%1 was unconscious then clicked the respawn button", name _unit] remoteExec["systemChat", 0];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user