ACE3/addons/captives/functions/fnc_doRemoveHandcuffs.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

22 lines
410 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: PabstMirror
* Remove handcuffs from a target
*
* Arguments:
* 0: Caller <OBJECT>
* 1: Target <OBJECT>
*
* Return Value:
* The return value <BOOL>
*
* Example:
* [bob, bill] call ACE_captives_fnc_doRemoveHandcuffs
*
* Public: No
*/
params ["_unit", "_target"];
[QGVAR(setHandcuffed), [_target, false, _unit], [_target]] call CBA_fnc_targetEvent;