return key name used to unlock take 2

This commit is contained in:
[VB]AWOL
2013-11-24 15:26:11 -06:00
parent 1af7d7f08f
commit 14da78a843
2 changed files with 10 additions and 17 deletions

View File

@@ -1,5 +1,6 @@
private["_vehicle"];
_vehicle = _this select 3;
private["_vehicle","_key"];
_vehicle = (_this select 3) select 0;
_key = (_this select 3) select 1;
if(TradeInprogress) exitWith { cutText [(localize "str_epoch_player_37") , "PLAIN DOWN"]; };
TradeInprogress = true;
@@ -14,6 +15,8 @@ if(player distance _vehicle < 10) then {
} else {
publicVariable "PVDZE_veh_Lock";
};
cutText [format["[%1] used to unlock vehicle.",_key], "PLAIN"];
};
s_player_lockUnlock_crtl = -1;