ACE3/addons/minedetector/functions/fnc_deactivateDetector.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

21 lines
349 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: Glowbal
* Deactivate the mine detector
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
* [] call ace_minedetector_fnc_deactivateDetector
*
* Public: No
*/
if (call FUNC(canDeactivateDetector)) then {
[ACE_player, currentWeapon ACE_player] call FUNC(disableDetector);
};