more localization work (#1689)

This commit is contained in:
Anton
2016-05-02 20:31:13 +03:00
committed by ebaydayz
parent 765b035764
commit 2a99cf8a63
12 changed files with 1689 additions and 234 deletions

View File

@@ -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;
};
};
};