From 941d98a88d4cb0f8b0d9f6ba6673631d91212d43 Mon Sep 17 00:00:00 2001 From: commy2 Date: Tue, 24 Mar 2015 16:45:10 +0100 Subject: [PATCH] disable all self actions inside vehicles on default --- addons/common/XEH_postInit.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/common/XEH_postInit.sqf b/addons/common/XEH_postInit.sqf index 1d951c3ceb..e554550a95 100644 --- a/addons/common/XEH_postInit.sqf +++ b/addons/common/XEH_postInit.sqf @@ -183,3 +183,4 @@ _vehicle setFuel _fuelLevel; ["displayTextPicture", FUNC(displayTextPicture)] call FUNC(addEventhandler); ["notOnMap", {!visibleMap}] call FUNC(addCanInteractWithCondition); +["isNotInside", {_this select 0 == _this select 1 || {vehicle (_this select 0) == _this select 0}}] call FUNC(addCanInteractWithCondition);