Jump to content

Toggle ear plugs by pressing F3


Scoo

Recommended Posts

Hi to all epoch community,

 

I would like to introduce you this little script, the idea was found by Angrygargamel on this topic :

 

It simply allows you to toggle an earplug function when pressing F3. This can be helpful in some noisy vehicles, and to reduce weapons sounds aswell.

 

This is quite easy to install, paste both files you found in earplugs.zip archive in the root of your mpmission folder.

 

 

Then add battleye filters:

!"Press_F3 = (findDisplay 46) displayAddEventHandler [\"KeyDown\",\"if ((_this select 1) == 61) then {call T"

...at the end of line 53 (displayAddEventHandler line)

!"(findDisplay 46) displayRemoveEventHandler [\"KeyDown\", Press_F3];"

and this one at the end of line 59 (displayRemoveEventHandler line)

 

I hope you'll find it useful.

earplugs.zip

Link to comment
Share on other sites

  • 2 months later...

Hi to all epoch community,

 

I would like to introduce you this little script, the idea was found by Angrygargamel on this topic :

 

It simply allows you to toggle an earplug function when pressing F3. This can be helpful in some noisy vehicles, and to reduce weapons sounds aswell.

 

This is quite easy to install, paste both files you found in earplugs.zip archive in the root of your mpmission folder.

 

 

Then add battleye filters:

!"Press_F3 = (findDisplay 46) displayAddEventHandler [\"KeyDown\",\"if ((_this select 1) == 61) then {call T"

...at the end of line 53 (displayAddEventHandler line)

!"(findDisplay 46) displayRemoveEventHandler [\"KeyDown\", Press_F3];"

and this one at the end of line 59 (displayRemoveEventHandler line)

 

I hope you'll find it useful.

I am with a similar keyDown event.

 

Is this script working without any issues with Epoch AntiHack=enabled && playerNotAdmin?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...