mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 17:20:26 +03:00
22 lines
618 B
Plaintext
22 lines
618 B
Plaintext
private ["_activatingPlayer"];
|
|
|
|
// [ _trader_id, _category, _action ];
|
|
_activatingPlayer = _this select 1;
|
|
|
|
//diag_log format["DEBUG DEATH OBJ: %1", _this select 0];
|
|
|
|
//["dayzPlayerDeaths",[_activatingPlayer]] call callRpcProcedure;
|
|
dayzPlayerDeaths = [_activatingPlayer];
|
|
publicVariableServer "dayzPlayerDeaths";
|
|
|
|
waitUntil {!isNil "dayzPlayerDeathsResult"};
|
|
|
|
//diag_log format["DEBUG Death: %1", dayzPlayerDeathsResult];
|
|
|
|
if((count dayzPlayerDeathsResult) > 0) then {
|
|
// load death message board ui
|
|
call EpochDeathBoardLoad;
|
|
} else {
|
|
cutText ["No recent Deaths.", "PLAIN DOWN"];
|
|
dayzPlayerDeathsResult = nil;
|
|
}; |