ACE3/addons/hearing/functions/fnc_hasEarPlugsIn.sqf
2015-01-13 22:41:53 -03:00

19 lines
269 B
Plaintext

/*
* Author: commy2
*
* Check if the unit has earplugs put in.
*
* Argument:
* A soldier (Object)
*
* Return value:
* Boolean (Bool)
*/
#include "script_component.hpp"
private "_unit";
_unit = _this select 0;
_unit getVariable ["ACE_hasEarPlugsin", false]