mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-03-01 11:11:52 +03:00
player_build.sqf Enhancements and PV renames
This commit is contained in:
@@ -5,18 +5,18 @@ _activatingPlayer = _this select 1;
|
||||
|
||||
//diag_log format["DEBUG DEATH OBJ: %1", _this select 0];
|
||||
|
||||
//["dayzPlayerDeaths",[_activatingPlayer]] call callRpcProcedure;
|
||||
dayzPlayerDeaths = [_activatingPlayer];
|
||||
publicVariableServer "dayzPlayerDeaths";
|
||||
//["PVDZE_plr_DeathB",[_activatingPlayer]] call callRpcProcedure;
|
||||
PVDZE_plr_DeathB = [_activatingPlayer];
|
||||
publicVariableServer "PVDZE_plr_DeathB";
|
||||
|
||||
waitUntil {!isNil "dayzPlayerDeathsResult"};
|
||||
waitUntil {!isNil "PVDZE_plr_DeathBResult"};
|
||||
|
||||
//diag_log format["DEBUG Death: %1", dayzPlayerDeathsResult];
|
||||
//diag_log format["DEBUG Death: %1", PVDZE_plr_DeathBResult];
|
||||
|
||||
if((count dayzPlayerDeathsResult) > 0) then {
|
||||
if((count PVDZE_plr_DeathBResult) > 0) then {
|
||||
// load death message board ui
|
||||
call EpochDeathBoardLoad;
|
||||
} else {
|
||||
cutText ["No recent Deaths.", "PLAIN DOWN"];
|
||||
dayzPlayerDeathsResult = nil;
|
||||
PVDZE_plr_DeathBResult = nil;
|
||||
};
|
||||
Reference in New Issue
Block a user