mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
21 lines
349 B
Plaintext
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);
|
|
};
|