Localization updates

Some localization updates and some code optimization.
This commit is contained in:
oiad
2016-07-17 22:23:25 +12:00
parent d47d887a66
commit 3d75c67574
23 changed files with 188 additions and 179 deletions

View File

@@ -103,7 +103,7 @@ if (_unit == player) then
if ((_isHeadHit) and (_ammo in ["Crowbar_Swing_Ammo","Bat_Swing_Ammo","Sledge_Swing_Ammo"])) then {
[_unit] spawn {
_unit = _this select 0;
"you have been knocked out" call dayz_rollingMessages;
localize "STR_EPOCH_PLAYER_323" call dayz_rollingMessages;
[_unit,0.01] call fnc_usec_damageUnconscious;
_unit setVariable ["NORRN_unconscious", true, true];
r_player_timeout = 20 + round(random 60);

View File

@@ -24,9 +24,9 @@ if (_unit == player) then {
PVDZ_Server_LogIt = format["Player %1 exited a vehicle(%2) close to buildable object as %3",_unit, (typeof _vehicle), _position];
publicVariableServer "PVDZ_Server_LogIt";
"Unable to exit vehicle too close to buildables objects" call dayz_rollingMessages;
localize "STR_EPOCH_PLAYER_322" call dayz_rollingMessages;
};
};
diag_log format["%1 - %2 - %3",_vehicle,_position,_unit];
diag_log format["%1 - %2 - %3",_vehicle,_position,_unit];