Merge branch 'main' into inv_expan

This commit is contained in:
2024-01-30 17:03:36 -08:00
32 changed files with 1282 additions and 233 deletions

View File

@@ -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];
};
}