Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- waitUntil {alive vehicle player};
- waitUntil {typeOF player != "VirtualMan_EPOCH"};
- _OPRbreathing = alive player;
- _OPRtrig=true;
- _OPRdude = player;
- while {_OPRtrig} do {
- uiSleep 0.001;
- if (_OPRbreathing) then {
- _OPRstartingpos = position player;
- uiSleep 0.001;
- _OPRposition = position _OPRdude;
- _OPRstationary = _OPRstartingpos select 0 == _OPRposition select 0 && _OPRstartingpos select 1 == _OPRposition select 1;
- if (_OPRstationary) then {} else {_OPRtrig=false;};
- };
- };
- uisleep 1;
- 5 fadeSound 1;
- earplugsout=true;
- SuperFunEPEHVariable = false;
- uisleep 1;
- [] spawn cm_EP_LOOP;
- cmEarplugsKeyPressEnabled = false;
- if (cmEarplugsKeyPressEnabled) then {
- [] spawn {cmKeyPress = (findDisplay 46) displayAddEventHandler ["KeyDown","if ((_this select 1) == cmEarplugs_hotkeyDIKCodeNumber) then {[] call cm_Earplugs_FUNc;};"];};
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement