mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
+ Added 10oz gold bars + Added recipes for crafting 1 and 10oz gold bars + typo fixed in new sell menu color coding. + test to see if m113 can have cargo + kill messages added to server side array + info board added: Recent Player Deaths from server array. + fixed size of bronze bars
23 lines
807 B
Plaintext
23 lines
807 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;
|
|
|
|
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; |