ACE3/addons/hearing/functions/fnc_hasEarPlugsIn.sqf
2015-03-15 16:40:47 -05:00

21 lines
340 B
Plaintext

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