No gear menu near locked vehicles

This commit is contained in:
Zac Surplice
2013-09-24 21:40:28 +10:00
parent ace75e27d3
commit 06ed1fc10c
4 changed files with 27 additions and 9 deletions

View File

@@ -0,0 +1,7 @@
disableSerialization;
_display = (_this select 0);
_close = {locked _x} count (nearestObjects [player, ["AllVehicle"], 10]) > 0;
if(_close) then {
_display closeDisplay 1;
};