mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
#428 - Only work on locked vehicles.
This commit is contained in:
parent
f60bf87df0
commit
33570c94e4
@ -27,6 +27,7 @@ PARAMS_3(_unit,_veh,_funcType);
|
|||||||
if (isNull _unit) exitWith {ERROR("null unit"); false};
|
if (isNull _unit) exitWith {ERROR("null unit"); false};
|
||||||
if (isNull _veh) exitWith {ERROR("null vehicle"); false};
|
if (isNull _veh) exitWith {ERROR("null vehicle"); false};
|
||||||
|
|
||||||
|
|
||||||
//need lockpick item
|
//need lockpick item
|
||||||
if (!("ACE_key_lockpick" in (items _unit))) exitWith {false};
|
if (!("ACE_key_lockpick" in (items _unit))) exitWith {false};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user