mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 20:12:20 +03:00
player_onPause fixes (#1796)
* player_onPause fixes Properly displays the right message now for why you can't abort. * Door Management/Plot Management isServer changes Removes isServer, these are run on the client only so no need for this. * dayz_server private tags Fix a few missing private tags and remove a _forEachIndex tag. Remove unused 1.0.5.1 dayz_server.pbo as it's no longer valid/needed
This commit is contained in:
@@ -20,11 +20,7 @@ _friends set [(count _friends), _toAdd];
|
||||
TheDoor setVariable ["doorfriends", _friends, true];
|
||||
|
||||
PVDZ_veh_Save = [TheDoor,"gear"];
|
||||
if (isServer) then {
|
||||
PVDZ_veh_Save call server_updateObject;
|
||||
} else {
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
};
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
|
||||
call DoorGetFriends;
|
||||
call DoorNearbyHumans;
|
||||
|
||||
@@ -11,12 +11,9 @@ _newList = [];
|
||||
};
|
||||
} forEach _friends;
|
||||
TheDoor setVariable ["doorfriends", _newList, true];
|
||||
|
||||
PVDZ_veh_Save = [TheDoor, "gear"];
|
||||
if (isServer) then {
|
||||
PVDZ_veh_Save call server_updateObject;
|
||||
} else {
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
};
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
|
||||
call DoorGetFriends;
|
||||
call DoorNearbyHumans;
|
||||
call DoorNearbyHumans;
|
||||
|
||||
@@ -23,11 +23,7 @@ _friends set [(count _friends), _toAdd];
|
||||
_thePlot setVariable ["plotfriends", _friends, true];
|
||||
|
||||
PVDZ_veh_Save = [_thePlot,"gear"];
|
||||
if (isServer) then {
|
||||
PVDZ_veh_Save call server_updateObject;
|
||||
} else {
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
};
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
|
||||
call PlotGetFriends;
|
||||
call PlotNearbyHumans;
|
||||
|
||||
@@ -13,12 +13,9 @@ _newList = [];
|
||||
};
|
||||
} count _friends;
|
||||
_thePlot setVariable ["plotfriends", _newList, true];
|
||||
|
||||
PVDZ_veh_Save = [_thePlot,"gear"];
|
||||
if (isServer) then {
|
||||
PVDZ_veh_Save call server_updateObject;
|
||||
} else {
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
};
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
|
||||
call PlotGetFriends;
|
||||
call PlotNearbyHumans;
|
||||
call PlotNearbyHumans;
|
||||
|
||||
@@ -44,6 +44,7 @@ while {(!isNull _display) && !r_player_dead} do {
|
||||
case (_inCombat && !_zedCheck && !_playerCheck) : {
|
||||
_btnAbort ctrlEnable false;
|
||||
_btnAbort ctrlSetText format["%1 (in %2)", _btnAbortText, ceil (_timeout - diag_tickTime)];
|
||||
[localize "str_abort_playerincombat",1] call dayz_rollingMessages;
|
||||
};
|
||||
case (isInTraderCity) : {
|
||||
_btnAbort ctrlEnable false;
|
||||
@@ -68,4 +69,4 @@ while {(!isNull _display) && !r_player_dead} do {
|
||||
};
|
||||
|
||||
TimeOutDisplayed = false;
|
||||
if (r_player_dead) exitWith {_btnAbort ctrlEnable true;};
|
||||
if (r_player_dead) exitWith {_btnAbort ctrlEnable true;};
|
||||
|
||||
@@ -7526,7 +7526,7 @@
|
||||
<German>durch stumpfe Gewalteinwirkung.</German>
|
||||
</Key>
|
||||
<Key ID="str_abort_playerclose">
|
||||
<English>Cannot Abort near another player!<br/>You are still in Combat.</English>
|
||||
<English>You cannot abort near another player!</English>
|
||||
<Russian>Нельзя выходить находясь рядом с другим игроком!<br/>Вы все еще в бою!</Russian>
|
||||
<Spanish>¡No puedes abortar cerca de otros jugadores!<br/>Todavía estás en combate.</Spanish>
|
||||
<Czech>Nemůžete ukončit hru, když jste poblíž jiného hráče.<br/>Stále jste v boji.</Czech>
|
||||
@@ -7534,7 +7534,7 @@
|
||||
<German>Du kannst dich nicht in der Nähe eines anderen Spielers ausloggen, du befindest dich noch immer in Gefahr!</German>
|
||||
</Key>
|
||||
<Key ID="str_abort_zedsclose">
|
||||
<English>Cannot Abort Zombies are near!<br/>You are still in Combat. </English>
|
||||
<English>You cannot abort near Zombies!</English>
|
||||
<Russian>Нельзя выходить находясь рядом с зомби!<br/>Вы все еще в бою!</Russian>
|
||||
<Spanish>¡No puedes abortar cerca de zombies!<br/>Todavía estás en combate.</Spanish>
|
||||
<Czech>Nemůžete ukončit hru, když jsou zombie poblíž.<br/>Stále jste v boji.</Czech>
|
||||
@@ -7542,7 +7542,7 @@
|
||||
<German>Du kannst dich nicht in der Nähe von Zombies ausloggen, du befindest dich noch immer in Gefahr!</German>
|
||||
</Key>
|
||||
<Key ID="str_abort_playerincombat">
|
||||
<English>Cannot Abort while in combat!</English>
|
||||
<English>You cannot abort while in combat!</English>
|
||||
<German>Du kannst dich nicht im Kampf ausloggen!</German>
|
||||
<Russian>Нельзя выходить в бою!</Russian>
|
||||
<Spanish>¡No puedes abortar en combate!</Spanish>
|
||||
@@ -16314,7 +16314,7 @@
|
||||
<German>Einladen</German>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_INVITE_FROM">
|
||||
<English>Invite From</English>
|
||||
<English>Invite from</English>
|
||||
<German>Einladung von</German>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_INVITE_TO">
|
||||
@@ -16322,8 +16322,8 @@
|
||||
<German>Du hast %1 eingeladen der Gruppe beizutreten.</German>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_GROUP_KICKED">
|
||||
<English>You were kicked from the group</English>
|
||||
<German>Du wurdest aus der Gruppe entfernt</German>
|
||||
<English>You were kicked from the group.</English>
|
||||
<German>Du wurdest aus der Gruppe entfernt.</German>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_PLAYER_KICKED">
|
||||
<English>%1 was kicked from the group.</English>
|
||||
@@ -16358,7 +16358,7 @@
|
||||
<German>Du brauchst ein Funkgerät um einer Gruppe beizutreten.</German>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_LOST_RADIO_CONTACT">
|
||||
<English>Lost radio contact with group</English>
|
||||
<English>Lost radio contact with group.</English>
|
||||
<German>Funkkontakt zur Gruppe verloren.</German>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_RIP">
|
||||
|
||||
Reference in New Issue
Block a user