mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
added logging to swap object and changed to getPlayerUID
This commit is contained in:
@@ -1,23 +1,15 @@
|
||||
private ["_activatingPlayer"];
|
||||
|
||||
// [ _trader_id, _category, _action ];
|
||||
_activatingPlayer = player;
|
||||
private [];
|
||||
|
||||
// attempt to remove newspaper if called without args
|
||||
if (count _this == 0) then {
|
||||
player removeMagazine "ItemNewspaper";
|
||||
};
|
||||
|
||||
//diag_log format["DEBUG DEATH OBJ: %1", _this select 0];
|
||||
|
||||
//["PVDZE_plr_DeathB",[_activatingPlayer]] call callRpcProcedure;
|
||||
PVDZE_plr_DeathB = [_activatingPlayer];
|
||||
PVDZE_plr_DeathB = [player];
|
||||
publicVariableServer "PVDZE_plr_DeathB";
|
||||
|
||||
waitUntil {!isNil "PVDZE_plr_DeathBResult"};
|
||||
|
||||
//diag_log format["DEBUG Death: %1", PVDZE_plr_DeathBResult];
|
||||
|
||||
if((count PVDZE_plr_DeathBResult) > 0) then {
|
||||
// load death message board ui
|
||||
call EpochDeathBoardLoad;
|
||||
|
||||
Reference in New Issue
Block a user