From d5eedc19088ffce027026bdbc01a69e1cae162b9 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:31:05 -0500 Subject: [PATCH] localize --- SQF/dayz_code/compile/player_upgradeVehicle.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/player_upgradeVehicle.sqf b/SQF/dayz_code/compile/player_upgradeVehicle.sqf index 676f8399c..a2ad370a6 100644 --- a/SQF/dayz_code/compile/player_upgradeVehicle.sqf +++ b/SQF/dayz_code/compile/player_upgradeVehicle.sqf @@ -7,7 +7,7 @@ private ["_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_remov if(DZE_ActionInProgress) exitWith { cutText [(localize "STR_EPOCH_PLAYER_52") , "PLAIN DOWN"]; }; DZE_ActionInProgress = true; -if (vehicle player != player) exitWith {DZE_ActionInProgress = false; cutText ["\n\nYou cannot perform an upgrade while still inside a vehicle.", "PLAIN DOWN"]}; +if (vehicle player != player) exitWith {DZE_ActionInProgress = false; cutText [(localize "STR_EPOCH_ACTIONS_18"), "PLAIN DOWN"]}; // look for nearest empty vehicle _findNearestVehicles = nearestObjects [player, ["LandVehicle"], 10]; @@ -125,4 +125,4 @@ if (_IsNearVehicle >= 1) then { cutText [(localize "STR_EPOCH_PLAYER_27"), "PLAIN DOWN"]; }; -DZE_ActionInProgress = false; \ No newline at end of file +DZE_ActionInProgress = false;