ACE3/addons/hearing/functions/fnc_hasEarPlugsIn.sqf
Phyma ffaa195fe5 Conform function headers to coding guidelines (#5255)
* Fixed headers to work with silentspike python script

* Fixed rest of the files

* Fixed ace-team
2017-06-08 15:31:51 +02:00

20 lines
341 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 ["_unit"];
_unit getVariable ["ACE_hasEarPlugsin", false]