Merge branch 'main' into inv_expan

This commit is contained in:
2024-02-01 14:12:10 -06:00
6 changed files with 42 additions and 53 deletions

View File

@@ -5,10 +5,11 @@ player addEventHandler["Respawn",
params ["_unit", "_corpse"];
private _killer = _corpse getVariable ["ace_medical_causeOfDeath", "#scripted"];
if (_killer == "respawn_button") then {
format[
"[MILSIM] (client) RESPAWNED WHILE UNCONSCIOUS %1",
[_unit] call milsim_fnc_getPlayerLogString
] remoteExec["diag_log", 0];
[
"client",
"RESPAWNED WHILE UNCONSCIOUS",
[_unit] call milsim_fnc_addPlayerInfoToArray
] remoteExec ["milsim_fnc_log", 2];
// format["%1 was unconscious then clicked the respawn button", name _unit] remoteExec["systemChat", 0];
};
}