mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
return key name used to unlock take 2
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user