mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-19 18:06:32 +03:00
0.94
+ 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
This commit is contained in:
23
dayz_code/actions/list_playerDeaths.sqf
Normal file
23
dayz_code/actions/list_playerDeaths.sqf
Normal file
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user