Update player_goFishing.sqf

Added better message when trying to fish while in combat, to avoid confusion.
This commit is contained in:
Marko
2014-08-09 11:41:43 +02:00
parent 2bd68a04f6
commit 64d9be9169

View File

@@ -17,7 +17,7 @@ if(!(surfaceIsWater _position)) exitWith {DZE_ActionInProgress = false; cutText
if((currentWeapon player) != "MeleeFishingPole") exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_67"), "PLAIN DOWN"]; };
if(dayz_isSwimming) exitWith {DZE_ActionInProgress = false; cutText [localize "str_player_26", "PLAIN DOWN"]; };
if(player getVariable["combattimeout", 0] >= time) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_68"), "PLAIN DOWN"];};
if(player getVariable["combattimeout", 0] >= time) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_312"), "PLAIN DOWN"];};
_isOk = true;
_counter = 0;
@@ -81,4 +81,4 @@ while {_isOk} do {
};
};
};
DZE_ActionInProgress = false;
DZE_ActionInProgress = false;