ACE3/addons/hearing/functions/fnc_hasEarPlugsIn.sqf
johnb432 e535988479
Hearing - Code cleanup (#10041)
* Hearing cleanup

* Update fnc_updateHearingProtection.sqf

* Fixes + tweaks

* Update initSettings.inc.sqf

* Update fnc_removeEarplugs.sqf
2024-05-29 10:01:39 -07:00

21 lines
329 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: commy2
* Check if the unit has earplugs put in.
*
* Arguments:
* 0: Unit <OBJECT>
*
* Return Value:
* Has Earplugs in <BOOL>
*
* Example:
* player call ace_hearing_fnc_hasEarPlugsIn
*
* Public: No
*/
params ["_unit"];
_unit getVariable ["ACE_hasEarPlugsin", false]