mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-10 10:12:54 +03:00
Update fn_gearMenuChecks.sqf
This commit is contained in:
@@ -13,7 +13,7 @@ _isOk = false;
|
|||||||
};
|
};
|
||||||
} forEach ["LandVehicle","Air"];
|
} forEach ["LandVehicle","Air"];
|
||||||
|
|
||||||
if((locked _cTarget) and _isOk) then {
|
if((locked _cTarget) and _isOk and (((vehicle player) distance _cTarget) < 12)) then {
|
||||||
cutText ["Cannot access gear in a locked vehicle." , "PLAIN DOWN"];
|
cutText ["Cannot access gear in a locked vehicle." , "PLAIN DOWN"];
|
||||||
_display closeDisplay 1;
|
_display closeDisplay 1;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user