From 33570c94e4fa7da08bec91697296756837913fea Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Fri, 10 Apr 2015 13:05:14 -0500 Subject: [PATCH] #428 - Only work on locked vehicles. --- addons/vehiclelock/functions/fnc_lockpick.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/vehiclelock/functions/fnc_lockpick.sqf b/addons/vehiclelock/functions/fnc_lockpick.sqf index 4fee354824..d268646b8b 100644 --- a/addons/vehiclelock/functions/fnc_lockpick.sqf +++ b/addons/vehiclelock/functions/fnc_lockpick.sqf @@ -27,6 +27,7 @@ PARAMS_3(_unit,_veh,_funcType); if (isNull _unit) exitWith {ERROR("null unit"); false}; if (isNull _veh) exitWith {ERROR("null vehicle"); false}; + //need lockpick item if (!("ACE_key_lockpick" in (items _unit))) exitWith {false};