mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
parent
3a65a73e94
commit
ad579bf5e4
@ -7,7 +7,7 @@ class CfgVehicles {
|
||||
displayName = CSTRING(EarPlugs_On);
|
||||
condition = QUOTE(GVAR(EnableCombatDeafness) && {!([_player] call FUNC(hasEarPlugsIn)) && {'ACE_EarPlugs' in items _player}});
|
||||
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"};
|
||||
statement = QUOTE( [_player, true] call FUNC(putInEarPlugs) );
|
||||
statement = QUOTE( ARR_2([_player, true]) call FUNC(putInEarPlugs) );
|
||||
showDisabled = 0;
|
||||
icon = QPATHTOF(UI\ACE_earplugs_x_ca.paa);
|
||||
};
|
||||
@ -15,7 +15,7 @@ class CfgVehicles {
|
||||
displayName = CSTRING(EarPlugs_Off);
|
||||
condition = QUOTE( GVAR(EnableCombatDeafness) && {[_player] call FUNC(hasEarPlugsIn)});
|
||||
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"};
|
||||
statement = QUOTE( [_player, true] call FUNC(removeEarPlugs) );
|
||||
statement = QUOTE( ARR_2([_player, true]) call FUNC(removeEarPlugs) );
|
||||
showDisabled = 0;
|
||||
icon = QPATHTOF(UI\ACE_earplugs_x_ca.paa);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user