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);
|
displayName = CSTRING(EarPlugs_On);
|
||||||
condition = QUOTE(GVAR(EnableCombatDeafness) && {!([_player] call FUNC(hasEarPlugsIn)) && {'ACE_EarPlugs' in items _player}});
|
condition = QUOTE(GVAR(EnableCombatDeafness) && {!([_player] call FUNC(hasEarPlugsIn)) && {'ACE_EarPlugs' in items _player}});
|
||||||
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"};
|
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"};
|
||||||
statement = QUOTE( [_player, true] call FUNC(putInEarPlugs) );
|
statement = QUOTE( ARR_2([_player, true]) call FUNC(putInEarPlugs) );
|
||||||
showDisabled = 0;
|
showDisabled = 0;
|
||||||
icon = QPATHTOF(UI\ACE_earplugs_x_ca.paa);
|
icon = QPATHTOF(UI\ACE_earplugs_x_ca.paa);
|
||||||
};
|
};
|
||||||
@ -15,7 +15,7 @@ class CfgVehicles {
|
|||||||
displayName = CSTRING(EarPlugs_Off);
|
displayName = CSTRING(EarPlugs_Off);
|
||||||
condition = QUOTE( GVAR(EnableCombatDeafness) && {[_player] call FUNC(hasEarPlugsIn)});
|
condition = QUOTE( GVAR(EnableCombatDeafness) && {[_player] call FUNC(hasEarPlugsIn)});
|
||||||
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"};
|
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"};
|
||||||
statement = QUOTE( [_player, true] call FUNC(removeEarPlugs) );
|
statement = QUOTE( ARR_2([_player, true]) call FUNC(removeEarPlugs) );
|
||||||
showDisabled = 0;
|
showDisabled = 0;
|
||||||
icon = QPATHTOF(UI\ACE_earplugs_x_ca.paa);
|
icon = QPATHTOF(UI\ACE_earplugs_x_ca.paa);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user