mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
#428 - GJ Git
This commit is contained in:
parent
33570c94e4
commit
db5861da52
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user