added logging to swap object and changed to getPlayerUID

This commit is contained in:
[VB]AWOL
2013-11-26 14:12:23 -06:00
parent e9e1164dc6
commit e92d212d16
17 changed files with 20 additions and 27 deletions

View File

@@ -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;