GF Earplugs Script - Mod   by   GEORGE FLOROS [GR]   With key interaction     Description: GF Earplugs Script , mute or lower sound , with a key interaction , configurable key bindings.
You are free to do anything but i would like to give me Credits for this!
Simple and easy to use and adapt .
Have Fun !  
Installation / Usage: For usage instructions and information of how to use the GF Earplugs Script  , please refer to the included documentation and/or example mission.

Place in your mission the files . There is everything included , in the init.sqf , to copy paste in your mission .     https://community.bistudio.com/wiki/SQF_syntax
Don't try to open this with the simple notepad.

For everything that is with comment // in front or between /*
means that it is disabled , so there is no need to delete the extra lines.

You can open this ex:
with notepad++
https://notepad-plus-plus.org/

and also use the extra pluggins
(this way will be better , it will give also some certain colours to be able to detect ex. problems )
http://www.armaholic.com/page.php?id=8680

or use any other program for editing .

For the Compilation List of my GF Scripts , you can search in: https://forums.bohemia.net/forums/topic/215850-compilation-list-of-my-gf-scripts/     Notes: Configurable key bindings and notification available.
The key bindings can be found here:
https://community.bistudio.com/wiki/DIK_KeyCodes     Credits & Thanks: Thanks to All script contributors
Thanks to everyone who tries to do the best for this game!
Thanks to BIS for such a great platform .
Thanks to BIS Community and BIS Community Forums .
Thanks to Armaholic Community and Forums .     Changelog:   v2.1
Minor change on the code , to avoid loop.
Thanks to HazJ.
https://forums.bohemia.net/profile/773718-hazj/   v2.0
Added a picture notification when earplugs are in.
Added an initPlayerLocal.sqf ,
in order to run the script from there.
Mod Version is now included.   v1.0     Forum topic:
- Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=39897  
  Armaholic download GF Earplugs Script - Mod