This commit is contained in:
PabstMirror 2015-04-10 13:05:34 -05:00
parent 33570c94e4
commit db5861da52

View File

@ -27,6 +27,8 @@ PARAMS_3(_unit,_veh,_funcType);
if (isNull _unit) exitWith {ERROR("null unit"); false};
if (isNull _veh) exitWith {ERROR("null vehicle"); false};
//Exit if vehicle unlocked:
if ((locked _veh) == 0) exitWith {false};
//need lockpick item
if (!("ACE_key_lockpick" in (items _unit))) exitWith {false};