mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 01:30:26 +03:00
+ Increased raise horde distance to 65m. + decreased raise horde action timer to 7 seconds. + sync with 1.7.6.1 CE
25 lines
891 B
Plaintext
25 lines
891 B
Plaintext
private["_activatingPlayer","_trader_id","_category","_action","_id","_type","_loc","_name","_qty","_cost","_qty","_sell","_cur","_order","_tid","_currency","_actionFile","_in","_out","_part","_cat","_cancel","_Display","_File","_textCurrency","_textPart"];
|
|
|
|
// [ _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 {
|
|
"Recent Player Deaths:" hintC dayzPlayerDeathsResult;
|
|
} else {
|
|
"Recent Player Deaths:" hintC "No recent Deaths.";
|
|
};
|
|
|
|
|
|
|
|
// Clear Data maybe consider cacheing results
|
|
dayzPlayerDeathsResult = nil; |