Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _cmdrun = {
- titleText ['Init Anon Lite v2.1','PLAIN DOWN'];
- _genVar = {_arr = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","ANON"];_gen = "ANON";for "_i" from 1 to 5 do {_gen = _gen + (_arr select (random ((count _arr)-1)));};_gen}; if(isNil'dayzforce_save')then{dayzforce_save = true;
- _rand1 = call _genVar; _rand2 = call _genVar;
- _rand3 = call _genVar; _rand4 = call _genVar;
- _rand5 = call _genVar; _rand6 = call _genVar;
- _hintcode = call _genVar; _rand8 = call _genVar;
- _rand9 = call _genVar; _rand10 = call _genVar;
- _rand11 = call _genVar; _rand12 = call _genVar;
- _rand13 = call _genVar; _rand14 = call _genVar;
- _rand15 = call _genVar; _rand16 = call _genVar;
- _rand17 = call _genVar; _rand18 = call _genVar;
- _rand19 = call _genVar; _rand20 = call _genVar;
- _rand21 = call _genVar; _rand22 = call _genVar;
- _rand23 = call _genVar; _rand24 = call _genVar;
- _rand25 = call _genVar; _rand26 = call _genVar;
- _rand27 = call _genVar; _rand28 = call _genVar;
- _rand29 = call _genVar; _rand30 = call _genVar;
- _rand31 = call _genVar; _rand32 = call _genVar;
- _rand33 = call _genVar; _rand34 = call _genVar;
- _rand35 = call _genVar; _rand36 = call _genVar;
- _rand37 = call _genVar; _rand38 = call _genVar;
- _rand39 = call _genVar; _rand40 = call _genVar;
- _rand41 = call _genVar; _rand42 = call _genVar;
- _rand43 = call _genVar; _rand44 = call _genVar;
- _rand45 = call _genVar; _rand46 = call _genVar;
- _rand47 = call _genVar; _rand48 = call _genVar;
- _rand49 = call _genVar; _rand50 = call _genVar;
- _rcmd = format [" ||cmdprocess_||",floor(random 10000)];
- _rand51 = call _genVar; _rand52 = call _genVar;
- _rand53 = call _genVar; _rand54 = call _genVar;
- _rand55 = call _genVar; _rand56 = call _genVar;
- _rand57 = call _genVar; _rand58 = call _genVar;
- _rand59 = call _genVar; _rand60 = call _genVar;
- _fn_ExtendName = call _genVar;
- call compile ('
- '+_rand1+' =
- {
- [] spawn
- {
- '+_rand50+' =
- {
- _text = _this select 0;
- _text = toArray _text;
- '+_rand51+' = false;
- '+_rand52+' = [];
- for "_i" from 0 to (count _text -1) do
- {
- _char = _text select _i;
- if (_char == 124) then {'+_rand51+' = true;};
- if !('+_rand51+') then {'+_rand52+' = '+_rand52+' + [_char];};
- };
- _textString = toString '+_rand52+';
- [_textString] call '+_rand24+';
- };
- '+_rand4+' =
- {
- sleep 0.1;
- _text = _this select 0;
- _pos1 = _this select 1;
- _pos2 = _this select 2;
- _id = _this select 3;
- [format["<t size =""1"" color=""#00FF00"" allign=""left""></t>",_text],_pos1,_pos2,99999999,0,0,_id] spawn bis_fnc_dynamicText;
- };
- '+_rand47+' =
- {
- _item = _this select 0;
- _isTrue = _this select 1;
- _quantity = _this select 2;
- if (_isTrue) then
- {
- _config = [_item];
- _num = parseNumber _quantity;
- for "_i" from 1 to _num do
- {
- _isOK = [player,_config] call BIS_fnc_invAdd;
- };
- player globalchat format [" of added to your Inventory!",_num,_item];
- hint format [" of added to your Inventory!",_num,_item];
- }
- else
- {
- _config = [_item];
- _isOK = [player,_config] call BIS_fnc_invAdd;
- _mags = getArray(configfile >> "cfgWeapons" >> _item >> "magazines");
- _config = _mags select 0;
- _isOK = [player,_config] call BIS_fnc_invAdd;
- _isOK = [player,_config] call BIS_fnc_invAdd;
- _isOK = [player,_config] call BIS_fnc_invAdd;
- player globalchat format [" added to your Inventory!",_item];
- hint format [" added to your Inventory!",_item];
- };
- };
- '+_rand48+' =
- {
- _classname = _this select 0;
- '+_rand19+' =
- {
- _array = toArray (_this select 0);
- _count = (_this select 1) - 1;
- _max = (count _array) - 1;
- _Num = [];
- for "_i" from 0 to _count do
- {
- if !(_i > _max) then {_Num = _Num + [_array select _i];};
- };
- _firstNum = toString _Num;
- _firstNum
- };
- '+_rand20+' =
- {
- _array = toArray (_this select 0);
- _count = (_this select 1) - 1;
- _max = (count _array) - 1;
- _Num = [];
- for "_i" from 0 to _count do
- {
- if !((_max - (_count - _i)) > _max) then {_Num = _Num + [_array select (_max - (_count - _i))];};
- };
- _firstNum = toString _Num;
- _firstNum
- };
- '+_rand21+' = ["SEAGULL","BOX","MINE","SADARM_","LASER_","WP_","_MLRS","_81","_82","_105","_120","_122","_227","_AA","_AT",
- "_AP","_80","_57","_85","_100","_125","_30","_IED","_CRV7","_MEEWS","_SMAW","_GRAD","_SABOT","_SH","KORD","DSHKM","MK19",
- "AGS","NEST_","R_PG","R_OG","B_","_YAKB","COCK","PARACHUTE","LAND_","BBARRACKS","_LHD_","_ACR","MASH_","FORT_","BASICWEAPONS","SPECIALWEAPONS","_UAV"];
- '+_rand22+' = [];
- for "_i" from 2 to 6 do
- {
- _charFront = [_classname,_i] call '+_rand19+';
- _charBack = [_classname,_i] call '+_rand20+';
- '+_rand22+' = '+_rand22+' + [toUpper (_charFront)];
- '+_rand22+' = '+_rand22+' + [toUpper (_charBack)];
- };
- '+_rand23+' = false;
- {
- if (_x in '+_rand21+') exitWith {hint ("ERROR: CHARS\n\n"""+_x+"""\n\nIN CLASSNAME\n\n"""+_classname+"""\n\nWILL KICK"); '+_rand23+' = true;};
- } forEach '+_rand22+';
- waitUntil {!('+_rand23+')};
- [("Classname "+_classname+" is OK: Preparing to spawn!")] spawn '+_hintcode+';
- allunits = [];
- publicVariable "allunits";
- sleep 0.5;
- _dir = getDir player - 90;
- _location = player modelToWorld [0,6,0];
- _object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
- [("Spawning:<br/>"+_classname)] spawn '+_hintcode+';
- _tent = _object;
- _tent setdir _dir;
- _tent setpos _location;
- player reveal _tent;
- };
- if (isNil "'+_rand5+'") then {'+_rand5+' = [];};
- '+_rand9+' = false;
- [] spawn '+_rand6+';
- '+_rand6+' =
- {
- _name = _this select 0;
- _istrue = _this select 1;
- if (_istrue) then
- {
- if !(_name in '+_rand5+') then
- {
- '+_rand5+' = '+_rand5+' + [_name];
- };
- }
- else
- {
- if (_name in '+_rand5+') then
- {
- '+_rand5+' = '+_rand5+' - [_name];
- };
- };
- for "_i" from 0 to 6 do {["",0,0,(3000+_i)] spawn '+_rand4+';};
- sleep 0.2;
- for "_i" from 0 to (count '+_rand5+' - 1) do
- {
- _hak = '+_rand5+' select _i;
- if (_i == 0) then
- {
- [_hak,(safezoneX- 1.26)/2,-(safezoneH-1.25)/2,3000] spawn '+_rand4+';
- };
- if (_i == 1) then
- {
- [_hak,(safezoneX- 1.26)/2,-(safezoneH-1.45)/2,3001] spawn '+_rand4+';
- };
- if (_i == 2) then
- {
- [_hak,(safezoneX- 1.26)/2,-(safezoneH-1.65)/2,3002] spawn '+_rand4+';
- };
- if (_i == 3) then
- {
- [_hak,(safezoneX- 1.26)/2,-(safezoneH-1.85)/2,3003] spawn '+_rand4+';
- };
- if (_i == 4) then
- {
- [_hak,(safezoneX- 1.26)/2,-(safezoneH-2.05)/2,3004] spawn '+_rand4+';
- };
- if (_i == 5) then
- {
- [_hak,(safezoneX- 1.26)/2,-(safezoneH-2.25)/2,3005] spawn '+_rand4+';
- };
- if (_i == 6) then
- {
- [_hak,(safezoneX- 1.26)/2,-(safezoneH-2.45)/2,3005] spawn '+_rand4+';
- };
- if (_i == 7) then
- {
- [_hak,(safezoneX- 1.26)/2,-(safezoneH-2.65)/2,3005] spawn '+_rand4+';
- };
- };
- };
- '+_hintcode+' =
- {
- [format ["<t size =""0.8"" font = ""Zeppelin33"" color=""#CC0000"" allign=""center""></t>",_this select 0], (safezoneX + 0.6)/2,-(safezoneH-2.5)/2,2,0,0,3110] spawn bis_fnc_dynamicText;
- sleep 4;
- ["<t size =""0.9"" color=""#3333FF"" allign=""center""></t>", (safezoneX + 0.6)/2,-(safezoneH-2.5)/2, 2,0,0,3110] spawn bis_fnc_dynamicText;
- };
- '+_rand8+' =
- {
- sleep 0.01;
- _first = toLower (_this select 0);
- _second = toLower (_this select 1);
- _third = toLower (_this select 2);
- _fourth = toLower (_this select 3);
- _whole = (_this select 3);
- if ('+_rand45+') exitWith {'+_rand45+' = false; [_first,false,0] spawn '+_rand47+';};
- if ('+_rand46+') exitWith {'+_rand46+' = false; [_first] spawn '+_rand48+';};
- '+_fn_ExtendName+' =
- {
- _second = _this select 0;
- _allnames = [];
- {
- if (isPlayer _x) then
- {
- _allnames = _allnames + [name _x];
- };
- } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
- {
- _fullname = toArray _x;
- _halfname = toArray _second;
- _fullname resize (count _halfname);
- if (toLower(_second) == toLower(toString _fullname)) then {_second = _x;};
- } forEach _allnames;
- _second
- };
- _god = ["/god","/gm","/godmode","/untouchable","/invincible"];
- _esp1 = ["/esp","/pmark"];
- _esp = ["/esp1","/markers1","/pmark1"];
- _help = ["/help","/help 1"];
- _delete = ["/delete","/del","/d"];
- _wpn = ["/spawnweapon","/wpn","/item","/i","/weapon"];
- _tp = ["/tp","/jump","/tele","/warp","/teleport"];
- _veh = ["/spawnvehicle","/spawn","/spwnveh","/spwn","/veh"];
- _kill = ["/killall","/rape","/rapemurder"];
- _search = ["/filter","/classname","/search","/spawnhelp"];
- _commandHelp = ["/commands","/aliases","/names"];
- _tpto = ["/tpto","/to","/getpos"];
- _grass = ["/grass","/nograss","/g","/goff"];
- _spectate = ["/spec","/spectate","/watch"];
- _remoteControl = ["/control","/remotecontrol","/ctrl","/rctrl"];
- _box = ["/box","/wpnbox","/crate","/ammocrate","/spawnbox","/ammobox","/wpncrate"];
- _morph = ["/skin","/morph"];
- _log = ["/log","/leave","/disconnect"];
- _start = ["/start","start"," /start"," start"];
- _clip = ["/mouse","/mouseclip","/noclip","/clip"];
- _explo = ["/explo","/boom","/explode","/exp"];
- _msg = ["/msg:","/message:"];
- _breakingpointDev = ["/bpdev","/breakingpointDev"];
- _bpAdmin = ["/bpadmin","/breakingpointadmin"];
- _close = ["/close","/cl"];
- _back = ["/back","/bck","/b"];
- _mark = ["/markers","/mapmark","/mapmarkers","/mark"];
- _zkill = ["/shield","/sheild","/zshield","/zsheild","/nozombies","/nozed"];
- _exec = ["/run","/exec","/execute"];
- _backpck = ["/backpack","/bpck","/bpk","/sack","/pack"];
- _repair = ["/repair","/fixme","/vehfix","/vehgod"];
- _ammo = ["/ammo","/refill","/giveammo"];
- _explobullets = ["/explosive","/bullets","/explosivebullets","/explobullets","/explob","/bullets"];
- _last = ["/r","/l","/last","/recent"];
- _bldg = ["/building","/spawnbuilding"];
- _cmdoff = ["/cmdoff","/obfuscate","/cmdprocess","/chatmode"];
- _eject = ["/eject","/getout","/forcegetout","/abandonship"];
- _join = ["/join","/getin","/movein","/moveto"];
- _guard = ["/guard","/bodyguard","/tavianaguarddog"];
- _assassian = ["/assassianate","/assassian","/assassin","/assassinate","/assasianate","/assassanate","/hitman"];
- _time = ["/timeset","/time","/settime","/teim","/tiem"];
- _infammo = ["/infinite","/infammo","/superammo"];
- _ban = ["/ban","/bpban","/breakingpointban"];
- _antitaze = ["/antitaze","/notaze","/untazable","/antifreeze"];
- _bloodsuckers = ["/bloodsucker","/bloodsuckers"];
- _taze = ["/taze","/tazer","/laze","/knockout"];
- _army = ["/personalarmy","/army","/soldiers"];
- _unlock = ["/unlock","/open"];
- _warning = ["/warning"];
- _dogs = ["/zombiedogs","/infectedhound","/zdogs","/dogs"];
- _players = ["/players"];
- _commands = _god + _esp + _help + _delete + _wpn + _tp + _veh + _kill + _search + _commandHelp + _tpto + _grass + _spectate;
- _commands = _commands + _remoteControl + _box + _morph + ["/kill"] + _esp1 + _log + _start + _clip + _explo + _msg;
- _commands = _commands + _bpAdmin + _breakingpointDev + _close + _back + _mark + _zkill + ["/test"] + _exec + _backpck;
- _commands = _commands + _repair + ["/humanity"] + _ammo + _explobullets + _last + _bldg + _cmdoff + _eject + _join;
- _commands = _commands + _guard + _assassian + _time + _infammo + _ban +_antitaze + _taze + _bloodsuckers + _army + _unlock;
- _commands = _commands + _warning + _dogs + _players;
- if (_first in _commands) then
- {
- if (_first in _players) then
- {
- ["Stunt doubles called in. Act normal."] call '+_hintcode+';
- _me = typeOf player;
- for "_i" from 1 to 20 do
- {
- _agent = createAgent [_me, getPos player, [], 30, "NONE"];
- _position = getPosATL _agent;
- [_position, _agent] execFSM "\z\AddOns\dayz_code\system\zombie_agent.fsm";
- };
- };
- if (_first in _dogs) then
- {
- ["Infected Hounds called in."] call '+_hintcode+';
- for "_i" from 1 to 20 do
- {
- _agent = createAgent ["dz_pastor_infected", getPos player, [], 30, "NONE"];
- _position = getPosATL _agent;
- [_position, _agent] execFSM "\z\AddOns\dayz_code\system\zombie_agent.fsm";
- };
- };
- if (_first in _warning) then
- {
- "Anon lite detection warning" hintC
- [
- parsetext "<t color=""#FF0000"">/god - Do not use on Infistars anticheat<t/>",
- parsetext "<t color=""#FF0000"">/box - Do not use on Infistars anticheat<t/>",
- parsetext "<t color=""#FF0000"">/esp - Do not use on Infistars anticheat<t/>",
- parsetext "<t color=""#FF0000"">/infammo - Do not use on Breaking Point or Infistars anticheat<t/>"
- ];
- };
- if (_first in _unlock) then
- {
- _list = ["dvereGarazLeve","dvereGarazPrave","dvereDvaB","dvereJednaA","dvereJednaADira","dvereJednaDira","dvereDvaDira","dvereDva",
- "dvereGarazLeveDva","dvereJednaC","prapor","dvereTri","dvereJedna","dvereDvaBDira","vrataGaraz","vrataGaraz2","dvereGarazLeveDva",
- "dvereGarazPraveDva","dvere4tiri","hridel","kolo1","kolo2","vaha","svich","door1","door2","door3","door4","door5","door6","door7",
- "door8","vratkaDva"];
- {
- _object = cursortarget;
- _object animate [_x,1];
- } forEach _list;
- [("Opening "+(str cursortarget)+"")] call '+_hintcode+';
- };
- if (_first in _army) then
- {
- ["Spawning personal Army... this is not /b/"] call '+_hintcode+';
- _list = ([6800, 9200, 0] nearEntities [["SectorB_def"], 40000]);
- {
- _unit = _x;
- [player] joinsilent (group _unit);
- _bolt = _unit;
- _hitObject = vehicle player;
- _val = [(random 5.00),(random 5.00),0];
- _hitMemoryPt = " ";
- _bolt attachTo [_hitObject,_val,_hitMemoryPt];
- sleep 0.1;
- detach _bolt;
- } forEach _list;
- };
- if (_first in _taze) then
- {
- if ((_second == "all") or (_second == "everyone")) then
- {
- hint "ZAPZAPZAP";
- ["Tazing EVERYONE! zapzapzap"] call '+_hintcode+';
- {
- if ((isPlayer _x) and !(_x == player)) then
- {
- [_x, player, DDOPP_taser_koTime] spawn DDOPP_taser_victimFx;
- };
- } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
- }
- else
- {
- _second = [_second] call '+_fn_ExtendName+';
- hint "ZAPZAPZAP";
- [("Tazing "+(_second)+"! zapzapzap")] call '+_hintcode+';
- {
- if ((toLower(name _x) == _second) and (isPlayer _x) and !(_x == player)) then
- {
- [_x, player, DDOPP_taser_koTime] spawn DDOPP_taser_victimFx;
- };
- } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
- };
- };
- if (_first in _bloodsuckers) then
- {
- ["Be Careful, these niggas will eat through your godmode..."] call '+_hintcode+';
- for "_i" from 1 to 20 do
- {
- _agent = createAgent ["bloodsucker", getPos player, [], 30, "NONE"];
- _position = getPosATL _agent;
- [_position, _agent] execFSM "\z\AddOns\dayz_code\system\zombie_agent.fsm";
- };
- };
- if (_first in _antitaze) then
- {
- ["Starting Anti-Tazer Loop"] call '+_hintcode+';
- while {true} do
- {
- if (player getVariable "isTazed") then
- {
- hint "YOU HAVE BEEN TAZED\nAnon WILL FIX YOU";
- disableuserinput false;
- [[player,"amovppnemrunsnonwnondf"],true] call DDOPP_public_anim;
- player setVariable ["isTazed",false,true];
- };
- };
- };
- if (_first in _ban) then
- {
- _second = [_second] call '+_fn_ExtendName+';
- {
- if ((toLower(name _x) == _second) and (isPlayer _x)) then
- {
- _world = toUpper(worldName);
- _nearestCity = (nearestLocations [getPos _x, ["NameCityCapital","NameCity","NameVillage","NameLocal"],1000] select 0);
- _town = "Wilderness";
- if (!isNull _nearestCity) then {_town = text _nearestCity};
- BP_OnPlayerLogin = [true, name _x, getPlayerUID _x, "Faggot", "lol bp dev why u add ban table", _world, _town];
- publicVariableServer "BP_OnPlayerLogin";
- [(""+(name _x)+" is Banned on breakingpoint<br/>lelele devs why u put in ban pveh<br/>server needs to restart for ban to take effect")] call '+_hintcode+';
- };
- } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
- };
- if (_first in _infammo) then
- {
- ["If you are on breaking point, this will ban you<br/>disconnect now"] call '+_hintcode+';
- player setUnitRecoilCoefficient 0.001;
- _code = "[] spawn {while {true} do {vehicle player setVehicleAmmo 0.99;sleep 0.01;};};";
- call compile _code;
- };
- if (_first in _time) then
- {
- _day = ["day","daytime","noon","bright"];
- _night = ["night","nighttime","midnight","dark"];
- _possible = _day + _night;
- if (_second in _possible) then
- {
- if (_second in _day) then
- {
- '+_rand59+' = true;
- while {'+_rand59+'} do {setDate [2012, 9, 1, 14, 0]; sleep 5;};
- ["Day Time!"] spawn '+_hintcode+';
- }
- else
- {
- '+_rand59+' = false;
- while {!('+_rand59+')} do {setDate [2012, 9, 1, 3, 30]; sleep 5;};
- ["Night Time!"] spawn '+_hintcode+';
- };
- } else {["Time not recognized; /time day or /time night"] spawn '+_hintcode+';};
- };
- if (_first in _assassian) then
- {
- _second = [_second] call '+_fn_ExtendName+';
- [_second] spawn
- {
- {
- if ((toLower(name _x) == (_this select 0)) and (isPlayer _x)) then
- {
- _list = ([6800, 9200, 0] nearEntities [["SectorB_def"], 40000]);
- for "_i" from 1 to 2 do
- {
- _unit = _list select floor(random count _list - 1);
- [player] joinsilent (group _unit);
- _bolt = _unit;
- _hitObject = vehicle _x;
- _val = [2*_i,-4,0];
- _hitMemoryPt = " ";
- _bolt attachTo [_hitObject,_val,_hitMemoryPt];
- sleep 1;
- detach _bolt;
- };
- hint ("Calling in Origins Hitmen to "+(name _x));
- };
- } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
- };
- };
- if (_first in _guard) then
- {
- ["guards are among you"] spawn '+_hintcode+';
- _list = ([6800, 9200, 0] nearEntities [["SectorB_def"], 40000]);
- _unit = _list select floor(random count _list - 1);
- [player] joinsilent (group _unit);
- _bolt = _unit;
- _hitObject = vehicle player;
- _val = [0,1,0];
- _hitMemoryPt = " ";
- _bolt attachTo [_hitObject,_val,_hitMemoryPt];
- sleep 1;
- detach _bolt;
- };
- if (_first in _join) then
- {
- _second = [_second] call '+_fn_ExtendName+';
- [] spawn
- {
- {
- if ((toLower(name _x) == _second) and (isPlayer _x)) then
- {
- _vehicle = vehicle _x;
- _x action ["Eject",vehicle _x];
- sleep 0.4;
- player action ["getInDriver",_vehicle];
- [("Attempting to Get in "+(name _x))] spawn '+_hintcode+';
- };
- } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
- };
- };
- if (_first in _eject) then
- {
- _second = [_second] call '+_fn_ExtendName+';
- {
- if ((toLower(name _x) == _second) and (isPlayer _x)) then
- {
- _x action ["Eject",vehicle _x];
- [("Attempting to Eject "+(name _x))] spawn '+_hintcode+';
- };
- } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
- };
- if (_first in _cmdoff) then
- {
- if (isNil "'+_rand58+'") then {'+_rand58+' = 0; }; if ('+_rand58+' == 0) then
- {
- '+_rand58+' = 1;
- '+_rand55+' = false;
- }
- else
- {
- '+_rand58+' = 0;
- '+_rand55+' = true;
- };
- titleText ["Command Obfuscation toggled","PLAIN DOWN"];
- };
- if ((_first in _search) and (_second in ["building","buildings","objects","object","structures","house","base"])) then
- {
- ["Type in chat to search for Building classnames"] call '+_hintcode+';
- '+_rand14+' = [];
- _cfgvehicles = configFile >> "cfgVehicles";
- for "_i" from 0 to (count _cfgvehicles)-1 do
- {
- _vehicle = _cfgvehicles select _i;
- if (isClass _vehicle) then
- {
- _obj_type = configName _vehicle;
- if ((getNumber (_object >> "scope") == 2) && (getText (_object >> "picture") != "") && !((_obj_type isKindOf "ParachuteBase") or (_obj_type isKindOf "BIS_Steerable_Parachute")) && (_obj_type isKindOf "Building")) then
- {
- '+_rand14+' = '+_rand14+' + [_obj_type];
- };
- };
- };
- '+_rand15+' =
- {
- _text = (_this select 1);
- _num = _this select 0;
- '+_rand16+' = [];
- {
- _scan = [];
- _bump = toArray _x;
- for "_i" from 0 to (_num - 1) do
- {
- if !(count _bump <= (_num - 1)) then
- {
- _char = _bump select _i;
- if !(str _char == "") then
- {
- _scan = _scan + [_char];
- };
- };
- };
- if ((toString _scan) == _text) then
- {
- if !(_x in '+_rand16+') then
- {
- '+_rand16+' = '+_rand16+' + [_x];
- };
- };
- } forEach '+_rand14+';
- if !(str '+_rand16+' == "[]") then
- {
- '+_rand17+' = "Results:\n----------------------\n";
- for "_i" from 0 to (count '+_rand16+' - 1) do
- {
- _result = '+_rand16+' select _i;
- '+_rand17+' = ('+_rand17+' + _result + "\n");
- };
- hint '+_rand17+';
- } else {hint "No Results.";};
- };
- for "_i" from 1 to 15 do
- {
- waitUntil {!isNull (finddisplay 24)};
- waitUntil {(count (toArray (ctrlText ((findDisplay 24) displayCtrl 101))) == _i)};
- if !('+_rand46+') exitWith {};
- _text = (ctrlText ((findDisplay 24) displayCtrl 101));
- [_i,_text] call '+_rand15+';
- };
- };
- if (_first in _bldg) then
- {
- _classname = _this select 0;
- '+_rand19+' =
- {
- _array = toArray (_this select 0);
- _count = (_this select 1) - 1;
- _max = (count _array) - 1;
- _Num = [];
- for "_i" from 0 to _count do
- {
- if !(_i > _max) then {_Num = _Num + [_array select _i];};
- };
- _firstNum = toString _Num;
- _firstNum
- };
- '+_rand20+' =
- {
- _array = toArray (_this select 0);
- _count = (_this select 1) - 1;
- _max = (count _array) - 1;
- _Num = [];
- for "_i" from 0 to _count do
- {
- if !((_max - (_count - _i)) > _max) then {_Num = _Num + [_array select (_max - (_count - _i))];};
- };
- _firstNum = toString _Num;
- _firstNum
- };
- '+_rand21+' = ["SEAGULL","BOX","MINE","SADARM_","LASER_","WP_","_MLRS","_81","_82","_105","_120","_122","_227","_AA","_AT",
- "_AP","_80","_57","_85","_100","_125","_30","_IED","_CRV7","_MEEWS","_SMAW","_GRAD","_SABOT","_SH","KORD","DSHKM","MK19",
- "AGS","NEST_","R_PG","R_OG","B_","_YAKB","COCK","PARACHUTE","LAND_","BBARRACKS","_LHD_","_ACR","MASH_","FORT_","BASICWEAPONS","SPECIALWEAPONS","_UAV"];
- '+_rand22+' = [];
- for "_i" from 2 to 6 do
- {
- _charFront = [_classname,_i] call '+_rand19+';
- _charBack = [_classname,_i] call '+_rand20+';
- '+_rand22+' = '+_rand22+' + [toUpper (_charFront)];
- '+_rand22+' = '+_rand22+' + [toUpper (_charBack)];
- };
- '+_rand23+' = false;
- {
- if (_x in '+_rand21+') exitWith {hint ("ERROR: CHARS\n\n"""+_x+"""\n\nIN CLASSNAME\n\n"""+_classname+"""\n\nWILL KICK"); '+_rand23+' = true;};
- } forEach '+_rand22+';
- waitUntil {!('+_rand23+')};
- [("Classname "+_classname+" is OK: Preparing to spawn!")] spawn '+_hintcode+';
- _dir = getDir player - 90;
- _location = player modelToWorld [0,10,0];
- _object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
- [("Spawning:<br/>"+_classname)] spawn '+_hintcode+';
- _tent = _object;
- _tent setdir _dir;
- _tent setpos _location;
- player reveal _tent;
- };
- if (_first in _last) then
- {
- hint format["Running Last Command:\n\n\n\n",_first,_second,_third,_fourth];
- };
- if (_first in _explobullets) then
- {
- if (isNil "'+_rand53+'") then
- {
- '+_rand53+' = 0;
- };
- if ('+_rand53+' == 0) then
- {
- '+_rand53+' = 1;
- ["Explosive Bullets on"] spawn '+_hintcode+';
- ["Explosive Bullets",true] spawn '+_rand6+';
- player removeAllEventHandlers "Fired";
- player addEventHandler
- [
- "Fired",
- {
- if !((str cursortarget) == "") then
- {
- _classname = "HelicopterExploBig";
- _location = screenToWorld [0.5,0.5];
- _object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
- }
- else
- {
- _classname = "HelicopterExploBig";
- _location = (getpos cursortarget);
- _object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
- };
- }
- ];
- }
- else
- {
- '+_rand53+' = 0;
- ["Explosive Bullets off"] spawn '+_hintcode+';
- ["Explosive Bullets",false] spawn '+_rand6+';
- player removeAllEventHandlers "Fired";
- };
- };
- if (_first in _ammo) then
- {
- _item = currentWeapon player;
- _mags = getArray(configfile >> "cfgWeapons" >> _item >> "magazines");
- _config = _mags select 0;
- _isOK = [player,_config] call BIS_fnc_invAdd;
- _isOK = [player,_config] call BIS_fnc_invAdd;
- _isOK = [player,_config] call BIS_fnc_invAdd;
- player globalchat format ["Three added to your Inventory!",_config];
- hint format ["Three added to your Inventory!",_config];
- };
- if (_first == "/humanity") then
- {
- if (_third == "") then
- {
- _hum = parseNumber _second;
- player setVariable["humanity",_hum,true];
- cutText [format["Humanity set to ", _hum],"PLAIN DOWN"];
- }
- else
- {
- _second = [_second] call '+_fn_ExtendName+';
- _num = parseNumber _third;
- {
- if ((toLower(name _x) == _second) and (isPlayer _x)) then
- {
- _x setVariable["humanity",_num,true];
- cutText [format["Humanity on set to ",_second, _num],"PLAIN DOWN"];
- };
- } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
- };
- };
- if (_first in _repair) then
- {
- ["Repairing Vehicle"] spawn '+_hintcode+';
- _object = (vehicle player);
- _object allowDamage false;
- _object setDamage 0;
- };
- if (_first in _backpck) then
- {
- _czeck = ["czeck","check","czeckpack","checkpack"];
- _coyote = ["coyote","coyotepack"];
- _alice = ["alicepack","alice"];
- _omega = ["mega","omega","omega_dz","megapack","omegapack"];
- _travler = ["martin","travler","travlermartin","travlerpack"];
- _packs = _czeck+_coyote+_alice+_omega+_travler;
- if (_second in _packs) then
- {
- if (_second in _czeck) then {player addbackpack "DZ_CivilBackpack_EP1";};
- if (_second in _coyote) then {player addbackpack "DZ_Backpack_EP1";};
- if (_second in _alice) then {player addbackpack "DZ_ALICE_Pack_EP1";};
- if (_second in _omega) then {player addbackpack "O_MegaPack_1";};
- if (_second in _travler) then {player addbackpack "O_TravelerPack_1";};
- }
- else
- {
- if (_second == "help") then
- {
- hint "Backpack Names/Aliases\n\n
- [Czech Backpack]: DZ_CivilBackpack_EP1, czeck, check, czeckpack, checkpack\n\n
- [Alice Pack]: DZ_ALICE_Pack_EP1, alicepack, alice\n\n
- [Coyote Backpack]: DZ_Backpack_EP1, coyote, coyotepack\n\n
- [Traveler Backpack (Origins)]: O_TravelerPack_1, martin, travler, travlermartin, travlerpack\n\n
- [Mega Backpack (Origins)]: O_MegaPack_1, mega, omega, omega_dz, megapack, omegapack";
- } else {player addBackpack _second;};
- };
- };
- if (_first in _exec) then {execvm format ["ANON\",_second];};
- if (_first == "/test") then {execVM "scrFuckOffInfistar\test.sqf";};
- if (_first in _zkill) then
- {
- if (isNil "'+_rand43+'") then {'+_rand43+' = 0;};
- if ('+_rand43+' == 0) then
- {
- '+_rand43+' = 1;
- ["Zombie Shield On!"] spawn '+_hintcode+';
- ["Zombie Shield",true] spawn '+_rand6+';
- if (_second == "") then {'+_rand44+' = 30;} else {'+_rand44+' = parseNumber _second;};
- while {'+_rand43+' == 1} do
- {
- _list = ((getpos player) nearEntities [["zZombie_Base"], '+_rand44+']);
- _num = count _list;
- if (_num > 0) then
- {
- {
- deleteVehicle _x;
- } forEach _list;
- };
- waitUntil {!(_num == count ((getpos player) nearEntities [["zZombie_Base"], '+_rand44+']))};
- };
- } else {'+_rand43+' = 0; ["Zombie Shield Off!"] spawn '+_hintcode+';["Zombie Shield",false] spawn '+_rand6+';};
- };
- if (_first in _mark) then
- {
- '+_rand40+' =
- {
- while {'+_rand41+' == 1} do
- {
- _entities = ([6800, 9200, 0] nearEntities [["Survivor1_DZ", "Survivor2_DZ", "SurvivorW2_DZ", "Bandit1_DZ", "Survivor3_DZ", "Soldier1_DZ", "Camo1_DZ", "Sniper1_DZ", "BanditW1_DZ", "BanditW2_DZ", "SurvivorW3_DZ", "Hero1_DZ"], 11000]);
- for "_i" from 0 to (count _entities)-1 do
- {
- deleteMarkerLocal ("'+_rand40+'" + (str _i));
- _pm = createMarkerLocal [("'+_rand40+'" + (str _i)), getPos (_entities select _i)];
- _pm setMarkerTypeLocal "destroyedvehicle";
- _pm setMarkerSizeLocal [0.8, 0.8];
- _pm setMarkerTextLocal format ["", name (_entities select _i)];
- _pm setMarkerColorLocal ("ColorBlue");
- };
- sleep 3;
- };
- _entities = ([6800, 9200, 0] nearEntities [["Survivor1_DZ", "Survivor2_DZ", "SurvivorW2_DZ", "Bandit1_DZ", "Survivor3_DZ", "Soldier1_DZ", "Camo1_DZ", "Sniper1_DZ", "BanditW1_DZ", "BanditW2_DZ", "SurvivorW3_DZ", "Hero1_DZ"], 11000]);
- for "_i" from 0 to (count _entities)-1 do {deleteMarkerLocal ("'+_rand40+'" + (str _i));};
- };
- '+_rand42+' =
- {
- while {'+_rand41+' == 1} do
- {
- _entities = ([6800, 9200, 0] nearEntities [["LandVehicle", "Air", "Ship"], 11000]);
- for "_i" from 0 to (count _entities)-1 do
- {
- deleteMarkerLocal ("'+_rand42+'" + (str _i));
- _vm = createMarkerLocal [("'+_rand42+'" + (str _i)), getPos (_entities select _i)];
- _vm setMarkerTypeLocal "destroyedvehicle";
- _vm setMarkerSizeLocal [0.8, 0.8];
- _vm setMarkerTextLocal format ["", getText (configFile >> "CfgVehicles" >> (typeof (_entities select _i)) >> "displayName")];
- _vm setMarkerColorLocal ("ColorBlack");
- };
- sleep 3;
- };
- _entities = ([6800, 9200, 0] nearEntities [["LandVehicle", "Air", "Ship"], 11000]);
- for "_i" from 0 to (count _entities)-1 do {deleteMarkerLocal ("'+_rand42+'" + (str _i));};
- };
- if (isNil "'+_rand41+'") then {'+_rand41+' = 0;};
- if ('+_rand41+' == 0) then
- {
- '+_rand41+' = 1;
- hint "2D Map Markers Enabled";
- [] spawn '+_rand40+';
- [] spawn '+_rand42+';
- ["Map Markers",true] spawn '+_rand6+';
- }
- else
- {
- '+_rand41+' = 0;
- ["Map Markers",false] spawn '+_rand6+';
- hint "2D Map Markers Disabled";
- };
- };
- if (_first in _close) then {closedialog 0;};
- if (_first in _back) then
- {
- if ('+_rand36+') then
- {
- '+_rand36+' = false;
- dayz_spaceInterrupt = {};
- selectPlayer '+_rand11+';
- };
- player switchCamera "EXTERNAL";
- };
- if (_first in _breakingpointDev) then
- {
- [] execVM "deathlyrage\radio\commsMenu.sqf";
- };
- if (_first in _bpAdmin) then
- {
- [] execVM "gcam\gcam.sqf";
- };
- if (_first in _log) then {endmission "LOSER";};
- if ((_first in _explo) and !(_second == "")) then
- {
- if (_second in ["all","everyone"]) then
- {
- {
- if (isPlayer _x) then
- {
- _classname = "HelicopterExploBig";
- _location = getpos _x;
- _object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
- };
- } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
- }
- else
- {
- _second = [_second] call '+_fn_ExtendName+';
- {
- if ((toLower(name _x) == _second) and (isPlayer _x)) then
- {
- _classname = "HelicopterExploBig";
- _location = getpos _x;
- _object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
- [format[" goes boom!",_second]] spawn '+_hintcode+';
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement