Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PVOZ_clicLAYERCHK = true;
- PVOZ_clic_disconnect = {
- if (_this select 2 == 'misc') then {
- PVOZ_enn2 = [name player,getPlayerUID player,_this select 0,_this select 1,'misc'];
- publicVariableServer 'PVOZ_enn2';
- } else {
- PVOZ_enn2 = [name player,getPlayerUID player,_this select 0];
- publicVariableServer 'PVOZ_enn2';
- };
- if (isNil 'PVOZ_clic_disconnected') then {
- PVOZ_clic_disconnected = true;
- disableUserInput true;
- startLoadingScreen ["You are being disconnected.","DayZ_loadingScreen"];
- endLoadingScreen;sleep 0.1;
- disableUserInput false;
- (findDisplay 46) closeDisplay 0;
- };
- };
- [] spawn {
- if (!hasInterface) exitWith {};
- CAKE = true;
- disableSerialization;
- _RE = compile preprocessFile ('\ca\Modules\MP\data\scripts\remExWrite.sqf');
- NotNullPVOZ_02nc = compile preprocessFileLineNumbers ('fixes\compile\fn_damageHandler.sqf');
- if (isNil 'inSafeZone') then {inSafeZone = false};
- while {1 == 1} do {
- RE = _RE;
- BIS_MPF_remoteExecutionServer = {
- _MPF = compile preprocessFile ('\ca\Modules\MP\data\scripts\remExServer.sqf');
- _array = _this select 1;
- _objet = _array select 1;
- _input = _array select 2;
- if (isNil '_input') exitWith {};
- if (_input in ['switchmove','playmove','say','jipexec','execVM','spawn','titleCut','titleText','hint','globalChat']) exitWith {_this call _MPF};
- if (_input in ['loc','locper','perloc','per']) exitWith {
- _perFn = _array select 3;
- if (_perFn in ['hideObject','titleText']) exitWith {
- if (_perFn == 'hideObject') then {
- if ((!isNull _objet) && !(isPlayer _objet)) exitWith {_this call _MPF};
- } else {_this call _MPF};
- };
- if (count _array > 3) exitWith {
- _perCo = _array select 4;
- if ((_perFn == 'JIPexec') && (typename _perCo == 'ARRAY')) exitWith {if (_perCo select 3 == 'execVM') exitWith {_this call _MPF}};
- if ((_perFn == 'execVM') && (typename _perCo == 'STRING')) exitWith {if (_perCo == 'ca\Modules\Functions\init.sqf') exitWith {_this call _MPF}};
- };
- };
- };
- 'remExField' addPublicVariableEventHandler {_this call BIS_MPF_remoteExecutionServer};
- 'remExFP' addPublicVariableEventHandler {_this call BIS_MPF_remoteExecutionServer};
- grpNull = (group player);
- fnc_usec_damageHandler = {
- _unit = (_this select 0);
- _hit = (_this select 1);
- _damage = (_this select 2);
- _source = (_this select 3);
- _ammo = (_this select 4);
- _maxdmg = 35;
- if (_unit == player) then {
- if (((!(isNil {_source})) AND {(!(isNull _source))})) then {
- _wpst = weaponState _source;
- INT_DISTANCE = round(_unit distance _source);
- if (isPlayer _source) then {
- INT_NAME = (name _source);
- } else {
- INT_NAME = "NPC";
- };
- INT_WEAPON = switch (true) do {
- case ((vehicle _source) != _source) : { format ["%1",getText(configFile >> "CfgVehicles" >> (typeOf (vehicle _source)) >> "displayName")] };
- case ((_wpst select 0 == "") AND {(_wpst select 4 == 0)}) : { format ["%1", primaryWeapon _source] };
- case (_wpst select 0 != "") : { format ["%1", _wpst select 0] };
- default { format ["%1",(typeOf (vehicle _source))] };
- };
- };
- };
- _explosives = ['R_MEEWS_HEAT','PipeBomb','FuelExplosion','HelicopterExploSmall','HelicopterExploBig','SmallSecondary','Bo_FAB_250','TimedExplosion'];
- if (!(isPlayer _unit)||(_unit == _source)||(isNull _source)||(_unit distance _source > 3000)||(name _source == name _unit)) exitWith {
- if (!(isNull _source)&&(_unit distance _source < 3000)) then {
- _this call NotNullPVOZ_02nc;
- };
- };
- if (!(name _source in ['Error: No vehicle','Error: No unit'])&&(isPlayer _source)) then {
- if (_source == vehicle _source) then {
- _wep = (currentWeapon _source);
- _wep2 = toArray _wep;
- _weapon = (getNumber (configFile >> 'CfgWeapons' >> (currentWeapon _source) >> 'type'));
- if (count _wep2 > 7) then {_wep2 resize 7;_wep2;if ((toString _wep2) in ['BAF_AS5','USSR_ch']) then {_maxdmg = 50;};};
- if (_weapon == 2) then {_maxdmg = 10;};
- if (_wep == 'MAAWS' || _wep == 'RPG7V' || _ammo == 'PipeBomb') then {_maxdmg = 3000;};
- } else {
- _maxdmg = 50;
- };
- if (_damage > _maxdmg) exitWith {
- _log = format ['attacked %2 with %3(%7) for a (%4) hit, with %5 damage. | PLAYER KICKED! |',name _source,name player,_ammo,_hit,_damage,_source,(weaponState _source) select 0];
- PVOZ_enn2 = [name _source, getPlayerUID _source, 'Suspicious damage', _log, 'kick'];
- publicVariableServer 'PVOZ_enn2';
- };
- };
- if ((name _source in ['Error: No vehicle','Error: No unit'])||(_ammo in _explosives)) exitWith {if (_ammo == 'Pipebomb') then {_this call NotNullPVOZ_02nc;};};
- _MAAWS = (((currentWeapon _source) == 'MAAWS')||(_ammo == 'R_MEEWS_HEAT') || ((currentWeapon _source) == 'RPG7V') || (_ammo == 'R_PG7V_AT'));
- if ((_damage > 60)&&(!_MAAWS)) exitWith {};
- _this call NotNullPVOZ_02nc;
- };
- sleep 5;
- };
- };
- if (getPlayerUID player in ["76561197972604937","76561197960283029","76561198210493088","76561197960359396","76561198117798896","76561197961994781","76561197983672104","76561197993001681","76561198153119227","76561198153302036","76561197981047330","76561198186428150"]) then {
- call compile ('loadFile '+str 'anti-hack loaded. Welcome, admin! Errors'+';');
- 'PVOZ_4pci_AHALERTS' addPublicVariableEventHandler {
- _array = _this select 1;
- _msg = _array select 0;
- if (isNil 'PVOZ_AdminAlerts') then {PVOZ_AdminAlerts=true};
- if (PVOZ_AdminAlerts) then {
- _msg spawn AH_fnc_dynTextMsg;
- systemChat ('LOG: '+str (_msg)+'');
- };
- };
- };
- if !(getPlayerUID player in ["76561197972604937","76561197960283029","76561198210493088","76561197960359396","76561198117798896","76561197961994781","76561197983672104","76561197993001681","76561198153119227","76561198153302036","76561197981047330","76561198186428150"]) then {
- [] spawn {
- {
- if (_x in ['entities','vehicles','playableUnits']) then {
- call compile (_x+'=[player];');
- } else {
- call compile (_x+'={};');
- };
- } forEach (["DoNotDisable_vehicles","DoNotDisable_playableUnits","DoNotDisable_group","DoNotDisable_allMissionObjects","DoNotDisable_entities","DoNotDisable_screenToWorld","DoNotDisable_openMap","onEachFrame","taskHint","createDiaryRecord","createTask","createSimpleTask","createDiaryLink","createTeam","processDiaryLink","allUnits","buttonSetAction","lbSetData","saveStatus","loadStatus","saveVar","rcallVarcode","addWeaponCargo","addMagazineCargo","setVehicleAmmo","setVehicleAmmoDef","setWeaponReloadingTime","processInitCommands","addMPEventHandler","addWaypoint","setWaypointStatements","BattleFieldClearance","onMapSingleClick","inputAction","setMarkerDirLocal","setMarkerAlphaLocal","setMarkerPosLocal","setMarkerTextLocal","setMarkerTypeLocal","setMarkerColorLocal","setMarkerBrushLocal","setMarkerSizeLocal","setMarkerShapeLocal","createMarker","markerText","setMarkerAlpha","setMarkerBrush","setMarkerColor","setMarkerDir","setMarkerPos","setMarkerShape","setMarkerSize","setMarkerText","setMarkerType","deleteMarker","BIS_fnc_dynamicText","BIS_fnc_spawnCrew","BIS_fnc_spawnGroup","BIS_fnc_help","BIS_fnc_3Dcredits","BIS_fnc_crows","BIS_fnc_customGPS","BIS_fnc_destroyCity","BIS_fnc_playVideo","BIS_fnc_spawnEnemy","BIS_fnc_AAN","BIS_fnc_taskPatrol","BIS_fnc_taskDefend","BIS_fnc_taskAttack","BIS_fnc_supplydrop","BIS_fnc_spotter","BIS_fnc_listPlayers","BIS_fnc_spawnvehicle","BIS_fnc_dirIndicator","BIS_fnc_customGPSvideo"]);
- };
- [] spawn {
- PVOZ_clic_WpnLooping=false;
- PVOZ_clic_VarLooping=false;
- PVOZ_clic_FileLooping=false;
- _bad_wpn_list = [];
- _vgfarr = [];
- _dis = ['RscDisplayInventory','RscDisplayMainMap','RscDisplayDiary','RscDisplayOptions','RscDisplayGetReady','RscDisplayOptionsVideo','RscDisplayOptionsAudio','RscDisplayOptionsLayout','RscDisplayMicSensitivityOptions','RscDisplayConfigure','RscDisplayConfigureControllers','RscDisplayCustomizeController','RscDisplayJoystickSchemes','RscDisplayConfigureAction','RscDisplayGameOptions','RscMiniMap','RscMiniMapSmall','RscDisplayControlSchemes','RscDisplayFieldManual','RscDisplayPassword','RscDisplayServerGetReady','RscDisplayRespawn','RscDisplayClient'];
- if (isNil 'dayz_temperatur') then {dayz_temperatur=42};
- if (isNil 'dayz_humanitytarget') then {dayz_humanitytarget = ''};
- _bakCLIENTT = time;
- _spaceInterrupt = str(dayz_spaceInterrupt);
- if (isNil 'deathHandled') then {deathHandled=false};
- waitUntil {sleep 1; !isNil 'var_hax_arr'};
- ASDF123 = 0;
- while {1 == 1} do {
- if !(PVOZ_clic_VarLooping) then {
- [] spawn {PVOZ_clic_VarLooping = true;uiSleep 90;PVOZ_clic_VarLooping = false};
- {
- if !(isNil _x) then {
- PVOZ_enn2 = [name player,getPlayerUID player,'Global Var',_x];
- publicVariableServer 'PVOZ_enn2';
- publicVariableServer 'CAKE';
- (findDisplay 46) closeDisplay 0;
- };
- } forEach var_hax_arr;
- {
- if !(isNil _x) then {
- PVOZ_enn2 = [name player,getPlayerUID player,'Global Var',format ['Game function modified: %1',_x]];
- publicVariableServer 'PVOZ_enn2';
- publicVariableServer 'CAKE';
- (findDisplay 46) closeDisplay 0;
- };
- } forEach var_FNC_arr;
- };
- if !(PVOZ_clic_FileLooping) then {
- [] spawn {PVOZ_clic_FileLooping = true;uiSleep 600;PVOZ_clic_FileLooping = false};
- {
- _loadfile = call compile ('loadFile '+str(_x)+';');
- if (_loadfile != '') then {
- PVOZ_enn2 = [name player,getPlayerUID player,'Hack File',_x];
- publicVariableServer 'PVOZ_enn2';
- publicVariableServer 'CAKE';
- (findDisplay 46) closeDisplay 0;
- };
- } forEach (file_ARR_scan+_vgfarr);
- };
- if ((player getVariable ['bodyName','ah_check']) == 'ah_check') then {player setVariable ['bodyName',name player,true]};
- if (player getVariable ['CharacterID','0'] != dayz_characterID) then {player setVariable ['CharacterID',dayz_characterID,true]};
- if ((unitRecoilCoefficient player) != 1) then {
- PVOZ_enn2 = [name player,getPlayerUID player,'Memory Hack','No Recoil '+str(currentWeapon player)];
- publicVariableServer 'PVOZ_enn2';
- publicVariableServer 'CAKE';
- (findDisplay 46) closeDisplay 0;
- };
- if ((abs (player ammo (currentWeapon player)) > 200)&&(vehicle player == player)&&!(currentWeapon player in ['MeleeBaseBallBatBarbed','MeleeBaseBallBatNails','MeleeBaseBallBat','MeleeHatchet','MeleeHatchet_DZE','MeleeCrowbar','MeleeCrowbar_DZE','MeleeMachete','MeleeMachete_DZE','MeleeSledge','MeleeFishingPole','ChainSaw','ChainSawB','ChainSawG','ChainSawP','ChainSawR'])) then {
- PVOZ_enn2 = [name player,getPlayerUID player,'Memory Hack','Infinite Ammo '+str(currentWeapon player)];
- publicVariableServer 'PVOZ_enn2';
- publicVariableServer 'CAKE';
- (findDisplay 46) closeDisplay 0;
- };
- if (_spaceInterrupt != str(dayz_spaceInterrupt)) then {
- PVOZ_enn2 = [name player,getPlayerUID player,'Global Var',format ['spaceInterrupt MODIFIED TO (%1)',dayz_spaceInterrupt]];
- publicVariableServer 'PVOZ_enn2';
- publicVariableServer 'CAKE';
- (findDisplay 46) closeDisplay 0;
- };
- if (typeName(player) != 'OBJECT') then {
- PVOZ_enn2 = [name player,getPlayerUID player,'BadType',(str(typeName player))];
- publicVariableServer 'PVOZ_enn2';
- publicVariableServer 'CAKE';
- (findDisplay 46) closeDisplay 0;
- };
- if (str(player) == '<NULL-object>') then {
- PVOZ_enn2 = [name player,getPlayerUID player,'BadType','<NULL-object>'];
- publicVariableServer 'PVOZ_enn2';
- publicVariableServer 'CAKE';
- (findDisplay 46) closeDisplay 0;
- };
- if (typeName time != 'SCALAR') then {
- PVOZ_enn2 = [name player,getPlayerUID player,'Global Var',format ['Time: %1',_time]];
- publicVariableServer 'PVOZ_enn2';
- call compile format ['time = %1;',_bakCLIENTT];
- publicVariableServer 'CAKE';
- (findDisplay 46) closeDisplay 0;
- } else {_bakCLIENTT = time};
- if ((str(typeName true) != str('BOOL')) || (str (true) != 'true') || !(true)) then {
- if !(true) exitWith {
- PVOZ_enn2 = [name player,getPlayerUID player,'Global Var','TRUE == FALSE'];
- publicVariableServer 'PVOZ_enn2';
- publicVariableServer 'CAKE';
- (findDisplay 46) closeDisplay 0;
- };
- PVOZ_enn2 = [name player,getPlayerUID player,'Global Var','TRUE =/= TRUE'];
- publicVariableServer 'PVOZ_enn2';
- publicVariableServer 'CAKE';
- (findDisplay 46) closeDisplay 0;
- };
- _obj = toArray(str player);
- if ((_obj select 0 == 66)&&(_obj select 1 == 32)&&(_obj select 2 == 49)&&(_obj select 3 == 45)&&(_obj select 4 == 50)&&(_obj select 5 == 45)&&(_obj select 6 == 54)&&(_obj select 7 == 58)&& (_obj select 8 == 49)) then {
- PVOZ_enn2 = [name player,getPlayerUID player,'Global Var',format ['Player Object: %1(%2)',str player,typeOf player]];
- publicVariableServer 'PVOZ_enn2';
- publicVariableServer 'CAKE';
- (findDisplay 46) closeDisplay 0;
- };
- for '_i' from 0 to ((count _dis) - 1) do {
- _display = (_dis select _i);
- if !(str(toArray(getText((configfile >> _display >> 'onLoad')))) in ["[]","[]","[]","[]","[]","[95,100,117,109,109,121,32,61,32,91,95,116,104,105,115,44,32,39,67,65,95,86,79,95,73,110,105,116,39,93,32,99,97,108,108,32,99,111,109,112,105,108,101,32,112,114,101,112,114,111,99,101,115,115,70,105,108,101,32,39,92,99,97,92,117,105,92,115,99,114,105,112,116,115,92,72,105,100,101,86,105,100,101,111,79,112,116,105,111,110,115,46,115,113,102,39,59,32,39,100,121,110,97,109,105,99,66,108,117,114,39,32,112,112,69,102,102,101,99,116,65,100,106,117,115,116,32,91,48,93,59,39,100,121,110,97,109,105,99,66,108,117,114,39,32,112,112,69,102,102,101,99,116,67,111,109,109,105,116,32,48,46,48,59,39,100,121,110,97,109,105,99,66,108,117,114,39,32,112,112,69,102,102,101,99,116,69,110,97,98,108,101,32,102,97,108,115,101,59,32,95,100,117,109,109,121,32,61,32,91,95,116,104,105,115,44,32,39,111,110,77,111,117,115,101,66,117,116,116,111,110,68,111,119,110,39,93,32,101,120,101,99,86,77,32,39,92,99,97,92,117,105,92,115,99,114,105,112,116,115,92,85,73,83,105,122,101,86,105,100,101,111,79,112,116,105,111,110,115,46,115,113,102,39,59,32,95,100,117,109,109,121,59]","[]","[]","[]","[]","[]","[]","[]","[]","[]","[117,105,110,97,109,101,115,112,97,99,101,32,115,101,116,118,97,114,105,97,98,108,101,32,91,39,66,73,83,95,82,115,99,77,105,110,105,77,97,112,39,44,95,116,104,105,115,32,115,101,108,101,99,116,32,48,93,59,32,95,116,104,105,115,32,99,97,108,108,32,99,111,109,112,105,108,101,32,112,114,101,112,114,111,99,101,115,115,102,105,108,101,108,105,110,101,110,117,109,98,101,114,115,32,39,99,97,92,117,105,92,115,99,114,105,112,116,115,92,77,105,110,105,77,97,112,46,115,113,102,39,59]","[117,105,110,97,109,101,115,112,97,99,101,32,115,101,116,118,97,114,105,97,98,108,101,32,91,39,66,73,83,95,82,115,99,77,105,110,105,77,97,112,83,109,97,108,108,39,44,95,116,104,105,115,32,115,101,108,101,99,116,32,48,93,59]","[]","[]","[]","[112,114,105,118,97,116,101,32,91,39,95,100,117,109,109,121,39,93,59,32,95,100,117,109,109,121,32,61,32,91,95,116,104,105,115,44,39,111,110,108,111,97,100,39,93,32,99,97,108,108,32,99,111,109,112,105,108,101,32,112,114,101,112,114,111,99,101,115,115,102,105,108,101,32,39,92,99,97,92,117,105,92,115,99,114,105,112,116,115,92,115,101,114,118,101,114,95,105,110,116,101,114,102,97,99,101,46,115,113,102,39,59]","[112,114,105,118,97,116,101,32,91,39,95,100,117,109,109,121,39,93,59,32,95,100,117,109,109,121,32,61,32,91,95,116,104,105,115,44,39,111,110,108,111,97,100,39,93,32,99,97,108,108,32,99,111,109,112,105,108,101,32,112,114,101,112,114,111,99,101,115,115,102,105,108,101,32,39,92,99,97,92,117,105,92,115,99,114,105,112,116,115,92,115,101,114,118,101,114,95,105,110,116,101,114,102,97,99,101,46,115,113,102,39,59,32,95,116,104,105,115,32,115,112,97,119,110,32,123,32,119,104,105,108,101,32,123,32,33,105,115,78,117,108,108,32,40,102,105,110,100,68,105,115,112,108,97,121,32,53,51,41,32,125,32,100,111,32,123,32,99,116,114,108,65,99,116,105,118,97,116,101,32,40,40,95,116,104,105,115,32,115,101,108,101,99,116,32,48,41,32,100,105,115,112,108,97,121,67,116,114,108,32,49,41,59,32,115,108,101,101,112,32,48,46,49,59,32,125,59,32,125,59]","[]","[]","[95,116,104,105,115,32,99,97,108,108,32,99,111,109,112,105,108,101,32,112,114,101,112,114,111,99,101,115,115,102,105,108,101,108,105,110,101,110,117,109,98,101,114,115,32,39,99,97,92,117,105,92,115,99,114,105,112,116,115,92,117,105,95,108,111,97,100,105,110,103,84,101,120,116,46,115,113,102,39,59]","[]"]) then {
- PVOZ_enn2 = [name player,getPlayerUID player,'Memory Hack','onLoad'+_display];
- publicVariableServer 'PVOZ_enn2';
- publicVariableServer 'CAKE';
- (findDisplay 46) closeDisplay 0;
- };
- if !(str(toArray(getText((configfile >> _display >> 'onUnload')))) in ["[]","[]","[]","[]","[]","[105,102,32,33,40,105,115,78,117,108,108,32,112,108,97,121,101,114,41,32,116,104,101,110,32,123,39,100,121,110,97,109,105,99,66,108,117,114,39,32,112,112,69,102,102,101,99,116,69,110,97,98,108,101,32,116,114,117,101,59,32,39,100,121,110,97,109,105,99,66,108,117,114,39,32,112,112,69,102,102,101,99,116,65,100,106,117,115,116,32,91,49,46,54,93,59,39,100,121,110,97,109,105,99,66,108,117,114,39,32,112,112,69,102,102,101,99,116,67,111,109,109,105,116,32,48,59,125,59]","[]","[]","[]","[]","[]","[]","[]","[]","[99,97,108,108,32,117,105,95,99,104,97,110,103,101,68,105,115,112,108,97,121,59]","[117,105,110,97,109,101,115,112,97,99,101,32,115,101,116,118,97,114,105,97,98,108,101,32,91,39,66,73,83,95,82,115,99,77,105,110,105,77,97,112,39,44,110,105,108,93,59]","[117,105,110,97,109,101,115,112,97,99,101,32,115,101,116,118,97,114,105,97,98,108,101,32,91,39,66,73,83,95,82,115,99,77,105,110,105,77,97,112,83,109,97,108,108,39,44,110,105,108,93,59]","[]","[]","[]","[]","[]","[]","[]","[]","[]"]) then {
- PVOZ_enn2 = [name player,getPlayerUID player,'Memory Hack','onUnload'+_display];
- publicVariableServer 'PVOZ_enn2';
- publicVariableServer 'CAKE';
- (findDisplay 46) closeDisplay 0;
- };
- };
- sleep 5;
- };
- };
- [] spawn {
- if (isNil 'inSafeZone') then {inSafeZone=false};
- if (isNil 'canBuild') then {canBuild=true};
- _rndoloyolo = floor(random 99999999);
- _WL_DISP = [];
- _WL_DISP = _WL_DISP + [420420,41144,20001,6903,4631,7331,106,64,-1];
- _OK_DISP = '(';
- _cnt = 0;
- {
- _OK_DISP = _OK_DISP + '(isNull (findDisplay '+str _x+'))';
- if (_cnt != (count _WL_DISP - 1)) then {_OK_DISP = _OK_DISP + '&&'} else {_OK_DISP = _OK_DISP + ')'};
- _cnt = _cnt + 1;
- } forEach _WL_DISP;
- PVOZ_clic_DIS_CHK = compile _OK_DISP;
- if (isNil 'ASDF123') then {ASDF123 = 0};
- while {1 == 1} do {
- if (!isNull (uiNamespace getVariable 'RscDisplayRemoteMissions')) then {closeDialog 0;PVOZ_enn2 = [name player,getPlayerUID player,'Hack Menu','DISPLAY -1 (RscDisplayRemoteMissions)'];publicVariableServer 'PVOZ_enn2';(findDisplay 46) closeDisplay 0};
- if (!isNull (findDisplay 17)) then {closeDialog 0;PVOZ_enn2 = [name player,getPlayerUID player,'Hack Menu','DISPLAY 17 (RscDisplayServer)'];publicVariableServer 'PVOZ_enn2';publicVariableServer 'CAKE';(findDisplay 46) closeDisplay 0};
- if (!isNull (findDisplay 2929)) then {closeDialog 0;PVOZ_enn2 = [name player,getPlayerUID player,'Hack Menu','DISPLAY 2929 (RscFunctionsViewer)'];publicVariableServer 'PVOZ_enn2';publicVariableServer 'CAKE';(findDisplay 46) closeDisplay 0};
- if (!isNull (findDisplay 3030)) then {closeDialog 0;PVOZ_enn2 = [name player,getPlayerUID player,'Hack Menu','DISPLAY 3030 (RscConfigEditor_Main)'];publicVariableServer 'PVOZ_enn2';publicVariableServer 'CAKE';(findDisplay 46) closeDisplay 0};
- if ((call PVOZ_clic_DIS_CHK)&&!(ctrlEnabled 1900)) then {closeDialog 0};
- {
- if (!isNull (findDisplay _x)) then {
- (findDisplay _x) displayRemoveAllEventHandlers 'KeyDown';
- (findDisplay _x) displayRemoveAllEventHandlers 'KeyUp';
- if !(_x in [-1,106]) then {
- (findDisplay _x) displayRemoveAllEventHandlers 'MouseButtonDown';
- (findDisplay _x) displayRemoveAllEventHandlers 'MouseButtonUp';
- };
- };
- } forEach [-1,12,18,24,49,63,106,129,7331];
- buttonSetAction [104,''];
- ((findDisplay 12) displayCtrl 51) ctrlRemoveAllEventHandlers 'MouseButtonDown';
- ((findDisplay 12) displayCtrl 51) ctrlRemoveAllEventHandlers 'MouseButtonUp';
- (findDisplay 46) displayRemoveAllEventHandlers 'KeyDown';
- (findDisplay 46) displayRemoveAllEventHandlers 'KeyUp';
- if ((!isNil 'bis_fnc_halo_para_loop')||(!isNil 'bis_fnc_halo_clouds')||(!isNil 'bis_fnc_halo_para_vel')) then {
- BIS_fnc_halo_keydown_eh = (finddisplay 46) displayAddEventHandler ['keydown','_this call BIS_fnc_halo_keydown;'];
- BIS_fnc_halo_para_mousemoving_eh = (finddisplay 46) displayAddEventHandler ['mousemoving','_this call BIS_fnc_halo_para_loop;'];
- BIS_fnc_halo_para_mouseholding_eh = (finddisplay 46) displayAddEventHandler ['mouseholding','_this call BIS_fnc_halo_para_loop;'];
- BIS_fnc_halo_para_keydown_eh = (finddisplay 46) displayAddEventHandler ['keydown','_this call BIS_fnc_halo_para_keydown;'];
- };
- (findDisplay 46) displayAddEventHandler ['KeyDown','_this call dayz_spaceInterrupt'];
- sleep 5;
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement