mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Make minor adjustment to push stuck plane action
This commit is contained in:
@@ -301,9 +301,9 @@ if (!isNull _cursorTarget && !_inVehicle && !_isPZombie && (player distance _cur
|
|||||||
s_player_flipveh = -1;
|
s_player_flipveh = -1;
|
||||||
};
|
};
|
||||||
|
|
||||||
if (_isPlane && _isAlive && count (crew _cursorTarget) == 0) then {
|
if (_isPlane && {_isAlive} && {count (crew _cursorTarget) == 0}) then {
|
||||||
if (s_player_pushPlane < 0) then {
|
if (s_player_pushPlane < 0) then {
|
||||||
s_player_pushPlane = player addAction [format[localize "str_actions_push_plane",_text], "\z\addons\dayz_code\actions\player_pushPlane.sqf",_cursorTarget,1,true,true];
|
s_player_pushPlane = player addAction [format[localize "str_actions_push",_text], "\z\addons\dayz_code\actions\player_pushPlane.sqf",_cursorTarget,1,true,true];
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
player removeAction s_player_pushPlane;
|
player removeAction s_player_pushPlane;
|
||||||
|
|||||||
@@ -863,7 +863,7 @@
|
|||||||
<French>Retourner %1</French>
|
<French>Retourner %1</French>
|
||||||
<Czech>Otočit %1</Czech>
|
<Czech>Otočit %1</Czech>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="str_actions_push_plane">
|
<Key ID="str_actions_push">
|
||||||
<English>Push %1</English>
|
<English>Push %1</English>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="str_actions_stats">
|
<Key ID="str_actions_stats">
|
||||||
|
|||||||
Reference in New Issue
Block a user