ACE3/addons/minedetector/functions/fnc_deactivateDetector.sqf

21 lines
346 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
2016-05-03 20:37:02 +00:00
/*
* 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);
};