mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +03:00
Fix server position sync after knockout
All DayZ Mod Development commits since 1.8.7 release (Jan. 24) have now been applied.
This commit is contained in:
@@ -134,7 +134,7 @@ if (_woodCutting) then {
|
||||
};
|
||||
_isOk = false;
|
||||
_proceed = true;
|
||||
uisleep 1;
|
||||
uiSleep 1;
|
||||
};
|
||||
cutText [format [localize "str_player_24_progress", _counter,_countOut], "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
@@ -8,6 +8,10 @@ _sleepArray = ["aidlppnemstpsnonwnondnon_sleepc_laydown","aidlppnemstpsnonwnondn
|
||||
//not in a vehicle
|
||||
//_playArray = _sleepArray call BIS_fnc_selectRandom;
|
||||
player playmove "AidlPpneMstpSnonWnonDnon_SleepC_sleep";
|
||||
|
||||
if (r_action) exitwith {};
|
||||
|
||||
r_action = true;
|
||||
|
||||
r_interrupt = false;
|
||||
_animState = animationState player;
|
||||
@@ -96,6 +100,8 @@ if (r_interrupt) then {
|
||||
player playActionNow "stop";
|
||||
};
|
||||
|
||||
r_action = false;
|
||||
|
||||
//Removed due to player sync returning []
|
||||
//PVDZ_plr_Save = [player,nil,true,dayz_playerAchievements];
|
||||
//publicVariableServer "PVDZ_plr_Save";
|
||||
|
||||
@@ -18,6 +18,8 @@ _str_left_text = "
|
||||
|
||||
_1 = name player;
|
||||
|
||||
dayz_currentGlobalZombies = count entities "zZombie_Base";
|
||||
|
||||
/*
|
||||
if (player hasWeapon "ItemWatch") then
|
||||
{
|
||||
@@ -280,7 +282,7 @@ _disabledTemperature = switch (dayz_temperature_override) do {
|
||||
(_spawnselection),
|
||||
(round(dayz_temperatur)),
|
||||
(player getVariable['humanity', 0]),
|
||||
({alive _x} count entities "zZombie_Base"),
|
||||
(dayz_currentGlobalZombies),
|
||||
(dayz_Survived),
|
||||
(_survivors),
|
||||
(round diag_fps),
|
||||
|
||||
Reference in New Issue
Block a user