mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
5e396a3793
This reverts commit 4d1a5194ea
.
20 lines
340 B
Plaintext
20 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 ["_unit"];
|
|
|
|
_unit getVariable ["ACE_hasEarPlugsin", false]
|