mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added isSurrendering check
This commit is contained in:
@ -22,4 +22,5 @@ params ["_unit", "_target"];
|
|||||||
(GVAR(allowHandcuffOwnSide) || {(side _unit) != (side _target)}) &&
|
(GVAR(allowHandcuffOwnSide) || {(side _unit) != (side _target)}) &&
|
||||||
("ACE_CableTie" in (items _unit)) &&
|
("ACE_CableTie" in (items _unit)) &&
|
||||||
{alive _target} &&
|
{alive _target} &&
|
||||||
{!(_target getVariable [QGVAR(isHandcuffed), false])}
|
{!(_target getVariable [QGVAR(isHandcuffed), false])} &&
|
||||||
|
(!GVAR(requireSurrender) || (_target getVariable [QGVAR(isSurrendering), false]) || currentWeapon _target == "")
|
||||||
|
Reference in New Issue
Block a user