mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-21 10:56:29 +03:00
more localization work (#1689)
This commit is contained in:
@@ -10,7 +10,7 @@ s_player_heli_lift = -1;
|
||||
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
|
||||
if (_onLadder) exitWith {localize "str_player_21" call dayz_rollingMessages;};
|
||||
|
||||
if (vehicle player != player) exitWith {"You can't perform this action while in a vehicle" call dayz_rollingMessages;};
|
||||
if (vehicle player != player) exitWith {localize "STR_EPOCH_PLAYER_318" call dayz_rollingMessages;};
|
||||
|
||||
_liftUseTime = 6;
|
||||
_dis=10;
|
||||
@@ -88,17 +88,17 @@ if(_finished) then {
|
||||
if(_moved) then {
|
||||
player switchMove "";
|
||||
player playActionNow "stop";
|
||||
"The lift heli moved too much from the vehicle that was being lifted!" call dayz_rollingMessages; //display text at bottom center of screen on interrupt
|
||||
localize "STR_EPOCH_PLAYER_319" call dayz_rollingMessages; //display text at bottom center of screen on interrupt
|
||||
} else {
|
||||
if((typeName _attached == "OBJECT") || (typeName _hasAttached == "OBJECT")) then {
|
||||
player switchMove "";
|
||||
player playActionNow "stop";
|
||||
"Another vehicle was attached or the vehicle was attached to another heli!" call dayz_rollingMessages;
|
||||
localize "STR_EPOCH_PLAYER_320" call dayz_rollingMessages;
|
||||
} else {
|
||||
r_interrupt = false;
|
||||
player switchMove "";
|
||||
player playActionNow "stop";
|
||||
"You have interrupted lifting a vehicle!" call dayz_rollingMessages;
|
||||
localize "STR_EPOCH_PLAYER_321" call dayz_rollingMessages;
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user