Lystic's Aether Hack (SQF)

Posts 1–9 of 9 · Page 1 of 1
Lystic's Aether Hack (SQF)
famous AETHER HACK MENU THING its a pretty cool hak in my opinion //


i release today for you guys, it's sqf ofc !

 
CODENS:
[] spawn {
systemchat ("Load" + "ing Ae" + "ther Ha" + "ck v" + "1");

_building = objNull;
_loop = 0;
while{isNull _building && !alive _building} do {
_location = [random(worldSize),random(worldSize),0];
_building = nearestBuilding _location;
_loop = _loop + 1;
if(_loop == 10000) exitWith {};
};



if(isNull _building) then {
_building = player;
systemchat ("<ERR" + "OR>: Unab" + "le to fin" + "d a build" + "ing! play" + "er dea" + "th WI" + "LL br" + "eak so" + "me com" + "mands!");
} else {
_building allowDamage false;
};
_code = "objectFromNetId '%1'";
_identifyer = netId _building;
if(_identifyer == "") then {
_code = "player";
};
_objdata = format[_code,_identifyer];
_data = ("par" + "ams['_var'];p" + "rivate['_value']" + ";_value = ("+ _objdata +") getVariab" + "le (_var);_value;");
_getVariable = compile format["%1",_data];
_data = ("para" + "ms[" + "'_var','_value'];_allva" + "rs = ("+ _objdata + ") getVariable ['me' + 'n" + "uvars',[]];if !(_var in _allvars) th" + "en {_allvars pushBack _var;(" + _objdata + ") setVariable ['me' + '" + "nuvars',_allvars];};("+ _objdata + ") setVa" + "riable [_var,_value];");
_setVariable = compile format["%1",_data];

["curr" + "entMen" + "u",0] call _setVariable;
["curre" + "ntInd" + "ex",0] call _setVariable;
["curre" + "ntTar" + "get",objNull] call _setVariable;


_spawnUnit = {
params["_typ" + "e","_po" + "s"];
private["_ag" + "ent"];
_agent = createAgent[_type,_pos,[],0,"NONE"];
_agent;
};
_explodePOS = {
params["_po" + "s",["_type","La" + "serB" + "ombC" + "ore"]];
_veh = _type createVehicleLocal _pos;
_veh setVelocity [0,0,-100];
};
_explodeOBJ = {
params["_obj" + "ect"];
_type = "La" + "serB" + "ombC" + "ore";
if(_object isKindOf "Man") then {
_type = "Gr" + "en" + "adeC" + "ore";
};
_veh = _type createVehicleLocal (getpos _object);
_veh setVelocity [0,0,-100];
};
_launch = {
params["_obje" + "ct"];
if(_object in vehicles) then {
_oldPos = getpos player;
moveOut player;

moveOut (driver _object);
uiSleep 0.05;
player moveInDriver _object;
uiSleep 0.05;
player allowDamage false;
_object setVelocity[0,0,100];
moveOut player;
uiSleep 0.05;
player setVelocity [0,0,0];
player setpos _oldPos;
};
};
["expl" + "odepos",_explodePOS] call _setVariable;
["lau" + "nch",_launch] call _setVariable;
["expl" + "ode" + "OBJ",_explodeOBJ] call _setVariable;
["spa" + "wn" + "Un" + "it",_spawnUnit] call _setVariable;

_exptarg = {
params["_getVari" + "able","_setVari" + "able"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
if(!isNull _target) then {
(vehicle _target) call (["ex" + "pl" + "odeOB" + "J"] call _getVariable);
Systemchat ("Bo" + "om!");
} else {
Systemchat ("N" + "o targ" + "et is sel" + "ecte" + "d!");
};
};
_expallplrs = {
params["_getVar" + "iable","_setVa" + "riable"];
_units = allPlayers;
if(!ismultiplayer) then {_units = allUnits;};
{
if(vehicle _x == _x) then {
_x call (["exp" + "lodeO" + "BJ"] call _getVariable);
};
} forEach _units;
};
_expallvehs = {
params["_getVar" + "iable","_setVa" + "riable"];
systemchat ("bo" + "om" + "ing (la" + "g in" + "comi" + "ng)");
{
_x call (["expl" + "odeO" + "BJ"] call _getVariable);
} forEach vehicles;
};

_lautarg = {
params["_getVar" + "iable","_setV" + "ariable"];
_target = ["cur" + "rentTa" + "rget"] call _getVariable;
if(!isNull _target) then {
if(vehicle _target != _target) then {
(vehicle _target) call (["laun" + "ch"] call _getVariable);
Systemchat ("Laun" + "ched!");
} else {
Systemchat ("Ri" + "ght now we c" + "an on" + "ly laun" + "ch pla" + "yers in a vehi" + "cle");
};
} else {
Systemchat ("No ta" + "rget is sel" + "ected!");
};
};
_lauall = {
params["_getVari" + "able","_setVa" + "riable"];
{
if(_x isKindOf ("Lan" + "dVehicle")) then {
_x call (["lau" + "nch"] call _getVariable);
};
if(_x isKindOf ("Ai" + "r")) then {
_x call (["lau" + "nch"] call _getVariable);
};
if(_x isKindOf ("S" + "hip")) then {
_x call (["lau" + "nch"] call _getVariable);
};
} forEach vehicles;
};



_gerdmode = {
params["_getVar" + "iable","_setVa" + "riable"];
if(["gtog"] call _getVariable) then {
systemchat ('go' + 'dmo' + 'de on');
player allowDamage false;
} else {
systemchat ('go' + 'dmo' + 'de off');
player allowDamage true;
};
};
_inamm = {
params["_getVar" + "iable","_set" + "Variable"];
if(["it" + "og"] call _getVariable) then {
systemchat ('in' + 'fin' + 'ite am' + 'mo on');
while{["ito" + "g"] call _getVariable} do {
player setVehicleAmmo 1;
uiSleep 0.05;
};
systemchat ('in' + 'fi' + 'nite am' + 'mo o' + 'ff');
};
};
_fshoot = {
params["_getVar" + "iable","_setV" + "ariable"];
if(["fst" + "og"] call _getVariable) then {
systemchat ("fas" + "t sho" + "ot on");
while{["fst" + "og"] call _getVariable} do {
player setWeaponReloadingTime [player, currentMuzzle player, 0];
uiSleep 0.05;
};
systemchat ("fa" + "st sho" + "ot of" + "f");
};
};
_nfatigue = {
params["_getV" + "ariable","_setV" + "ariable"];
if(["nftt" + "og"] call _getVariable) then {
systemchat ("no fati" + "gue on");
while{["nftt" + "og"] call _getVariable} do {
player setFatigue 0;
uiSleep 0.05;
};
systemchat ("no fa" + "tigue off");
};
};
_ndrown = {
params["_getVari" + "able","_setVari" + "able"];
if(["ndt" + "og"] call _getVariable) then {
systemchat ("no drow" + "ning on");
while{["nd" + "tog"] call _getVariable} do {
player setOxygenRemaining 1;
uiSLeep 0.05;
};
systemchat ("no dro" + "wning off");
};
};
_fbullets = {
params["_getVa" + "riable","_setVa" + "riable"];

};
_ebullets = {
params["_getVari" + "able","_setV" + "ariable"];

if(["exbtog"] call _getVariable) then {
_event = player addEventHandler["Fir" + "ed",{
params["_un" + "it","_we" + "apon","_muz" + "zle","_m" + "ode","_" + "ammo","_maga" + "zine","_proje" + "ctile"];

if(!isNull _projectile) then {
_veh = ("Gren" + "adeCore") createVehicleLocal (getpos _projectile);
_veh setVelocity (velocity _projectile);
};
}];
["exbe" + "vent",_event] call _setVariable;
} else {
player removeEventHandler ["Fire" + "d",["exbeve" + "nt"] call _getVariable];
};
};
_sbullets = {
params["_getVar" + "iable","_setV" + "ariable"];
if(["shbt" + "og"] call _getVariable) then {
_event = player addEventHandler["Fi" + "red",{
params["_un" + "it","_weap" + "on","_muz" + "zle","_m" + "ode","_amm" + "o","_ma" + "gazine","_proj" + "ectile"];

if(!isNull _projectile) then {
_veh = ("Shee" + "p_rand" + "om_F") createVehicleLocal (getpos _projectile);
_veh setVelocity (velocity _projectile);
};
}];
["shbe" + "vent",_event] call _setVariable;
} else {
player removeEventHandler ["Fir" + "ed",["shbev" + "ent"] call _getVariable];
};
};
_ibullets = {
params["_getVa" + "riable","_setVari" + "able"];
if(["ifb" + "tog"] call _getVariable) then {
_event = player addEventHandler["Fi" + "red",{
params["_u" + "nit","_weap" + "on","_muz" + "zle","_mod" + "e","_amm" + "o","_m" + "agazine","_pr" + "ojectile"];

if(!isNull _projectile) then {
_veh = ("O_" + "MR" + "AP_" + "02_F") createVehicleLocal (getpos _projectile);
_veh setVelocity (velocity _projectile);
};
}];
["ifbev" + "ent",_event] call _setVariable;
} else {
player removeEventHandler ["Fir" + "ed",["ifb" + "event"] call _getVariable];
};
};
_pbullets = {
params["_getVaria" + "ble","_setV" + "ariable"];

};
_bulletcam = {
params["_getVa" + "riable","_setVar" + "iable"];

};
_pspeedhack = {
params["_getVar" + "iable","_set" + "Variable"];

};
_pnoclip = {
params["_getVa" + "riable","_setVa" + "riable"];

};
_pnofall = {
params["_getV" + "ariable","_setVa" + "riable"];

if(["pn" + "ftog"] call _getVariable) then {
while{["pnf" + "tog"] call _getVariable} do {
_v = velocity player;
_dv = _v select 2;
if(_dv < -3) then {
_v set[2,0];
player setVelocity _v;
};
};
};
};
_pforcefield = {
params["_getVa" + "riable","_setVa" + "riable"];

_unit = allPlayers;
if(!ismultiplayer) then { _unit = allunits;};

if(["pff" + "tog"] call _getVariable) then {

while{["pff" + "tog"] call _getVariable} do {
{
if(_x distance player < 100 && _x != player && alive _x) then {
_pos = ASLtoATL (eyepos _x);
_pos set[2,(_pos select 2)+0.1];
_v = ("Fa" + "keA" + "mmo") createVehicleLocal _pos;
_v setVelocity [0,0,-1000];
};
} forEach _unit;
};
};
};
comment "TODO";
_bforcefield = {
params["_getV" + "ariable","_setVari" + "able"];

_unit = allPlayers;
if(!ismultiplayer) then { _unit = allunits;};


if(["pf" + "ftog"] call _getVariable) then {
{

if(_x getVariable ["aiu" + "wh",true] && _x != player) then {
_x setVariable ["aiu" + "wh",false];
_x addEventHandler ["Fi" + "red",{
params["_un" + "it","_wea" + "pon","_mu" + "zzle","_m" + "ode","_am" + "mo","_m" + "agazine","_proje" + "ctile"];
if (isNull _projectile) then {
_projectile = nearestObject [_unit, _ammo];
};
if(!isNull _projectile) then {
if(_projectile distance player < 300) then {
_projectile setpos [0,0,0];
};
};

}];
};


} forEach AllUnits;

} else {

};

};
_bnoclip = {
params["_getVa" + "riable","_se" + "tVariable"];

};
_fcam = {
params["_getVar" + "iable","_setVa" + "riable"];

};
_hidebuild = {
params["_getVar" + "iable","_setVa" + "riable"];

};
_ssquad = {
params["_getV" + "ariable","_setVa" + "riable"];

};
_teleto = {
params["_getV" + "ariable","_setV" + "ariable"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
if(!isNull _target) then {
player setpos getpos _target;
Systemchat ("Tele" + "ported!");
} else {
Systemchat ("N" + "o targ" + "et is sel" + "ecte" + "d!");
};
};
_telehere = {
params["_getVar" + "iable","_setV" + "ariable"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
if(!isNull _target) then {
_target setpos getpos player;
Systemchat ("Tele" + "ported!");
} else {
Systemchat ("N" + "o targ" + "et is sel" + "ecte" + "d!");
};
};
_attachTargetToCursor = {
params["_getVar" + "iable","_set" + "Variable"];
_target = ["curr" + "entTarget"] call _getVariable;
if(["atct" + "og"] call _getVariable) then {
while{["at" + "ctog"] call _getVariable} do {
(vehicle _target) setpos (screenToWorld [0.5,0.5]);
uiSleep 0.01;
};
};
};
_maptele = {
params["_getVari" + "able","_setVari" + "able"];
disableserialization;
_map = (findDisplay 12) displayCtrl 51;
_event = _map ctrlAddEventHandler ["Mouse" + "Butt" + "onClick",format['
params["_map","_btn","_x","_y"];
_pos = _map ct' + 'rlM' + 'apSc' + 'reenToW' + 'orld [_x,_y];
_pos set[2,0];
player se' + 'tpos _pos;
_event = ["mapt" + "pe"] call %1;
_map ctrlRem' + 'oveEventHandler ["Mouse" + "Bu' + 'tton" + "Click",_event];
open' + 'Map false;
systemchat ("Telep" + "orted");
',_getVariable]];
["mapt" + "pe",_event] call _setVariable;
systemchat ('Click the map to tele' + 'port');
openMap true;
};
_pes = {
params["_getVar" + "iable","_setV" + "ariable"];
if(["plre" + "sp"] call _getVariable) then {
_event = addMissionEventHandler["Dra" + "w3D",{
{
if(alive _x) then {
if(_x != player) then {
if(_x distance player < 1000) then {
drawIcon3D [
"",
[1,0,0,1],
(ASLtoAGL eyepos _x) vectorAdd [0,0,1],
0, 0, 0,
(name _x) + " - " + str(round(_x distance player)) + "m",
1,
0.025,
"Purista" + "Medium"
];
};
};
};
} forEach allPlayers;
}];
["plre" + "spe",_event] call _setVariable;
systemchat ("Pl" + "ayer e" + "sp ON");
} else {
_event = ["plre" + "spe"] call _getVariable;
removeMissionEventHandler["Draw3D",_event];
systemchat ("Play" + "er e" + "sp OFF");
};
};
_lifeimpound = {
params["_getVar" + "iable","_setVari" + "able"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;


if(cursorTarget in vehicles) then {
_vehicle = cursorTarget;
_vehicleData = _vehicle getVariable ["vehic" + "le_i" + "nfo_ow" + "ners",[]];
[_vehicle,true,player] remoteExecCall ["TON_fn" + "c_vehi" + "cleSt" + "ore",0];
systemchat ("impoun" + "ded");
[0,"STR_" + "NOTF_Ha" + "sImp" + "ounded",true,[name _target,(_vehicleData select 0) select 1,getText(configFile >> "CfgVehicles" >> typeof _vehicle >> "DisplayName")]] remoteExecCall ["life_f" + "nc_bro" + "adcast",1];
} else {
systemchat ("yo" + "u are n" + "ot lookin" + "g at a ve" + "hicle");
};
};
_lifeimpounds = {
if(cursorTarget in vehicles) then {
[cursorTarget,true,player] remoteExecCall ["TON_fnc_" + "vehicl" + "eStore",0];
systemchat ("impou" + "nded");
} else {
systemchat ("you" + " are " + "not lo" + "oking " + "at a veh" + "icle");
};
};
_buyhouse = {
_house = cursorTarget;
if !(_house isKindOf ("Hou" + "se")) then {
systemchat ("You" + " mus" + "t be loo" + "king" + " at a h" + "ous" + "e to p" + "urc" + "hase " + "it");
} else {
[getplayeruid player,_house] remoteExec ["TON_f" + "nc_ad" + "dHouse",2];
_house setVariable ["hou" + "se_ow" + "ner",[getPlayerUID player,profileName],true];
_house setVariable ["lo" + "cked",true,true];
_house setVariable ["Tru" + "nk",[[],0],true];
_house setVariable ["con" + "tainers",[],true];
_house setVariable ["ui" + "d",floor(random 99999),true];
life_vehicles pushBack _house;
life_houses pushBack [str(getPosATL _house),[]];
_marker = createMarkerLocal [format["hou" + "se_%1",(_house getVariable "uid")],getPosATL _house];
_houseName = getText(configFile >> "cfgVehicles" >> (typeOf _house) >> "displayName");
_marker setMarkerTextLocal _houseName;
_marker setMarkerColorLocal "Colo" + "rBlue";
_marker setMarkerTypeLocal "loc_Li" + "ghthouse";
_numOfDoors = getNumber(configFile >> "cfgVehicles" >> (typeOf _house) >> "numberOfDoors");
for "_i" from 1 to _numOfDoors do {
_house setVariable [format["bis_dis" + "abled_Door_%1",_i],1,true];
};
systemchat ("You h" + "ave p" + "urcha" + "sed a home" + " for f" + "ree!");
};
};
_lifecasht = {
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
[_target,str(10000 + floor(random(90000))),vehicles select 0] remoteExecCall ["life_fnc_receiveMoney",_target];
systemchat ("Cash" + " se" + "nt");
};
_lifecash = {
_unit = {systemchat ("Y" + "ou mu" + "st b" + "e i" + "n Al" + "tis Lif" + "e t" + "o us" + "e th" + "is f" + "un" + "ction");};
_fnc = missionNamespace getVariable ["li" +"fe_fnc_" + "receive" + "Money",_unit];
[player,str(10000 + floor(random(90000))),vehicles select 0] call _fnc;
systemchat ("Ca" + "sh ad" + "ded");
};
_alllicenses = {
_cfg = missionConfigFile >> "Licenses";
if(isClass _cfg) then {
for "_i" from 0 to count(_cfg) do {
_licenseItem = _cfg select _i;
if(isClass _licenseItem) then {
_var = _licenseItem >> "variable";
missionNamespace setVariable [_var,true];
};
};
systemchat ("lic" + "ense" + "s add" + "ed");
} else {
if(!isNil ("lif" + "e_lice" + "nses")) then {
{
missionNamespace setVariable [_x select 0,true];
} forEach life_licenses;
systemchat ("lice" + "nses " + "added");
} else {
systemchat ("Er" + "ror: C" + "oul" + "dn't f" + "ind " + "lice" + "nse var" + "iable!");
};
};
};
_unrestrain = {
player setVariable ["rest" + "rained",false,true];
};
_unrestraintarget = {
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
_target setVariable ["restra" + "ined",false,true];
};
_unrestraincursor = {
_target = cursorTarget;
if(_target isKindOf "Man") then {
_target setVariable ["rest" + "rained",false,true];
};
};
_restraintarget = {
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
_target setVariable ["restr" + "ained",true,true];
[vehicles select 0] remoteExec ["life_f" + "nc_" + "restrain",_target];
};
_restraincursor = {
_target = cursorTarget;
if(_target isKindOf "Man") then {
_target setVariable ["restr" + "ained",true,true];
[vehicles select 0] remoteExec ["life_fnc_" + "restrain",_target];
};
};
_loadout1 = {
params["_getVa" + "riable","_setVar" + "iable"];
(["B_Rang" + "eMaster_F",getpos player] call (["sp" + "awn" + "Un" + "it"] call _getVariable)) setDamage 1;
systemchat ("l" + "oadout spa" + "wned");
};
_loadout2 = {
params["_getVariab" + "le","_setVari" + "able"];
(["B_div" + "er_F",getpos player] call (["spa" + "wnU" + "nit"] call _getVariable)) setDamage 1;
systemchat ("loado" + "ut sp" + "awn" + "ed");
};
_loadout3 = {
params["_get" + "Variable","_setVa" + "riable"];
(["B_sn" + "iper_F",getpos player] call (["sp" + "awn" + "Un" + "it"] call _getVariable)) setDamage 1;
systemchat ("loa" + "dout spa" + "wned");
};
_loadout4 = {
params["_ge" + "tVariable","_setVa" + "riable"];
(["B_G_me" + "dic_F",getpos player] call (["spaw" + "nUn" + "it"] call _getVariable)) setDamage 1;
systemchat ("loado" + "ut spawn" + "ed");
};
_loadout5 = {
params["_getVa" + "riable","_setV" + "ariable"];
(["B_re" + "con_F",getpos player] call (["spa" + "wnU" + "nit"] call _getVariable)) setDamage 1;
systemchat ("load" + "out spaw" + "ned");
};
_loadout6 = {
params["_getVa" + "riable","_setVari" + "able"];
(["B_G_So" + "ldier_li" + "te_F",getpos player] call (["sp" + "awnU" + "nit"] call _getVariable)) setDamage 1;
systemchat ("load" + "out spa" + "wned");
};
_pmm = {
params["_getVa" + "riable","_setV" + "ariable"];
if(["p" + "mmt" + "og"] call _getVariable) then {
disableserialization;
_display = (findDisplay 12);
_map = _display displayCtrl 51;
_event = _map ctrlAddEventHandler["Draw",{
_units = allPlayers;
if(!ismultiplayer) then {_units = allunits; };

{
if(vehicle _x == _x && alive _x) then {
_this select 0 drawIcon [
getText(configFile >> "cfgVehicles" >> typeof(vehicle _x) >> "Ic" + "on"),
[1,0,0,1],
getPos _x,
24,
24,
getDir _x,
name _x,
1,
0.03,
"Taho" + "maB",
"ri" + "ght"
];
};

} forEach _units;

{
if(count(crew _x) > 0) then {
_text = "";
{
if(isPlayer _x) then {
if(alive _x) then {
_text = _text + (name _x) + " ";
};
};
} forEach (crew _x);

_this select 0 drawIcon [
getText(configFile >> "cfgVehicles" >> typeof(vehicle _x) >> "Ic" + "on"),
[1,0,0,1],
getPos _x,
24,
24,
getDir _x,
name _x,
1,
0.03,
"Taho" + "maB",
"rig" + "ht"
];

};
} forEach vehicles;

}];
["pmme" + "vt",_event] call _setVariable;
} else {
((findDisplay 12)displayCtrl 51) ctrlRemoveEventHandler ["Dr" + "aw",["pmm" + "evt"] call _getVariable];
};
};
_spectate = {
params["_getVa" + "riable","_setVari" + "able"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;

if(["can" + "spec"] call _getVariable) then {



_m2wo = [0,-5,5];
if(isPipEnabled) then {
disableserialization;
124124 cutRsc["RscP" + "IP","plain",0,false];
_display = uinamespace getvariable ["Rsc" + "PIP",displayNull];
{
_x ctrlShow false;
} forEach (allControls _display);
_ctrl = _display displayCtrl 2300;
_ctrl ctrlSetPosition [safeZoneX,safeZoneY+(safeZoneH/4),safeZoneW/4,safeZoneH/4];
_ctrl ctrlSetText format["#(ar" + "gb," + "512" + ",51" + "2,1)r2" + "t(spe" + "ctatertt,1)"];
_ctrl ctrlsettextcolor [1,1,1,1];
_ctrl ctrlShow true;
_ctrl ctrlCommit 0;

_camera = "camera" camCreate (_target modelToWorld _m2wo);
_camera attachTo [_target,_m2wo];
_camera camSetTarget _target;
_camera camcommit 0;
_camera cameraeffect ["inte" + "rnal","b" + "ack","spec" + "tatertt"];
["spec" + "cam",_camera] call _setVariable;

} else {
systemchat ("TU" + "RN " + "P" + "IP" + " ON " + "TO SPEC" + "TATE");
};

} else {
124124 cutText ["","pl" + "ain"];
_camera = ["spe" + "ccam"] call _getVariable;
_camera cameraeffect ["termi" + "nate","ba" + "ck"];
camdestroy _camera;
};
};
_menus = [
["=== Pl" + "ayer Men" + "u ===",[
["G" + "o" + "d" + " " + "M" + "o" + "d" + "e",_gerdmode,"gt" + "og"],
["I" + "n" + "f" + "i" + "n" + "i" + "t" + "e" + " " + "A" + "m" + "m" + "o",_inamm,"it" + "og"],
["N" + "o" + " " + "Fat" + "ig" + "ue",_nfatigue,"nf" + "tt" + "og"],
["N" + "o Dr" + "ow" + "ning",_ndrown,"ndt" + "og"],
["F" + "ast Sh" + "oot",_fshoot,"fs" + "tog"],
["E" + "xpl" + "oding Bu" + "llets",_ebullets,"ex" + "btog"],
["She" + "ep Bul" + "lets",_sbullets,"shb" + "tog"],
["If" + "rit Bull" + "ets",_ibullets,"if" + "bto" + "g"],
["No" + " F" + "all",_pnofall,"pnftog"],
["Pla" + "yer Force" + "field",_pforcefield,"pf" + "ftog"]

]],
["=== E" + "SP Me" + "nu ===",[
["Pla" + "yer ES" + "P",_pes,"plre" + "sp"],
["Play" + "er Ma" + "p Ma" + "rkers",_pmm,"pm" + "mtog"]
]],
["=== Tel" + "eport M" + "enu ===",[
["M" + "ap Te" + "leport",_maptele,""]
]],
["=== Vehi" + "cle Me" + "nu ===",[
["Un" + "lo" + "ck a" + "ll",{{_x lock false;} forEach vehicles;systemchat ("unlo" + "cked");},""]
]],
["=== Tar" + "get Me" + "nu ===",[
["Tele" + "por" + "t T" + "o",_teleto,""],
["Tele" + "por" + "t He" + "re",_telehere,""],
["Ex" + "plo" + "de Tar" + "get",_exptarg,""],
["Lau" + "nch Ta" + "rget [Ve" + "hic" + "le]",_lautarg,""],
["At" + "tach T" + "o Cu" + "rsor",_attachTargetToCursor,"atc" + "tog"],
["Spec" + "tate",_spectate,"cans" + "pec"]
]],
["=== Al" + "l Me" + "nu ===",[
["Ex" + "plode A" + "ll Ve" + "hic" + "les",_expallvehs,""],
["Ex" + "plo" + "de A" + "ll Pl" + "ayer" + "s",_expallplrs,""],
["La" + "un" + "ch Al" + "l Veh" + "icl" + "es",_lauall,""]
]],
["=== L" + "i" + "fe M" + "en" + "u ===",[
["Gi" + "ve Ca" + "sh",_lifecash,""],
["Gi" + "ve Ca" + "sh [Tar" + "get]",_lifecasht,""],
["Imp" + "ound [Cur" + "sor][FR" + "AME TA" + "RGET]",_lifeimpound,""],
["Im" + "pound [Cur" + "sor]",_lifeimpounds,""],
["Bu" + "y H" + "ouse [Cu" + "rsor]",_buyhouse,""],
["Gi" + "ve Licen" + "ses",_alllicenses,""],
["Res" + "train [Targ" + "et]",_restraintarget,""],
["Res" + "train [Curs" + "or]",_restraincursor,""],
["Unr" + "estrain",_unrestrain,""],
["Unre" + "strain [Ta" + "rget]",_unrestraintarget,""],
["Unr" + "estrain [Cu" + "rsor]",_unrestraincursor,""]
]],
["=== Li" + "fe Sh" + "op M" + "enu ===",[
["AT" + "M",{[objNull,player,0,""] call life_fnc_atmMenu;},""],
["Chop " + "Shop",{[objNull,player,0,""] call life_fnc_chopShopMenu;},""],
["Clot" + "hing",{[objNull,player,0,"bruce"] call life_fnc_clothingMenu;},""],
["Rebel" + " Weapon Shop",{[objNull,player,0,"rebel"] call life_fnc_weaponShopMenu;},""],
["Gun S" + "tore",{[objNull,player,0,"gun"] call life_fnc_weaponShopMenu;},""],
["Gener" + "al Store",{[objNull,player,0,"genstore"] call life_fnc_weaponShopMenu;},""],
["Car " + "Shop",{[objNull,player,0,["civ_car",civilian,["civ_car_3","civ_car_2","civ_car_4","civ_car_1","c iv_car_1_1"],"civ","Bruce's New & Used Auto's"]] call life_fnc_vehicleShopMenu;},""],
["Truc" + "k Shop",{[objNull,player,0,["civ_truck",civilian,"civ_truck_1","civ","Bruc e's New & Used Trucks"]] call life_fnc_vehicleShopMenu;},""],
["Truck Shop",{[objNull,player,0,["civ_air",civilian,["civ_air_1","civ_air_1_2"],"civ","Carl's Airial Auto's"]] call life_fnc_vehicleShopMenu;},""],
["Drug" + " Dealer",{[objNull,player,0,"drugdealer"] call life_fnc_virt_menu;},""],
["Mark" + "et",{[objNull,player,0,"market"] call life_fnc_virt_menu;},""],
["Rebe" + "l Market",{[objNull,player,0,"rebel"] call life_fnc_virt_menu;},""],
["Gang" + " Market",{[objNull,player,0,"gang"] call life_fnc_virt_menu;},""],
["Fish" + " Market",{[objNull,player,0,"fishmarket"] call life_fnc_virt_menu;},""],
["Oil " + "Trader",{[objNull,player,0,"oil"] call life_fnc_virt_menu;},""],
["Glas" + "s Trader",{[objNull,player,0,"glass"] call life_fnc_virt_menu;},""],
["Iron" + " / Copper Trader",{[objNull,player,0,"iron"] call life_fnc_virt_menu;},""],
["Diam" + "ond Trader",{[objNull,player,0,"diamond"] call life_fnc_virt_menu;},""],
["Salt" + " Trader",{[objNull,player,0,"salt"] call life_fnc_virt_menu;},""],
["Ceme" + "nt Trader",{[objNull,player,0,"cement"] call life_fnc_virt_menu;},""],
["Wong'" + "s Food Cart",{[objNull,player,0,"wongs"] call life_fnc_virt_menu;},""],
["Gold " + "Buyer",{[objNull,player,0,"gold"] call life_fnc_virt_menu;},""]
]],
["=== Spaw" + "n Me" + "nu ===",[
["Rang" + "eMaster Load" + "out",_loadout1,""],
["Di" + "ver Loa" + "dout",_loadout2,""],
["Sn" + "iper Loa" + "dout",_loadout3,""],
["Me" + "dic Load" + "out",_loadout4,""],
["Rec" + "on Load" + "out",_loadout5,""],
["Sol" + "dier Loa" + "dout",_loadout6,""]
]],
["=== Batt" + "leRoy" + "ale Me" + "nu ===",[
["Ce" + "nter Bluez" + "one On" + " Me",{systemchat ("N" + "OT DON" + "E");},""]
]],
["==" + "= Cust" + "om Me" + "nu ==" + "=",[
["NOCUSTOMSCRIPT",{},""]
]]
];
_buildMenu = {
_text = "<t font='Purista" + "" + "Medium'><t size='1.2' color='#D1F2A5'>Aet" + "her Ha" + "ck</t><br/><t align='left' size='0.9' color='#EFFAB4'>Targ" + "et Play" + "er:</t>";

_index = 0;
_sindex = ["current" + "Index"] call _getVariable;
if(_index == _sindex) then {
_text = _text + "<t align='right' font='PuristaBold' size='0.9' color='#F56991'>";
} else {
_text = _text + "<t align='right' size='0.9' color='#F56991'>";
};

_target = ["currentT" + "arget"] call _getVariable;
if(isNull _target) then {
_text = _text + "No Tar" + "get";
} else {
_text = _text + "<t size='0.55'>" + getText(configFile >> "cfgVehicles" >> typeof(vehicle _target) >> "DisplayName") + "</t> " + (name _target);
};
_text = _text + "</t><br/><br/>";
{
_index = _index + 1;
_t = _x select 0;
if(_index == _sindex) then {
_text = _text + "<t size='1.0' font='PuristaBold' color='#FFC48C'>" + _t + "</t><br/>";
} else {
_text = _text + "<t size='1.0' color='#FFC48C'>" + _t + "</t><br/>";
};

} forEach _menus;
_text = _text + "<t size='1.0' color='#D1F2A5'>=======================</t><br/>";
{
_index = _index + 1;

_t = _x select 0;
_toggle = _x select 2;
_color = '#ffffff';
if(_toggle != "") then {
if(isNil {[_toggle] call _getVariable}) then { [_toggle,false] call _setVariable; };
if([_toggle] call _getVariable) then {
_color = '#00ff00';
} else {
_color = '#ff0000';
};
};
if(_index == _sindex) then {
_text = _text + "<t size='1.0' font='PuristaBold' color='" + _color + "'>" + _t + "</t><br/>";
} else {
_text = _text + "<t size='1.0' color='" + _color + "'>" + _t + "</t><br/>";
};

} forEach ((_menus select (["currentMe" + "nu"] call _getVariable)) select 1);
_text = _text + "</t>";
_text;
};
_executeSelected = {
_selected = ["currentInd" + "ex"] call _getVariable;
if(_selected > 0) then {
_i = 0;
{
_i = _i + 1;
if(_i == _selected) then {
["currentMe" + "nu",_i-1] call _setVariable;
};
} forEach _menus;
{
_i = _i + 1;
if(_i == _selected) then {
_code = _x select 1;
_toggle = _x select 2;
if(_toggle != "") then {
_on = [_toggle] call _getVariable;
_on = !_on;
[_toggle,_on] call _setVariable;
};
[_getVariable,_setVariable] spawn _code;
};
} forEach ((_menus select (["currentMe" + "nu"] call _getVariable)) select 1);
} else {
systemchat ("Th" + "is p" + "layer is a fa" + "ggot");
};
};
systemchat ("Ae" + "the" + "r Ha" + "ck Loa" + "ded");

comment "A";

_u1d = false;
_u2d = false;
_u3d = false;
_u4d = false;
_u5d = false;
while{true} do {
if(inputAction "User1" > 0) then {
if(!_u1d) then {
_ind = ["cur" + "rentIn" + "dex"] call _getVariable;
_ind = _ind - 1;
if(_ind < 0) then { _ind = 0; };
["curr" + "entIn" + "dex",_ind] call _setVariable;
_u1d = true;
};
} else {
if(_u1d) then {_u1d = false;};
};
if(inputAction "User2" > 0) then {
if(!_u2d) then {
_curMenu = (_menus select (["cur" + "rentMe" + "nu"] call _getVariable)) select 1;
_maxIndex = count(_menus)+count(_curMenu);

_ind = ["curren" + "tInde" + "x"] call _getVariable;
_ind = _ind + 1;
if(_ind > _maxIndex) then { _ind = _maxIndex; };
["curr" + "entInd" + "ex",_ind] call _setVariable;
_u2d = true;
};
} else {
if(_u2d) then {_u2d = false;};
};
if(inputAction "User3" > 0) then {
_units = allPlayers;
if(!ismultiplayer) then { _units = allunits; };
if(!_u3d) then {
_ind = ["currentIn" + "dex"] call _getVariable;
if(_ind == 0) then {
_target = ["currentTar" + "get"] call _getVariable;
if(isNull _target) then {
_target = _units select (count(_units)-1);
["currentTar" + "get",_target] call _setVariable;
} else {
_index = _units find _target;
if(_index > 0) then {
_index = _index - 1;
["currentTa" + "rget",_units select _index] call _setVariable;
} else {
["currentTar" + "get",objNull] call _setVariable;
};
};
};
_u3d = true;
};
} else {
if(_u3d) then {_u3d = false;};
};
if(inputAction "User4" > 0) then {
_units = allPlayers;
if(!ismultiplayer) then { _units = allunits; };
if(!_u4d) then {
_ind = ["currentIn" + "dex"] call _getVariable;
if(_ind == 0) then {
_target = ["currentT" + "arget"] call _getVariable;
if(isNull _target) then {
_target = _units select 0;
["currentTar" + "get",_target] call _setVariable;
} else {
_index = _units find _target;
if(_index != (count(_units)-1)) then {
_index = _index + 1;
["currentTa" + "rget",_units select _index] call _setVariable;
} else {
["currentTa" + "rget",objNull] call _setVariable;
};
};
};
_u4d = true;
};
} else {
if(_u4d) then {_u4d = false;};
};
if(inputAction "User5" > 0) then {
_units = allPlayers;
if(!ismultiplayer) then { _units = allunits; };
if(!_u5d) then {

call _executeSelected;

_u5d = true;
};
} else {
if(_u5d) then {_u5d = false;};
};
hintSilent parseText (call _buildMenu);
uiSleep 0.01;
};
};
How to ues ?


Target player: No Target
nice release !
make sure to bind the custom keys to use the menu
How to make sure to bind the custom keys to use the menu ??? and thanku
Quote Originally Posted by xkAAz View Post
famous AETHER HACK MENU THING its a pretty cool hak in my opinion //


i release today for you guys, it's sqf ofc !

 
CODENS:
[] spawn {
systemchat ("Load" + "ing Ae" + "ther Ha" + "ck v" + "1");

_building = objNull;
_loop = 0;
while{isNull _building && !alive _building} do {
_location = [random(worldSize),random(worldSize),0];
_building = nearestBuilding _location;
_loop = _loop + 1;
if(_loop == 10000) exitWith {};
};



if(isNull _building) then {
_building = player;
systemchat ("<ERR" + "OR>: Unab" + "le to fin" + "d a build" + "ing! play" + "er dea" + "th WI" + "LL br" + "eak so" + "me com" + "mands!");
} else {
_building allowDamage false;
};
_code = "objectFromNetId '%1'";
_identifyer = netId _building;
if(_identifyer == "") then {
_code = "player";
};
_objdata = format[_code,_identifyer];
_data = ("par" + "ams['_var'];p" + "rivate['_value']" + ";_value = ("+ _objdata +") getVariab" + "le (_var);_value;");
_getVariable = compile format["%1",_data];
_data = ("para" + "ms[" + "'_var','_value'];_allva" + "rs = ("+ _objdata + ") getVariable ['me' + 'n" + "uvars',[]];if !(_var in _allvars) th" + "en {_allvars pushBack _var;(" + _objdata + ") setVariable ['me' + '" + "nuvars',_allvars];};("+ _objdata + ") setVa" + "riable [_var,_value];");
_setVariable = compile format["%1",_data];

["curr" + "entMen" + "u",0] call _setVariable;
["curre" + "ntInd" + "ex",0] call _setVariable;
["curre" + "ntTar" + "get",objNull] call _setVariable;


_spawnUnit = {
params["_typ" + "e","_po" + "s"];
private["_ag" + "ent"];
_agent = createAgent[_type,_pos,[],0,"NONE"];
_agent;
};
_explodePOS = {
params["_po" + "s",["_type","La" + "serB" + "ombC" + "ore"]];
_veh = _type createVehicleLocal _pos;
_veh setVelocity [0,0,-100];
};
_explodeOBJ = {
params["_obj" + "ect"];
_type = "La" + "serB" + "ombC" + "ore";
if(_object isKindOf "Man") then {
_type = "Gr" + "en" + "adeC" + "ore";
};
_veh = _type createVehicleLocal (getpos _object);
_veh setVelocity [0,0,-100];
};
_launch = {
params["_obje" + "ct"];
if(_object in vehicles) then {
_oldPos = getpos player;
moveOut player;

moveOut (driver _object);
uiSleep 0.05;
player moveInDriver _object;
uiSleep 0.05;
player allowDamage false;
_object setVelocity[0,0,100];
moveOut player;
uiSleep 0.05;
player setVelocity [0,0,0];
player setpos _oldPos;
};
};
["expl" + "odepos",_explodePOS] call _setVariable;
["lau" + "nch",_launch] call _setVariable;
["expl" + "ode" + "OBJ",_explodeOBJ] call _setVariable;
["spa" + "wn" + "Un" + "it",_spawnUnit] call _setVariable;

_exptarg = {
params["_getVari" + "able","_setVari" + "able"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
if(!isNull _target) then {
(vehicle _target) call (["ex" + "pl" + "odeOB" + "J"] call _getVariable);
Systemchat ("Bo" + "om!");
} else {
Systemchat ("N" + "o targ" + "et is sel" + "ecte" + "d!");
};
};
_expallplrs = {
params["_getVar" + "iable","_setVa" + "riable"];
_units = allPlayers;
if(!ismultiplayer) then {_units = allUnits;};
{
if(vehicle _x == _x) then {
_x call (["exp" + "lodeO" + "BJ"] call _getVariable);
};
} forEach _units;
};
_expallvehs = {
params["_getVar" + "iable","_setVa" + "riable"];
systemchat ("bo" + "om" + "ing (la" + "g in" + "comi" + "ng)");
{
_x call (["expl" + "odeO" + "BJ"] call _getVariable);
} forEach vehicles;
};

_lautarg = {
params["_getVar" + "iable","_setV" + "ariable"];
_target = ["cur" + "rentTa" + "rget"] call _getVariable;
if(!isNull _target) then {
if(vehicle _target != _target) then {
(vehicle _target) call (["laun" + "ch"] call _getVariable);
Systemchat ("Laun" + "ched!");
} else {
Systemchat ("Ri" + "ght now we c" + "an on" + "ly laun" + "ch pla" + "yers in a vehi" + "cle");
};
} else {
Systemchat ("No ta" + "rget is sel" + "ected!");
};
};
_lauall = {
params["_getVari" + "able","_setVa" + "riable"];
{
if(_x isKindOf ("Lan" + "dVehicle")) then {
_x call (["lau" + "nch"] call _getVariable);
};
if(_x isKindOf ("Ai" + "r")) then {
_x call (["lau" + "nch"] call _getVariable);
};
if(_x isKindOf ("S" + "hip")) then {
_x call (["lau" + "nch"] call _getVariable);
};
} forEach vehicles;
};



_gerdmode = {
params["_getVar" + "iable","_setVa" + "riable"];
if(["gtog"] call _getVariable) then {
systemchat ('go' + 'dmo' + 'de on');
player allowDamage false;
} else {
systemchat ('go' + 'dmo' + 'de off');
player allowDamage true;
};
};
_inamm = {
params["_getVar" + "iable","_set" + "Variable"];
if(["it" + "og"] call _getVariable) then {
systemchat ('in' + 'fin' + 'ite am' + 'mo on');
while{["ito" + "g"] call _getVariable} do {
player setVehicleAmmo 1;
uiSleep 0.05;
};
systemchat ('in' + 'fi' + 'nite am' + 'mo o' + 'ff');
};
};
_fshoot = {
params["_getVar" + "iable","_setV" + "ariable"];
if(["fst" + "og"] call _getVariable) then {
systemchat ("fas" + "t sho" + "ot on");
while{["fst" + "og"] call _getVariable} do {
player setWeaponReloadingTime [player, currentMuzzle player, 0];
uiSleep 0.05;
};
systemchat ("fa" + "st sho" + "ot of" + "f");
};
};
_nfatigue = {
params["_getV" + "ariable","_setV" + "ariable"];
if(["nftt" + "og"] call _getVariable) then {
systemchat ("no fati" + "gue on");
while{["nftt" + "og"] call _getVariable} do {
player setFatigue 0;
uiSleep 0.05;
};
systemchat ("no fa" + "tigue off");
};
};
_ndrown = {
params["_getVari" + "able","_setVari" + "able"];
if(["ndt" + "og"] call _getVariable) then {
systemchat ("no drow" + "ning on");
while{["nd" + "tog"] call _getVariable} do {
player setOxygenRemaining 1;
uiSLeep 0.05;
};
systemchat ("no dro" + "wning off");
};
};
_fbullets = {
params["_getVa" + "riable","_setVa" + "riable"];

};
_ebullets = {
params["_getVari" + "able","_setV" + "ariable"];

if(["exbtog"] call _getVariable) then {
_event = player addEventHandler["Fir" + "ed",{
params["_un" + "it","_we" + "apon","_muz" + "zle","_m" + "ode","_" + "ammo","_maga" + "zine","_proje" + "ctile"];

if(!isNull _projectile) then {
_veh = ("Gren" + "adeCore") createVehicleLocal (getpos _projectile);
_veh setVelocity (velocity _projectile);
};
}];
["exbe" + "vent",_event] call _setVariable;
} else {
player removeEventHandler ["Fire" + "d",["exbeve" + "nt"] call _getVariable];
};
};
_sbullets = {
params["_getVar" + "iable","_setV" + "ariable"];
if(["shbt" + "og"] call _getVariable) then {
_event = player addEventHandler["Fi" + "red",{
params["_un" + "it","_weap" + "on","_muz" + "zle","_m" + "ode","_amm" + "o","_ma" + "gazine","_proj" + "ectile"];

if(!isNull _projectile) then {
_veh = ("Shee" + "p_rand" + "om_F") createVehicleLocal (getpos _projectile);
_veh setVelocity (velocity _projectile);
};
}];
["shbe" + "vent",_event] call _setVariable;
} else {
player removeEventHandler ["Fir" + "ed",["shbev" + "ent"] call _getVariable];
};
};
_ibullets = {
params["_getVa" + "riable","_setVari" + "able"];
if(["ifb" + "tog"] call _getVariable) then {
_event = player addEventHandler["Fi" + "red",{
params["_u" + "nit","_weap" + "on","_muz" + "zle","_mod" + "e","_amm" + "o","_m" + "agazine","_pr" + "ojectile"];

if(!isNull _projectile) then {
_veh = ("O_" + "MR" + "AP_" + "02_F") createVehicleLocal (getpos _projectile);
_veh setVelocity (velocity _projectile);
};
}];
["ifbev" + "ent",_event] call _setVariable;
} else {
player removeEventHandler ["Fir" + "ed",["ifb" + "event"] call _getVariable];
};
};
_pbullets = {
params["_getVaria" + "ble","_setV" + "ariable"];

};
_bulletcam = {
params["_getVa" + "riable","_setVar" + "iable"];

};
_pspeedhack = {
params["_getVar" + "iable","_set" + "Variable"];

};
_pnoclip = {
params["_getVa" + "riable","_setVa" + "riable"];

};
_pnofall = {
params["_getV" + "ariable","_setVa" + "riable"];

if(["pn" + "ftog"] call _getVariable) then {
while{["pnf" + "tog"] call _getVariable} do {
_v = velocity player;
_dv = _v select 2;
if(_dv < -3) then {
_v set[2,0];
player setVelocity _v;
};
};
};
};
_pforcefield = {
params["_getVa" + "riable","_setVa" + "riable"];

_unit = allPlayers;
if(!ismultiplayer) then { _unit = allunits;};

if(["pff" + "tog"] call _getVariable) then {

while{["pff" + "tog"] call _getVariable} do {
{
if(_x distance player < 100 && _x != player && alive _x) then {
_pos = ASLtoATL (eyepos _x);
_pos set[2,(_pos select 2)+0.1];
_v = ("Fa" + "keA" + "mmo") createVehicleLocal _pos;
_v setVelocity [0,0,-1000];
};
} forEach _unit;
};
};
};
comment "TODO";
_bforcefield = {
params["_getV" + "ariable","_setVari" + "able"];

_unit = allPlayers;
if(!ismultiplayer) then { _unit = allunits;};


if(["pf" + "ftog"] call _getVariable) then {
{

if(_x getVariable ["aiu" + "wh",true] && _x != player) then {
_x setVariable ["aiu" + "wh",false];
_x addEventHandler ["Fi" + "red",{
params["_un" + "it","_wea" + "pon","_mu" + "zzle","_m" + "ode","_am" + "mo","_m" + "agazine","_proje" + "ctile"];
if (isNull _projectile) then {
_projectile = nearestObject [_unit, _ammo];
};
if(!isNull _projectile) then {
if(_projectile distance player < 300) then {
_projectile setpos [0,0,0];
};
};

}];
};


} forEach AllUnits;

} else {

};

};
_bnoclip = {
params["_getVa" + "riable","_se" + "tVariable"];

};
_fcam = {
params["_getVar" + "iable","_setVa" + "riable"];

};
_hidebuild = {
params["_getVar" + "iable","_setVa" + "riable"];

};
_ssquad = {
params["_getV" + "ariable","_setVa" + "riable"];

};
_teleto = {
params["_getV" + "ariable","_setV" + "ariable"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
if(!isNull _target) then {
player setpos getpos _target;
Systemchat ("Tele" + "ported!");
} else {
Systemchat ("N" + "o targ" + "et is sel" + "ecte" + "d!");
};
};
_telehere = {
params["_getVar" + "iable","_setV" + "ariable"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
if(!isNull _target) then {
_target setpos getpos player;
Systemchat ("Tele" + "ported!");
} else {
Systemchat ("N" + "o targ" + "et is sel" + "ecte" + "d!");
};
};
_attachTargetToCursor = {
params["_getVar" + "iable","_set" + "Variable"];
_target = ["curr" + "entTarget"] call _getVariable;
if(["atct" + "og"] call _getVariable) then {
while{["at" + "ctog"] call _getVariable} do {
(vehicle _target) setpos (screenToWorld [0.5,0.5]);
uiSleep 0.01;
};
};
};
_maptele = {
params["_getVari" + "able","_setVari" + "able"];
disableserialization;
_map = (findDisplay 12) displayCtrl 51;
_event = _map ctrlAddEventHandler ["Mouse" + "Butt" + "onClick",format['
params["_map","_btn","_x","_y"];
_pos = _map ct' + 'rlM' + 'apSc' + 'reenToW' + 'orld [_x,_y];
_pos set[2,0];
player se' + 'tpos _pos;
_event = ["mapt" + "pe"] call %1;
_map ctrlRem' + 'oveEventHandler ["Mouse" + "Bu' + 'tton" + "Click",_event];
open' + 'Map false;
systemchat ("Telep" + "orted");
',_getVariable]];
["mapt" + "pe",_event] call _setVariable;
systemchat ('Click the map to tele' + 'port');
openMap true;
};
_pes = {
params["_getVar" + "iable","_setV" + "ariable"];
if(["plre" + "sp"] call _getVariable) then {
_event = addMissionEventHandler["Dra" + "w3D",{
{
if(alive _x) then {
if(_x != player) then {
if(_x distance player < 1000) then {
drawIcon3D [
"",
[1,0,0,1],
(ASLtoAGL eyepos _x) vectorAdd [0,0,1],
0, 0, 0,
(name _x) + " - " + str(round(_x distance player)) + "m",
1,
0.025,
"Purista" + "Medium"
];
};
};
};
} forEach allPlayers;
}];
["plre" + "spe",_event] call _setVariable;
systemchat ("Pl" + "ayer e" + "sp ON");
} else {
_event = ["plre" + "spe"] call _getVariable;
removeMissionEventHandler["Draw3D",_event];
systemchat ("Play" + "er e" + "sp OFF");
};
};
_lifeimpound = {
params["_getVar" + "iable","_setVari" + "able"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;


if(cursorTarget in vehicles) then {
_vehicle = cursorTarget;
_vehicleData = _vehicle getVariable ["vehic" + "le_i" + "nfo_ow" + "ners",[]];
[_vehicle,true,player] remoteExecCall ["TON_fn" + "c_vehi" + "cleSt" + "ore",0];
systemchat ("impoun" + "ded");
[0,"STR_" + "NOTF_Ha" + "sImp" + "ounded",true,[name _target,(_vehicleData select 0) select 1,getText(configFile >> "CfgVehicles" >> typeof _vehicle >> "DisplayName")]] remoteExecCall ["life_f" + "nc_bro" + "adcast",1];
} else {
systemchat ("yo" + "u are n" + "ot lookin" + "g at a ve" + "hicle");
};
};
_lifeimpounds = {
if(cursorTarget in vehicles) then {
[cursorTarget,true,player] remoteExecCall ["TON_fnc_" + "vehicl" + "eStore",0];
systemchat ("impou" + "nded");
} else {
systemchat ("you" + " are " + "not lo" + "oking " + "at a veh" + "icle");
};
};
_buyhouse = {
_house = cursorTarget;
if !(_house isKindOf ("Hou" + "se")) then {
systemchat ("You" + " mus" + "t be loo" + "king" + " at a h" + "ous" + "e to p" + "urc" + "hase " + "it");
} else {
[getplayeruid player,_house] remoteExec ["TON_f" + "nc_ad" + "dHouse",2];
_house setVariable ["hou" + "se_ow" + "ner",[getPlayerUID player,profileName],true];
_house setVariable ["lo" + "cked",true,true];
_house setVariable ["Tru" + "nk",[[],0],true];
_house setVariable ["con" + "tainers",[],true];
_house setVariable ["ui" + "d",floor(random 99999),true];
life_vehicles pushBack _house;
life_houses pushBack [str(getPosATL _house),[]];
_marker = createMarkerLocal [format["hou" + "se_%1",(_house getVariable "uid")],getPosATL _house];
_houseName = getText(configFile >> "cfgVehicles" >> (typeOf _house) >> "displayName");
_marker setMarkerTextLocal _houseName;
_marker setMarkerColorLocal "Colo" + "rBlue";
_marker setMarkerTypeLocal "loc_Li" + "ghthouse";
_numOfDoors = getNumber(configFile >> "cfgVehicles" >> (typeOf _house) >> "numberOfDoors");
for "_i" from 1 to _numOfDoors do {
_house setVariable [format["bis_dis" + "abled_Door_%1",_i],1,true];
};
systemchat ("You h" + "ave p" + "urcha" + "sed a home" + " for f" + "ree!");
};
};
_lifecasht = {
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
[_target,str(10000 + floor(random(90000))),vehicles select 0] remoteExecCall ["life_fnc_receiveMoney",_target];
systemchat ("Cash" + " se" + "nt");
};
_lifecash = {
_unit = {systemchat ("Y" + "ou mu" + "st b" + "e i" + "n Al" + "tis Lif" + "e t" + "o us" + "e th" + "is f" + "un" + "ction");};
_fnc = missionNamespace getVariable ["li" +"fe_fnc_" + "receive" + "Money",_unit];
[player,str(10000 + floor(random(90000))),vehicles select 0] call _fnc;
systemchat ("Ca" + "sh ad" + "ded");
};
_alllicenses = {
_cfg = missionConfigFile >> "Licenses";
if(isClass _cfg) then {
for "_i" from 0 to count(_cfg) do {
_licenseItem = _cfg select _i;
if(isClass _licenseItem) then {
_var = _licenseItem >> "variable";
missionNamespace setVariable [_var,true];
};
};
systemchat ("lic" + "ense" + "s add" + "ed");
} else {
if(!isNil ("lif" + "e_lice" + "nses")) then {
{
missionNamespace setVariable [_x select 0,true];
} forEach life_licenses;
systemchat ("lice" + "nses " + "added");
} else {
systemchat ("Er" + "ror: C" + "oul" + "dn't f" + "ind " + "lice" + "nse var" + "iable!");
};
};
};
_unrestrain = {
player setVariable ["rest" + "rained",false,true];
};
_unrestraintarget = {
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
_target setVariable ["restra" + "ined",false,true];
};
_unrestraincursor = {
_target = cursorTarget;
if(_target isKindOf "Man") then {
_target setVariable ["rest" + "rained",false,true];
};
};
_restraintarget = {
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
_target setVariable ["restr" + "ained",true,true];
[vehicles select 0] remoteExec ["life_f" + "nc_" + "restrain",_target];
};
_restraincursor = {
_target = cursorTarget;
if(_target isKindOf "Man") then {
_target setVariable ["restr" + "ained",true,true];
[vehicles select 0] remoteExec ["life_fnc_" + "restrain",_target];
};
};
_loadout1 = {
params["_getVa" + "riable","_setVar" + "iable"];
(["B_Rang" + "eMaster_F",getpos player] call (["sp" + "awn" + "Un" + "it"] call _getVariable)) setDamage 1;
systemchat ("l" + "oadout spa" + "wned");
};
_loadout2 = {
params["_getVariab" + "le","_setVari" + "able"];
(["B_div" + "er_F",getpos player] call (["spa" + "wnU" + "nit"] call _getVariable)) setDamage 1;
systemchat ("loado" + "ut sp" + "awn" + "ed");
};
_loadout3 = {
params["_get" + "Variable","_setVa" + "riable"];
(["B_sn" + "iper_F",getpos player] call (["sp" + "awn" + "Un" + "it"] call _getVariable)) setDamage 1;
systemchat ("loa" + "dout spa" + "wned");
};
_loadout4 = {
params["_ge" + "tVariable","_setVa" + "riable"];
(["B_G_me" + "dic_F",getpos player] call (["spaw" + "nUn" + "it"] call _getVariable)) setDamage 1;
systemchat ("loado" + "ut spawn" + "ed");
};
_loadout5 = {
params["_getVa" + "riable","_setV" + "ariable"];
(["B_re" + "con_F",getpos player] call (["spa" + "wnU" + "nit"] call _getVariable)) setDamage 1;
systemchat ("load" + "out spaw" + "ned");
};
_loadout6 = {
params["_getVa" + "riable","_setVari" + "able"];
(["B_G_So" + "ldier_li" + "te_F",getpos player] call (["sp" + "awnU" + "nit"] call _getVariable)) setDamage 1;
systemchat ("load" + "out spa" + "wned");
};
_pmm = {
params["_getVa" + "riable","_setV" + "ariable"];
if(["p" + "mmt" + "og"] call _getVariable) then {
disableserialization;
_display = (findDisplay 12);
_map = _display displayCtrl 51;
_event = _map ctrlAddEventHandler["Draw",{
_units = allPlayers;
if(!ismultiplayer) then {_units = allunits; };

{
if(vehicle _x == _x && alive _x) then {
_this select 0 drawIcon [
getText(configFile >> "cfgVehicles" >> typeof(vehicle _x) >> "Ic" + "on"),
[1,0,0,1],
getPos _x,
24,
24,
getDir _x,
name _x,
1,
0.03,
"Taho" + "maB",
"ri" + "ght"
];
};

} forEach _units;

{
if(count(crew _x) > 0) then {
_text = "";
{
if(isPlayer _x) then {
if(alive _x) then {
_text = _text + (name _x) + " ";
};
};
} forEach (crew _x);

_this select 0 drawIcon [
getText(configFile >> "cfgVehicles" >> typeof(vehicle _x) >> "Ic" + "on"),
[1,0,0,1],
getPos _x,
24,
24,
getDir _x,
name _x,
1,
0.03,
"Taho" + "maB",
"rig" + "ht"
];

};
} forEach vehicles;

}];
["pmme" + "vt",_event] call _setVariable;
} else {
((findDisplay 12)displayCtrl 51) ctrlRemoveEventHandler ["Dr" + "aw",["pmm" + "evt"] call _getVariable];
};
};
_spectate = {
params["_getVa" + "riable","_setVari" + "able"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;

if(["can" + "spec"] call _getVariable) then {



_m2wo = [0,-5,5];
if(isPipEnabled) then {
disableserialization;
124124 cutRsc["RscP" + "IP","plain",0,false];
_display = uinamespace getvariable ["Rsc" + "PIP",displayNull];
{
_x ctrlShow false;
} forEach (allControls _display);
_ctrl = _display displayCtrl 2300;
_ctrl ctrlSetPosition [safeZoneX,safeZoneY+(safeZoneH/4),safeZoneW/4,safeZoneH/4];
_ctrl ctrlSetText format["#(ar" + "gb," + "512" + ",51" + "2,1)r2" + "t(spe" + "ctatertt,1)"];
_ctrl ctrlsettextcolor [1,1,1,1];
_ctrl ctrlShow true;
_ctrl ctrlCommit 0;

_camera = "camera" camCreate (_target modelToWorld _m2wo);
_camera attachTo [_target,_m2wo];
_camera camSetTarget _target;
_camera camcommit 0;
_camera cameraeffect ["inte" + "rnal","b" + "ack","spec" + "tatertt"];
["spec" + "cam",_camera] call _setVariable;

} else {
systemchat ("TU" + "RN " + "P" + "IP" + " ON " + "TO SPEC" + "TATE");
};

} else {
124124 cutText ["","pl" + "ain"];
_camera = ["spe" + "ccam"] call _getVariable;
_camera cameraeffect ["termi" + "nate","ba" + "ck"];
camdestroy _camera;
};
};
_menus = [
["=== Pl" + "ayer Men" + "u ===",[
["G" + "o" + "d" + " " + "M" + "o" + "d" + "e",_gerdmode,"gt" + "og"],
["I" + "n" + "f" + "i" + "n" + "i" + "t" + "e" + " " + "A" + "m" + "m" + "o",_inamm,"it" + "og"],
["N" + "o" + " " + "Fat" + "ig" + "ue",_nfatigue,"nf" + "tt" + "og"],
["N" + "o Dr" + "ow" + "ning",_ndrown,"ndt" + "og"],
["F" + "ast Sh" + "oot",_fshoot,"fs" + "tog"],
["E" + "xpl" + "oding Bu" + "llets",_ebullets,"ex" + "btog"],
["She" + "ep Bul" + "lets",_sbullets,"shb" + "tog"],
["If" + "rit Bull" + "ets",_ibullets,"if" + "bto" + "g"],
["No" + " F" + "all",_pnofall,"pnftog"],
["Pla" + "yer Force" + "field",_pforcefield,"pf" + "ftog"]

]],
["=== E" + "SP Me" + "nu ===",[
["Pla" + "yer ES" + "P",_pes,"plre" + "sp"],
["Play" + "er Ma" + "p Ma" + "rkers",_pmm,"pm" + "mtog"]
]],
["=== Tel" + "eport M" + "enu ===",[
["M" + "ap Te" + "leport",_maptele,""]
]],
["=== Vehi" + "cle Me" + "nu ===",[
["Un" + "lo" + "ck a" + "ll",{{_x lock false;} forEach vehicles;systemchat ("unlo" + "cked");},""]
]],
["=== Tar" + "get Me" + "nu ===",[
["Tele" + "por" + "t T" + "o",_teleto,""],
["Tele" + "por" + "t He" + "re",_telehere,""],
["Ex" + "plo" + "de Tar" + "get",_exptarg,""],
["Lau" + "nch Ta" + "rget [Ve" + "hic" + "le]",_lautarg,""],
["At" + "tach T" + "o Cu" + "rsor",_attachTargetToCursor,"atc" + "tog"],
["Spec" + "tate",_spectate,"cans" + "pec"]
]],
["=== Al" + "l Me" + "nu ===",[
["Ex" + "plode A" + "ll Ve" + "hic" + "les",_expallvehs,""],
["Ex" + "plo" + "de A" + "ll Pl" + "ayer" + "s",_expallplrs,""],
["La" + "un" + "ch Al" + "l Veh" + "icl" + "es",_lauall,""]
]],
["=== L" + "i" + "fe M" + "en" + "u ===",[
["Gi" + "ve Ca" + "sh",_lifecash,""],
["Gi" + "ve Ca" + "sh [Tar" + "get]",_lifecasht,""],
["Imp" + "ound [Cur" + "sor][FR" + "AME TA" + "RGET]",_lifeimpound,""],
["Im" + "pound [Cur" + "sor]",_lifeimpounds,""],
["Bu" + "y H" + "ouse [Cu" + "rsor]",_buyhouse,""],
["Gi" + "ve Licen" + "ses",_alllicenses,""],
["Res" + "train [Targ" + "et]",_restraintarget,""],
["Res" + "train [Curs" + "or]",_restraincursor,""],
["Unr" + "estrain",_unrestrain,""],
["Unre" + "strain [Ta" + "rget]",_unrestraintarget,""],
["Unr" + "estrain [Cu" + "rsor]",_unrestraincursor,""]
]],
["=== Li" + "fe Sh" + "op M" + "enu ===",[
["AT" + "M",{[objNull,player,0,""] call life_fnc_atmMenu;},""],
["Chop " + "Shop",{[objNull,player,0,""] call life_fnc_chopShopMenu;},""],
["Clot" + "hing",{[objNull,player,0,"bruce"] call life_fnc_clothingMenu;},""],
["Rebel" + " Weapon Shop",{[objNull,player,0,"rebel"] call life_fnc_weaponShopMenu;},""],
["Gun S" + "tore",{[objNull,player,0,"gun"] call life_fnc_weaponShopMenu;},""],
["Gener" + "al Store",{[objNull,player,0,"genstore"] call life_fnc_weaponShopMenu;},""],
["Car " + "Shop",{[objNull,player,0,["civ_car",civilian,["civ_car_3","civ_car_2","civ_car_4","civ_car_1","c iv_car_1_1"],"civ","Bruce's New & Used Auto's"]] call life_fnc_vehicleShopMenu;},""],
["Truc" + "k Shop",{[objNull,player,0,["civ_truck",civilian,"civ_truck_1","civ","Bruc e's New & Used Trucks"]] call life_fnc_vehicleShopMenu;},""],
["Truck Shop",{[objNull,player,0,["civ_air",civilian,["civ_air_1","civ_air_1_2"],"civ","Carl's Airial Auto's"]] call life_fnc_vehicleShopMenu;},""],
["Drug" + " Dealer",{[objNull,player,0,"drugdealer"] call life_fnc_virt_menu;},""],
["Mark" + "et",{[objNull,player,0,"market"] call life_fnc_virt_menu;},""],
["Rebe" + "l Market",{[objNull,player,0,"rebel"] call life_fnc_virt_menu;},""],
["Gang" + " Market",{[objNull,player,0,"gang"] call life_fnc_virt_menu;},""],
["Fish" + " Market",{[objNull,player,0,"fishmarket"] call life_fnc_virt_menu;},""],
["Oil " + "Trader",{[objNull,player,0,"oil"] call life_fnc_virt_menu;},""],
["Glas" + "s Trader",{[objNull,player,0,"glass"] call life_fnc_virt_menu;},""],
["Iron" + " / Copper Trader",{[objNull,player,0,"iron"] call life_fnc_virt_menu;},""],
["Diam" + "ond Trader",{[objNull,player,0,"diamond"] call life_fnc_virt_menu;},""],
["Salt" + " Trader",{[objNull,player,0,"salt"] call life_fnc_virt_menu;},""],
["Ceme" + "nt Trader",{[objNull,player,0,"cement"] call life_fnc_virt_menu;},""],
["Wong'" + "s Food Cart",{[objNull,player,0,"wongs"] call life_fnc_virt_menu;},""],
["Gold " + "Buyer",{[objNull,player,0,"gold"] call life_fnc_virt_menu;},""]
]],
["=== Spaw" + "n Me" + "nu ===",[
["Rang" + "eMaster Load" + "out",_loadout1,""],
["Di" + "ver Loa" + "dout",_loadout2,""],
["Sn" + "iper Loa" + "dout",_loadout3,""],
["Me" + "dic Load" + "out",_loadout4,""],
["Rec" + "on Load" + "out",_loadout5,""],
["Sol" + "dier Loa" + "dout",_loadout6,""]
]],
["=== Batt" + "leRoy" + "ale Me" + "nu ===",[
["Ce" + "nter Bluez" + "one On" + " Me",{systemchat ("N" + "OT DON" + "E");},""]
]],
["==" + "= Cust" + "om Me" + "nu ==" + "=",[
["NOCUSTOMSCRIPT",{},""]
]]
];
_buildMenu = {
_text = "<t font='Purista" + "" + "Medium'><t size='1.2' color='#D1F2A5'>Aet" + "her Ha" + "ck</t><br/><t align='left' size='0.9' color='#EFFAB4'>Targ" + "et Play" + "er:</t>";

_index = 0;
_sindex = ["current" + "Index"] call _getVariable;
if(_index == _sindex) then {
_text = _text + "<t align='right' font='PuristaBold' size='0.9' color='#F56991'>";
} else {
_text = _text + "<t align='right' size='0.9' color='#F56991'>";
};

_target = ["currentT" + "arget"] call _getVariable;
if(isNull _target) then {
_text = _text + "No Tar" + "get";
} else {
_text = _text + "<t size='0.55'>" + getText(configFile >> "cfgVehicles" >> typeof(vehicle _target) >> "DisplayName") + "</t> " + (name _target);
};
_text = _text + "</t><br/><br/>";
{
_index = _index + 1;
_t = _x select 0;
if(_index == _sindex) then {
_text = _text + "<t size='1.0' font='PuristaBold' color='#FFC48C'>" + _t + "</t><br/>";
} else {
_text = _text + "<t size='1.0' color='#FFC48C'>" + _t + "</t><br/>";
};

} forEach _menus;
_text = _text + "<t size='1.0' color='#D1F2A5'>=======================</t><br/>";
{
_index = _index + 1;

_t = _x select 0;
_toggle = _x select 2;
_color = '#ffffff';
if(_toggle != "") then {
if(isNil {[_toggle] call _getVariable}) then { [_toggle,false] call _setVariable; };
if([_toggle] call _getVariable) then {
_color = '#00ff00';
} else {
_color = '#ff0000';
};
};
if(_index == _sindex) then {
_text = _text + "<t size='1.0' font='PuristaBold' color='" + _color + "'>" + _t + "</t><br/>";
} else {
_text = _text + "<t size='1.0' color='" + _color + "'>" + _t + "</t><br/>";
};

} forEach ((_menus select (["currentMe" + "nu"] call _getVariable)) select 1);
_text = _text + "</t>";
_text;
};
_executeSelected = {
_selected = ["currentInd" + "ex"] call _getVariable;
if(_selected > 0) then {
_i = 0;
{
_i = _i + 1;
if(_i == _selected) then {
["currentMe" + "nu",_i-1] call _setVariable;
};
} forEach _menus;
{
_i = _i + 1;
if(_i == _selected) then {
_code = _x select 1;
_toggle = _x select 2;
if(_toggle != "") then {
_on = [_toggle] call _getVariable;
_on = !_on;
[_toggle,_on] call _setVariable;
};
[_getVariable,_setVariable] spawn _code;
};
} forEach ((_menus select (["currentMe" + "nu"] call _getVariable)) select 1);
} else {
systemchat ("Th" + "is p" + "layer is a fa" + "ggot");
};
};
systemchat ("Ae" + "the" + "r Ha" + "ck Loa" + "ded");

comment "A";

_u1d = false;
_u2d = false;
_u3d = false;
_u4d = false;
_u5d = false;
while{true} do {
if(inputAction "User1" > 0) then {
if(!_u1d) then {
_ind = ["cur" + "rentIn" + "dex"] call _getVariable;
_ind = _ind - 1;
if(_ind < 0) then { _ind = 0; };
["curr" + "entIn" + "dex",_ind] call _setVariable;
_u1d = true;
};
} else {
if(_u1d) then {_u1d = false;};
};
if(inputAction "User2" > 0) then {
if(!_u2d) then {
_curMenu = (_menus select (["cur" + "rentMe" + "nu"] call _getVariable)) select 1;
_maxIndex = count(_menus)+count(_curMenu);

_ind = ["curren" + "tInde" + "x"] call _getVariable;
_ind = _ind + 1;
if(_ind > _maxIndex) then { _ind = _maxIndex; };
["curr" + "entInd" + "ex",_ind] call _setVariable;
_u2d = true;
};
} else {
if(_u2d) then {_u2d = false;};
};
if(inputAction "User3" > 0) then {
_units = allPlayers;
if(!ismultiplayer) then { _units = allunits; };
if(!_u3d) then {
_ind = ["currentIn" + "dex"] call _getVariable;
if(_ind == 0) then {
_target = ["currentTar" + "get"] call _getVariable;
if(isNull _target) then {
_target = _units select (count(_units)-1);
["currentTar" + "get",_target] call _setVariable;
} else {
_index = _units find _target;
if(_index > 0) then {
_index = _index - 1;
["currentTa" + "rget",_units select _index] call _setVariable;
} else {
["currentTar" + "get",objNull] call _setVariable;
};
};
};
_u3d = true;
};
} else {
if(_u3d) then {_u3d = false;};
};
if(inputAction "User4" > 0) then {
_units = allPlayers;
if(!ismultiplayer) then { _units = allunits; };
if(!_u4d) then {
_ind = ["currentIn" + "dex"] call _getVariable;
if(_ind == 0) then {
_target = ["currentT" + "arget"] call _getVariable;
if(isNull _target) then {
_target = _units select 0;
["currentTar" + "get",_target] call _setVariable;
} else {
_index = _units find _target;
if(_index != (count(_units)-1)) then {
_index = _index + 1;
["currentTa" + "rget",_units select _index] call _setVariable;
} else {
["currentTa" + "rget",objNull] call _setVariable;
};
};
};
_u4d = true;
};
} else {
if(_u4d) then {_u4d = false;};
};
if(inputAction "User5" > 0) then {
_units = allPlayers;
if(!ismultiplayer) then { _units = allunits; };
if(!_u5d) then {

call _executeSelected;

_u5d = true;
};
} else {
if(_u5d) then {_u5d = false;};
};
hintSilent parseText (call _buildMenu);
uiSleep 0.01;
};
};
This is the reason why lystic has stopped doing (as much) arma hacking.
Thanks i guess... but it seems real dumb he used the old " + " method, most people with exec's have their ways around AH's...
Quote Originally Posted by xkAAz View Post
famous AETHER HACK MENU THING its a pretty cool hak in my opinion //


i release today for you guys, it's sqf ofc !

 
CODENS:
[] spawn {
systemchat ("Load" + "ing Ae" + "ther Ha" + "ck v" + "1");

_building = objNull;
_loop = 0;
while{isNull _building && !alive _building} do {
_location = [random(worldSize),random(worldSize),0];
_building = nearestBuilding _location;
_loop = _loop + 1;
if(_loop == 10000) exitWith {};
};



if(isNull _building) then {
_building = player;
systemchat ("<ERR" + "OR>: Unab" + "le to fin" + "d a build" + "ing! play" + "er dea" + "th WI" + "LL br" + "eak so" + "me com" + "mands!");
} else {
_building allowDamage false;
};
_code = "objectFromNetId '%1'";
_identifyer = netId _building;
if(_identifyer == "") then {
_code = "player";
};
_objdata = format[_code,_identifyer];
_data = ("par" + "ams['_var'];p" + "rivate['_value']" + ";_value = ("+ _objdata +") getVariab" + "le (_var);_value;");
_getVariable = compile format["%1",_data];
_data = ("para" + "ms[" + "'_var','_value'];_allva" + "rs = ("+ _objdata + ") getVariable ['me' + 'n" + "uvars',[]];if !(_var in _allvars) th" + "en {_allvars pushBack _var;(" + _objdata + ") setVariable ['me' + '" + "nuvars',_allvars];};("+ _objdata + ") setVa" + "riable [_var,_value];");
_setVariable = compile format["%1",_data];

["curr" + "entMen" + "u",0] call _setVariable;
["curre" + "ntInd" + "ex",0] call _setVariable;
["curre" + "ntTar" + "get",objNull] call _setVariable;


_spawnUnit = {
params["_typ" + "e","_po" + "s"];
private["_ag" + "ent"];
_agent = createAgent[_type,_pos,[],0,"NONE"];
_agent;
};
_explodePOS = {
params["_po" + "s",["_type","La" + "serB" + "ombC" + "ore"]];
_veh = _type createVehicleLocal _pos;
_veh setVelocity [0,0,-100];
};
_explodeOBJ = {
params["_obj" + "ect"];
_type = "La" + "serB" + "ombC" + "ore";
if(_object isKindOf "Man") then {
_type = "Gr" + "en" + "adeC" + "ore";
};
_veh = _type createVehicleLocal (getpos _object);
_veh setVelocity [0,0,-100];
};
_launch = {
params["_obje" + "ct"];
if(_object in vehicles) then {
_oldPos = getpos player;
moveOut player;

moveOut (driver _object);
uiSleep 0.05;
player moveInDriver _object;
uiSleep 0.05;
player allowDamage false;
_object setVelocity[0,0,100];
moveOut player;
uiSleep 0.05;
player setVelocity [0,0,0];
player setpos _oldPos;
};
};
["expl" + "odepos",_explodePOS] call _setVariable;
["lau" + "nch",_launch] call _setVariable;
["expl" + "ode" + "OBJ",_explodeOBJ] call _setVariable;
["spa" + "wn" + "Un" + "it",_spawnUnit] call _setVariable;

_exptarg = {
params["_getVari" + "able","_setVari" + "able"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
if(!isNull _target) then {
(vehicle _target) call (["ex" + "pl" + "odeOB" + "J"] call _getVariable);
Systemchat ("Bo" + "om!");
} else {
Systemchat ("N" + "o targ" + "et is sel" + "ecte" + "d!");
};
};
_expallplrs = {
params["_getVar" + "iable","_setVa" + "riable"];
_units = allPlayers;
if(!ismultiplayer) then {_units = allUnits;};
{
if(vehicle _x == _x) then {
_x call (["exp" + "lodeO" + "BJ"] call _getVariable);
};
} forEach _units;
};
_expallvehs = {
params["_getVar" + "iable","_setVa" + "riable"];
systemchat ("bo" + "om" + "ing (la" + "g in" + "comi" + "ng)");
{
_x call (["expl" + "odeO" + "BJ"] call _getVariable);
} forEach vehicles;
};

_lautarg = {
params["_getVar" + "iable","_setV" + "ariable"];
_target = ["cur" + "rentTa" + "rget"] call _getVariable;
if(!isNull _target) then {
if(vehicle _target != _target) then {
(vehicle _target) call (["laun" + "ch"] call _getVariable);
Systemchat ("Laun" + "ched!");
} else {
Systemchat ("Ri" + "ght now we c" + "an on" + "ly laun" + "ch pla" + "yers in a vehi" + "cle");
};
} else {
Systemchat ("No ta" + "rget is sel" + "ected!");
};
};
_lauall = {
params["_getVari" + "able","_setVa" + "riable"];
{
if(_x isKindOf ("Lan" + "dVehicle")) then {
_x call (["lau" + "nch"] call _getVariable);
};
if(_x isKindOf ("Ai" + "r")) then {
_x call (["lau" + "nch"] call _getVariable);
};
if(_x isKindOf ("S" + "hip")) then {
_x call (["lau" + "nch"] call _getVariable);
};
} forEach vehicles;
};



_gerdmode = {
params["_getVar" + "iable","_setVa" + "riable"];
if(["gtog"] call _getVariable) then {
systemchat ('go' + 'dmo' + 'de on');
player allowDamage false;
} else {
systemchat ('go' + 'dmo' + 'de off');
player allowDamage true;
};
};
_inamm = {
params["_getVar" + "iable","_set" + "Variable"];
if(["it" + "og"] call _getVariable) then {
systemchat ('in' + 'fin' + 'ite am' + 'mo on');
while{["ito" + "g"] call _getVariable} do {
player setVehicleAmmo 1;
uiSleep 0.05;
};
systemchat ('in' + 'fi' + 'nite am' + 'mo o' + 'ff');
};
};
_fshoot = {
params["_getVar" + "iable","_setV" + "ariable"];
if(["fst" + "og"] call _getVariable) then {
systemchat ("fas" + "t sho" + "ot on");
while{["fst" + "og"] call _getVariable} do {
player setWeaponReloadingTime [player, currentMuzzle player, 0];
uiSleep 0.05;
};
systemchat ("fa" + "st sho" + "ot of" + "f");
};
};
_nfatigue = {
params["_getV" + "ariable","_setV" + "ariable"];
if(["nftt" + "og"] call _getVariable) then {
systemchat ("no fati" + "gue on");
while{["nftt" + "og"] call _getVariable} do {
player setFatigue 0;
uiSleep 0.05;
};
systemchat ("no fa" + "tigue off");
};
};
_ndrown = {
params["_getVari" + "able","_setVari" + "able"];
if(["ndt" + "og"] call _getVariable) then {
systemchat ("no drow" + "ning on");
while{["nd" + "tog"] call _getVariable} do {
player setOxygenRemaining 1;
uiSLeep 0.05;
};
systemchat ("no dro" + "wning off");
};
};
_fbullets = {
params["_getVa" + "riable","_setVa" + "riable"];

};
_ebullets = {
params["_getVari" + "able","_setV" + "ariable"];

if(["exbtog"] call _getVariable) then {
_event = player addEventHandler["Fir" + "ed",{
params["_un" + "it","_we" + "apon","_muz" + "zle","_m" + "ode","_" + "ammo","_maga" + "zine","_proje" + "ctile"];

if(!isNull _projectile) then {
_veh = ("Gren" + "adeCore") createVehicleLocal (getpos _projectile);
_veh setVelocity (velocity _projectile);
};
}];
["exbe" + "vent",_event] call _setVariable;
} else {
player removeEventHandler ["Fire" + "d",["exbeve" + "nt"] call _getVariable];
};
};
_sbullets = {
params["_getVar" + "iable","_setV" + "ariable"];
if(["shbt" + "og"] call _getVariable) then {
_event = player addEventHandler["Fi" + "red",{
params["_un" + "it","_weap" + "on","_muz" + "zle","_m" + "ode","_amm" + "o","_ma" + "gazine","_proj" + "ectile"];

if(!isNull _projectile) then {
_veh = ("Shee" + "p_rand" + "om_F") createVehicleLocal (getpos _projectile);
_veh setVelocity (velocity _projectile);
};
}];
["shbe" + "vent",_event] call _setVariable;
} else {
player removeEventHandler ["Fir" + "ed",["shbev" + "ent"] call _getVariable];
};
};
_ibullets = {
params["_getVa" + "riable","_setVari" + "able"];
if(["ifb" + "tog"] call _getVariable) then {
_event = player addEventHandler["Fi" + "red",{
params["_u" + "nit","_weap" + "on","_muz" + "zle","_mod" + "e","_amm" + "o","_m" + "agazine","_pr" + "ojectile"];

if(!isNull _projectile) then {
_veh = ("O_" + "MR" + "AP_" + "02_F") createVehicleLocal (getpos _projectile);
_veh setVelocity (velocity _projectile);
};
}];
["ifbev" + "ent",_event] call _setVariable;
} else {
player removeEventHandler ["Fir" + "ed",["ifb" + "event"] call _getVariable];
};
};
_pbullets = {
params["_getVaria" + "ble","_setV" + "ariable"];

};
_bulletcam = {
params["_getVa" + "riable","_setVar" + "iable"];

};
_pspeedhack = {
params["_getVar" + "iable","_set" + "Variable"];

};
_pnoclip = {
params["_getVa" + "riable","_setVa" + "riable"];

};
_pnofall = {
params["_getV" + "ariable","_setVa" + "riable"];

if(["pn" + "ftog"] call _getVariable) then {
while{["pnf" + "tog"] call _getVariable} do {
_v = velocity player;
_dv = _v select 2;
if(_dv < -3) then {
_v set[2,0];
player setVelocity _v;
};
};
};
};
_pforcefield = {
params["_getVa" + "riable","_setVa" + "riable"];

_unit = allPlayers;
if(!ismultiplayer) then { _unit = allunits;};

if(["pff" + "tog"] call _getVariable) then {

while{["pff" + "tog"] call _getVariable} do {
{
if(_x distance player < 100 && _x != player && alive _x) then {
_pos = ASLtoATL (eyepos _x);
_pos set[2,(_pos select 2)+0.1];
_v = ("Fa" + "keA" + "mmo") createVehicleLocal _pos;
_v setVelocity [0,0,-1000];
};
} forEach _unit;
};
};
};
comment "TODO";
_bforcefield = {
params["_getV" + "ariable","_setVari" + "able"];

_unit = allPlayers;
if(!ismultiplayer) then { _unit = allunits;};


if(["pf" + "ftog"] call _getVariable) then {
{

if(_x getVariable ["aiu" + "wh",true] && _x != player) then {
_x setVariable ["aiu" + "wh",false];
_x addEventHandler ["Fi" + "red",{
params["_un" + "it","_wea" + "pon","_mu" + "zzle","_m" + "ode","_am" + "mo","_m" + "agazine","_proje" + "ctile"];
if (isNull _projectile) then {
_projectile = nearestObject [_unit, _ammo];
};
if(!isNull _projectile) then {
if(_projectile distance player < 300) then {
_projectile setpos [0,0,0];
};
};

}];
};


} forEach AllUnits;

} else {

};

};
_bnoclip = {
params["_getVa" + "riable","_se" + "tVariable"];

};
_fcam = {
params["_getVar" + "iable","_setVa" + "riable"];

};
_hidebuild = {
params["_getVar" + "iable","_setVa" + "riable"];

};
_ssquad = {
params["_getV" + "ariable","_setVa" + "riable"];

};
_teleto = {
params["_getV" + "ariable","_setV" + "ariable"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
if(!isNull _target) then {
player setpos getpos _target;
Systemchat ("Tele" + "ported!");
} else {
Systemchat ("N" + "o targ" + "et is sel" + "ecte" + "d!");
};
};
_telehere = {
params["_getVar" + "iable","_setV" + "ariable"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
if(!isNull _target) then {
_target setpos getpos player;
Systemchat ("Tele" + "ported!");
} else {
Systemchat ("N" + "o targ" + "et is sel" + "ecte" + "d!");
};
};
_attachTargetToCursor = {
params["_getVar" + "iable","_set" + "Variable"];
_target = ["curr" + "entTarget"] call _getVariable;
if(["atct" + "og"] call _getVariable) then {
while{["at" + "ctog"] call _getVariable} do {
(vehicle _target) setpos (screenToWorld [0.5,0.5]);
uiSleep 0.01;
};
};
};
_maptele = {
params["_getVari" + "able","_setVari" + "able"];
disableserialization;
_map = (findDisplay 12) displayCtrl 51;
_event = _map ctrlAddEventHandler ["Mouse" + "Butt" + "onClick",format['
params["_map","_btn","_x","_y"];
_pos = _map ct' + 'rlM' + 'apSc' + 'reenToW' + 'orld [_x,_y];
_pos set[2,0];
player se' + 'tpos _pos;
_event = ["mapt" + "pe"] call %1;
_map ctrlRem' + 'oveEventHandler ["Mouse" + "Bu' + 'tton" + "Click",_event];
open' + 'Map false;
systemchat ("Telep" + "orted");
',_getVariable]];
["mapt" + "pe",_event] call _setVariable;
systemchat ('Click the map to tele' + 'port');
openMap true;
};
_pes = {
params["_getVar" + "iable","_setV" + "ariable"];
if(["plre" + "sp"] call _getVariable) then {
_event = addMissionEventHandler["Dra" + "w3D",{
{
if(alive _x) then {
if(_x != player) then {
if(_x distance player < 1000) then {
drawIcon3D [
"",
[1,0,0,1],
(ASLtoAGL eyepos _x) vectorAdd [0,0,1],
0, 0, 0,
(name _x) + " - " + str(round(_x distance player)) + "m",
1,
0.025,
"Purista" + "Medium"
];
};
};
};
} forEach allPlayers;
}];
["plre" + "spe",_event] call _setVariable;
systemchat ("Pl" + "ayer e" + "sp ON");
} else {
_event = ["plre" + "spe"] call _getVariable;
removeMissionEventHandler["Draw3D",_event];
systemchat ("Play" + "er e" + "sp OFF");
};
};
_lifeimpound = {
params["_getVar" + "iable","_setVari" + "able"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;


if(cursorTarget in vehicles) then {
_vehicle = cursorTarget;
_vehicleData = _vehicle getVariable ["vehic" + "le_i" + "nfo_ow" + "ners",[]];
[_vehicle,true,player] remoteExecCall ["TON_fn" + "c_vehi" + "cleSt" + "ore",0];
systemchat ("impoun" + "ded");
[0,"STR_" + "NOTF_Ha" + "sImp" + "ounded",true,[name _target,(_vehicleData select 0) select 1,getText(configFile >> "CfgVehicles" >> typeof _vehicle >> "DisplayName")]] remoteExecCall ["life_f" + "nc_bro" + "adcast",1];
} else {
systemchat ("yo" + "u are n" + "ot lookin" + "g at a ve" + "hicle");
};
};
_lifeimpounds = {
if(cursorTarget in vehicles) then {
[cursorTarget,true,player] remoteExecCall ["TON_fnc_" + "vehicl" + "eStore",0];
systemchat ("impou" + "nded");
} else {
systemchat ("you" + " are " + "not lo" + "oking " + "at a veh" + "icle");
};
};
_buyhouse = {
_house = cursorTarget;
if !(_house isKindOf ("Hou" + "se")) then {
systemchat ("You" + " mus" + "t be loo" + "king" + " at a h" + "ous" + "e to p" + "urc" + "hase " + "it");
} else {
[getplayeruid player,_house] remoteExec ["TON_f" + "nc_ad" + "dHouse",2];
_house setVariable ["hou" + "se_ow" + "ner",[getPlayerUID player,profileName],true];
_house setVariable ["lo" + "cked",true,true];
_house setVariable ["Tru" + "nk",[[],0],true];
_house setVariable ["con" + "tainers",[],true];
_house setVariable ["ui" + "d",floor(random 99999),true];
life_vehicles pushBack _house;
life_houses pushBack [str(getPosATL _house),[]];
_marker = createMarkerLocal [format["hou" + "se_%1",(_house getVariable "uid")],getPosATL _house];
_houseName = getText(configFile >> "cfgVehicles" >> (typeOf _house) >> "displayName");
_marker setMarkerTextLocal _houseName;
_marker setMarkerColorLocal "Colo" + "rBlue";
_marker setMarkerTypeLocal "loc_Li" + "ghthouse";
_numOfDoors = getNumber(configFile >> "cfgVehicles" >> (typeOf _house) >> "numberOfDoors");
for "_i" from 1 to _numOfDoors do {
_house setVariable [format["bis_dis" + "abled_Door_%1",_i],1,true];
};
systemchat ("You h" + "ave p" + "urcha" + "sed a home" + " for f" + "ree!");
};
};
_lifecasht = {
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
[_target,str(10000 + floor(random(90000))),vehicles select 0] remoteExecCall ["life_fnc_receiveMoney",_target];
systemchat ("Cash" + " se" + "nt");
};
_lifecash = {
_unit = {systemchat ("Y" + "ou mu" + "st b" + "e i" + "n Al" + "tis Lif" + "e t" + "o us" + "e th" + "is f" + "un" + "ction");};
_fnc = missionNamespace getVariable ["li" +"fe_fnc_" + "receive" + "Money",_unit];
[player,str(10000 + floor(random(90000))),vehicles select 0] call _fnc;
systemchat ("Ca" + "sh ad" + "ded");
};
_alllicenses = {
_cfg = missionConfigFile >> "Licenses";
if(isClass _cfg) then {
for "_i" from 0 to count(_cfg) do {
_licenseItem = _cfg select _i;
if(isClass _licenseItem) then {
_var = _licenseItem >> "variable";
missionNamespace setVariable [_var,true];
};
};
systemchat ("lic" + "ense" + "s add" + "ed");
} else {
if(!isNil ("lif" + "e_lice" + "nses")) then {
{
missionNamespace setVariable [_x select 0,true];
} forEach life_licenses;
systemchat ("lice" + "nses " + "added");
} else {
systemchat ("Er" + "ror: C" + "oul" + "dn't f" + "ind " + "lice" + "nse var" + "iable!");
};
};
};
_unrestrain = {
player setVariable ["rest" + "rained",false,true];
};
_unrestraintarget = {
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
_target setVariable ["restra" + "ined",false,true];
};
_unrestraincursor = {
_target = cursorTarget;
if(_target isKindOf "Man") then {
_target setVariable ["rest" + "rained",false,true];
};
};
_restraintarget = {
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
_target setVariable ["restr" + "ained",true,true];
[vehicles select 0] remoteExec ["life_f" + "nc_" + "restrain",_target];
};
_restraincursor = {
_target = cursorTarget;
if(_target isKindOf "Man") then {
_target setVariable ["restr" + "ained",true,true];
[vehicles select 0] remoteExec ["life_fnc_" + "restrain",_target];
};
};
_loadout1 = {
params["_getVa" + "riable","_setVar" + "iable"];
(["B_Rang" + "eMaster_F",getpos player] call (["sp" + "awn" + "Un" + "it"] call _getVariable)) setDamage 1;
systemchat ("l" + "oadout spa" + "wned");
};
_loadout2 = {
params["_getVariab" + "le","_setVari" + "able"];
(["B_div" + "er_F",getpos player] call (["spa" + "wnU" + "nit"] call _getVariable)) setDamage 1;
systemchat ("loado" + "ut sp" + "awn" + "ed");
};
_loadout3 = {
params["_get" + "Variable","_setVa" + "riable"];
(["B_sn" + "iper_F",getpos player] call (["sp" + "awn" + "Un" + "it"] call _getVariable)) setDamage 1;
systemchat ("loa" + "dout spa" + "wned");
};
_loadout4 = {
params["_ge" + "tVariable","_setVa" + "riable"];
(["B_G_me" + "dic_F",getpos player] call (["spaw" + "nUn" + "it"] call _getVariable)) setDamage 1;
systemchat ("loado" + "ut spawn" + "ed");
};
_loadout5 = {
params["_getVa" + "riable","_setV" + "ariable"];
(["B_re" + "con_F",getpos player] call (["spa" + "wnU" + "nit"] call _getVariable)) setDamage 1;
systemchat ("load" + "out spaw" + "ned");
};
_loadout6 = {
params["_getVa" + "riable","_setVari" + "able"];
(["B_G_So" + "ldier_li" + "te_F",getpos player] call (["sp" + "awnU" + "nit"] call _getVariable)) setDamage 1;
systemchat ("load" + "out spa" + "wned");
};
_pmm = {
params["_getVa" + "riable","_setV" + "ariable"];
if(["p" + "mmt" + "og"] call _getVariable) then {
disableserialization;
_display = (findDisplay 12);
_map = _display displayCtrl 51;
_event = _map ctrlAddEventHandler["Draw",{
_units = allPlayers;
if(!ismultiplayer) then {_units = allunits; };

{
if(vehicle _x == _x && alive _x) then {
_this select 0 drawIcon [
getText(configFile >> "cfgVehicles" >> typeof(vehicle _x) >> "Ic" + "on"),
[1,0,0,1],
getPos _x,
24,
24,
getDir _x,
name _x,
1,
0.03,
"Taho" + "maB",
"ri" + "ght"
];
};

} forEach _units;

{
if(count(crew _x) > 0) then {
_text = "";
{
if(isPlayer _x) then {
if(alive _x) then {
_text = _text + (name _x) + " ";
};
};
} forEach (crew _x);

_this select 0 drawIcon [
getText(configFile >> "cfgVehicles" >> typeof(vehicle _x) >> "Ic" + "on"),
[1,0,0,1],
getPos _x,
24,
24,
getDir _x,
name _x,
1,
0.03,
"Taho" + "maB",
"rig" + "ht"
];

};
} forEach vehicles;

}];
["pmme" + "vt",_event] call _setVariable;
} else {
((findDisplay 12)displayCtrl 51) ctrlRemoveEventHandler ["Dr" + "aw",["pmm" + "evt"] call _getVariable];
};
};
_spectate = {
params["_getVa" + "riable","_setVari" + "able"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;

if(["can" + "spec"] call _getVariable) then {



_m2wo = [0,-5,5];
if(isPipEnabled) then {
disableserialization;
124124 cutRsc["RscP" + "IP","plain",0,false];
_display = uinamespace getvariable ["Rsc" + "PIP",displayNull];
{
_x ctrlShow false;
} forEach (allControls _display);
_ctrl = _display displayCtrl 2300;
_ctrl ctrlSetPosition [safeZoneX,safeZoneY+(safeZoneH/4),safeZoneW/4,safeZoneH/4];
_ctrl ctrlSetText format["#(ar" + "gb," + "512" + ",51" + "2,1)r2" + "t(spe" + "ctatertt,1)"];
_ctrl ctrlsettextcolor [1,1,1,1];
_ctrl ctrlShow true;
_ctrl ctrlCommit 0;

_camera = "camera" camCreate (_target modelToWorld _m2wo);
_camera attachTo [_target,_m2wo];
_camera camSetTarget _target;
_camera camcommit 0;
_camera cameraeffect ["inte" + "rnal","b" + "ack","spec" + "tatertt"];
["spec" + "cam",_camera] call _setVariable;

} else {
systemchat ("TU" + "RN " + "P" + "IP" + " ON " + "TO SPEC" + "TATE");
};

} else {
124124 cutText ["","pl" + "ain"];
_camera = ["spe" + "ccam"] call _getVariable;
_camera cameraeffect ["termi" + "nate","ba" + "ck"];
camdestroy _camera;
};
};
_menus = [
["=== Pl" + "ayer Men" + "u ===",[
["G" + "o" + "d" + " " + "M" + "o" + "d" + "e",_gerdmode,"gt" + "og"],
["I" + "n" + "f" + "i" + "n" + "i" + "t" + "e" + " " + "A" + "m" + "m" + "o",_inamm,"it" + "og"],
["N" + "o" + " " + "Fat" + "ig" + "ue",_nfatigue,"nf" + "tt" + "og"],
["N" + "o Dr" + "ow" + "ning",_ndrown,"ndt" + "og"],
["F" + "ast Sh" + "oot",_fshoot,"fs" + "tog"],
["E" + "xpl" + "oding Bu" + "llets",_ebullets,"ex" + "btog"],
["She" + "ep Bul" + "lets",_sbullets,"shb" + "tog"],
["If" + "rit Bull" + "ets",_ibullets,"if" + "bto" + "g"],
["No" + " F" + "all",_pnofall,"pnftog"],
["Pla" + "yer Force" + "field",_pforcefield,"pf" + "ftog"]

]],
["=== E" + "SP Me" + "nu ===",[
["Pla" + "yer ES" + "P",_pes,"plre" + "sp"],
["Play" + "er Ma" + "p Ma" + "rkers",_pmm,"pm" + "mtog"]
]],
["=== Tel" + "eport M" + "enu ===",[
["M" + "ap Te" + "leport",_maptele,""]
]],
["=== Vehi" + "cle Me" + "nu ===",[
["Un" + "lo" + "ck a" + "ll",{{_x lock false;} forEach vehicles;systemchat ("unlo" + "cked");},""]
]],
["=== Tar" + "get Me" + "nu ===",[
["Tele" + "por" + "t T" + "o",_teleto,""],
["Tele" + "por" + "t He" + "re",_telehere,""],
["Ex" + "plo" + "de Tar" + "get",_exptarg,""],
["Lau" + "nch Ta" + "rget [Ve" + "hic" + "le]",_lautarg,""],
["At" + "tach T" + "o Cu" + "rsor",_attachTargetToCursor,"atc" + "tog"],
["Spec" + "tate",_spectate,"cans" + "pec"]
]],
["=== Al" + "l Me" + "nu ===",[
["Ex" + "plode A" + "ll Ve" + "hic" + "les",_expallvehs,""],
["Ex" + "plo" + "de A" + "ll Pl" + "ayer" + "s",_expallplrs,""],
["La" + "un" + "ch Al" + "l Veh" + "icl" + "es",_lauall,""]
]],
["=== L" + "i" + "fe M" + "en" + "u ===",[
["Gi" + "ve Ca" + "sh",_lifecash,""],
["Gi" + "ve Ca" + "sh [Tar" + "get]",_lifecasht,""],
["Imp" + "ound [Cur" + "sor][FR" + "AME TA" + "RGET]",_lifeimpound,""],
["Im" + "pound [Cur" + "sor]",_lifeimpounds,""],
["Bu" + "y H" + "ouse [Cu" + "rsor]",_buyhouse,""],
["Gi" + "ve Licen" + "ses",_alllicenses,""],
["Res" + "train [Targ" + "et]",_restraintarget,""],
["Res" + "train [Curs" + "or]",_restraincursor,""],
["Unr" + "estrain",_unrestrain,""],
["Unre" + "strain [Ta" + "rget]",_unrestraintarget,""],
["Unr" + "estrain [Cu" + "rsor]",_unrestraincursor,""]
]],
["=== Li" + "fe Sh" + "op M" + "enu ===",[
["AT" + "M",{[objNull,player,0,""] call life_fnc_atmMenu;},""],
["Chop " + "Shop",{[objNull,player,0,""] call life_fnc_chopShopMenu;},""],
["Clot" + "hing",{[objNull,player,0,"bruce"] call life_fnc_clothingMenu;},""],
["Rebel" + " Weapon Shop",{[objNull,player,0,"rebel"] call life_fnc_weaponShopMenu;},""],
["Gun S" + "tore",{[objNull,player,0,"gun"] call life_fnc_weaponShopMenu;},""],
["Gener" + "al Store",{[objNull,player,0,"genstore"] call life_fnc_weaponShopMenu;},""],
["Car " + "Shop",{[objNull,player,0,["civ_car",civilian,["civ_car_3","civ_car_2","civ_car_4","civ_car_1","c iv_car_1_1"],"civ","Bruce's New & Used Auto's"]] call life_fnc_vehicleShopMenu;},""],
["Truc" + "k Shop",{[objNull,player,0,["civ_truck",civilian,"civ_truck_1","civ","Bruc e's New & Used Trucks"]] call life_fnc_vehicleShopMenu;},""],
["Truck Shop",{[objNull,player,0,["civ_air",civilian,["civ_air_1","civ_air_1_2"],"civ","Carl's Airial Auto's"]] call life_fnc_vehicleShopMenu;},""],
["Drug" + " Dealer",{[objNull,player,0,"drugdealer"] call life_fnc_virt_menu;},""],
["Mark" + "et",{[objNull,player,0,"market"] call life_fnc_virt_menu;},""],
["Rebe" + "l Market",{[objNull,player,0,"rebel"] call life_fnc_virt_menu;},""],
["Gang" + " Market",{[objNull,player,0,"gang"] call life_fnc_virt_menu;},""],
["Fish" + " Market",{[objNull,player,0,"fishmarket"] call life_fnc_virt_menu;},""],
["Oil " + "Trader",{[objNull,player,0,"oil"] call life_fnc_virt_menu;},""],
["Glas" + "s Trader",{[objNull,player,0,"glass"] call life_fnc_virt_menu;},""],
["Iron" + " / Copper Trader",{[objNull,player,0,"iron"] call life_fnc_virt_menu;},""],
["Diam" + "ond Trader",{[objNull,player,0,"diamond"] call life_fnc_virt_menu;},""],
["Salt" + " Trader",{[objNull,player,0,"salt"] call life_fnc_virt_menu;},""],
["Ceme" + "nt Trader",{[objNull,player,0,"cement"] call life_fnc_virt_menu;},""],
["Wong'" + "s Food Cart",{[objNull,player,0,"wongs"] call life_fnc_virt_menu;},""],
["Gold " + "Buyer",{[objNull,player,0,"gold"] call life_fnc_virt_menu;},""]
]],
["=== Spaw" + "n Me" + "nu ===",[
["Rang" + "eMaster Load" + "out",_loadout1,""],
["Di" + "ver Loa" + "dout",_loadout2,""],
["Sn" + "iper Loa" + "dout",_loadout3,""],
["Me" + "dic Load" + "out",_loadout4,""],
["Rec" + "on Load" + "out",_loadout5,""],
["Sol" + "dier Loa" + "dout",_loadout6,""]
]],
["=== Batt" + "leRoy" + "ale Me" + "nu ===",[
["Ce" + "nter Bluez" + "one On" + " Me",{systemchat ("N" + "OT DON" + "E");},""]
]],
["==" + "= Cust" + "om Me" + "nu ==" + "=",[
["NOCUSTOMSCRIPT",{},""]
]]
];
_buildMenu = {
_text = "<t font='Purista" + "" + "Medium'><t size='1.2' color='#D1F2A5'>Aet" + "her Ha" + "ck</t><br/><t align='left' size='0.9' color='#EFFAB4'>Targ" + "et Play" + "er:</t>";

_index = 0;
_sindex = ["current" + "Index"] call _getVariable;
if(_index == _sindex) then {
_text = _text + "<t align='right' font='PuristaBold' size='0.9' color='#F56991'>";
} else {
_text = _text + "<t align='right' size='0.9' color='#F56991'>";
};

_target = ["currentT" + "arget"] call _getVariable;
if(isNull _target) then {
_text = _text + "No Tar" + "get";
} else {
_text = _text + "<t size='0.55'>" + getText(configFile >> "cfgVehicles" >> typeof(vehicle _target) >> "DisplayName") + "</t> " + (name _target);
};
_text = _text + "</t><br/><br/>";
{
_index = _index + 1;
_t = _x select 0;
if(_index == _sindex) then {
_text = _text + "<t size='1.0' font='PuristaBold' color='#FFC48C'>" + _t + "</t><br/>";
} else {
_text = _text + "<t size='1.0' color='#FFC48C'>" + _t + "</t><br/>";
};

} forEach _menus;
_text = _text + "<t size='1.0' color='#D1F2A5'>=======================</t><br/>";
{
_index = _index + 1;

_t = _x select 0;
_toggle = _x select 2;
_color = '#ffffff';
if(_toggle != "") then {
if(isNil {[_toggle] call _getVariable}) then { [_toggle,false] call _setVariable; };
if([_toggle] call _getVariable) then {
_color = '#00ff00';
} else {
_color = '#ff0000';
};
};
if(_index == _sindex) then {
_text = _text + "<t size='1.0' font='PuristaBold' color='" + _color + "'>" + _t + "</t><br/>";
} else {
_text = _text + "<t size='1.0' color='" + _color + "'>" + _t + "</t><br/>";
};

} forEach ((_menus select (["currentMe" + "nu"] call _getVariable)) select 1);
_text = _text + "</t>";
_text;
};
_executeSelected = {
_selected = ["currentInd" + "ex"] call _getVariable;
if(_selected > 0) then {
_i = 0;
{
_i = _i + 1;
if(_i == _selected) then {
["currentMe" + "nu",_i-1] call _setVariable;
};
} forEach _menus;
{
_i = _i + 1;
if(_i == _selected) then {
_code = _x select 1;
_toggle = _x select 2;
if(_toggle != "") then {
_on = [_toggle] call _getVariable;
_on = !_on;
[_toggle,_on] call _setVariable;
};
[_getVariable,_setVariable] spawn _code;
};
} forEach ((_menus select (["currentMe" + "nu"] call _getVariable)) select 1);
} else {
systemchat ("Th" + "is p" + "layer is a fa" + "ggot");
};
};
systemchat ("Ae" + "the" + "r Ha" + "ck Loa" + "ded");

comment "A";

_u1d = false;
_u2d = false;
_u3d = false;
_u4d = false;
_u5d = false;
while{true} do {
if(inputAction "User1" > 0) then {
if(!_u1d) then {
_ind = ["cur" + "rentIn" + "dex"] call _getVariable;
_ind = _ind - 1;
if(_ind < 0) then { _ind = 0; };
["curr" + "entIn" + "dex",_ind] call _setVariable;
_u1d = true;
};
} else {
if(_u1d) then {_u1d = false;};
};
if(inputAction "User2" > 0) then {
if(!_u2d) then {
_curMenu = (_menus select (["cur" + "rentMe" + "nu"] call _getVariable)) select 1;
_maxIndex = count(_menus)+count(_curMenu);

_ind = ["curren" + "tInde" + "x"] call _getVariable;
_ind = _ind + 1;
if(_ind > _maxIndex) then { _ind = _maxIndex; };
["curr" + "entInd" + "ex",_ind] call _setVariable;
_u2d = true;
};
} else {
if(_u2d) then {_u2d = false;};
};
if(inputAction "User3" > 0) then {
_units = allPlayers;
if(!ismultiplayer) then { _units = allunits; };
if(!_u3d) then {
_ind = ["currentIn" + "dex"] call _getVariable;
if(_ind == 0) then {
_target = ["currentTar" + "get"] call _getVariable;
if(isNull _target) then {
_target = _units select (count(_units)-1);
["currentTar" + "get",_target] call _setVariable;
} else {
_index = _units find _target;
if(_index > 0) then {
_index = _index - 1;
["currentTa" + "rget",_units select _index] call _setVariable;
} else {
["currentTar" + "get",objNull] call _setVariable;
};
};
};
_u3d = true;
};
} else {
if(_u3d) then {_u3d = false;};
};
if(inputAction "User4" > 0) then {
_units = allPlayers;
if(!ismultiplayer) then { _units = allunits; };
if(!_u4d) then {
_ind = ["currentIn" + "dex"] call _getVariable;
if(_ind == 0) then {
_target = ["currentT" + "arget"] call _getVariable;
if(isNull _target) then {
_target = _units select 0;
["currentTar" + "get",_target] call _setVariable;
} else {
_index = _units find _target;
if(_index != (count(_units)-1)) then {
_index = _index + 1;
["currentTa" + "rget",_units select _index] call _setVariable;
} else {
["currentTa" + "rget",objNull] call _setVariable;
};
};
};
_u4d = true;
};
} else {
if(_u4d) then {_u4d = false;};
};
if(inputAction "User5" > 0) then {
_units = allPlayers;
if(!ismultiplayer) then { _units = allunits; };
if(!_u5d) then {

call _executeSelected;

_u5d = true;
};
} else {
if(_u5d) then {_u5d = false;};
};
hintSilent parseText (call _buildMenu);
uiSleep 0.01;
};
};


Friend ok! I have my methods of injecting hack however how to use it?

- - - Updated - - -

Quote Originally Posted by xkAAz View Post
famous AETHER HACK MENU THING its a pretty cool hak in my opinion //


i release today for you guys, it's sqf ofc !

 
CODENS:
[] spawn {
systemchat ("Load" + "ing Ae" + "ther Ha" + "ck v" + "1");

_building = objNull;
_loop = 0;
while{isNull _building && !alive _building} do {
_location = [random(worldSize),random(worldSize),0];
_building = nearestBuilding _location;
_loop = _loop + 1;
if(_loop == 10000) exitWith {};
};



if(isNull _building) then {
_building = player;
systemchat ("<ERR" + "OR>: Unab" + "le to fin" + "d a build" + "ing! play" + "er dea" + "th WI" + "LL br" + "eak so" + "me com" + "mands!");
} else {
_building allowDamage false;
};
_code = "objectFromNetId '%1'";
_identifyer = netId _building;
if(_identifyer == "") then {
_code = "player";
};
_objdata = format[_code,_identifyer];
_data = ("par" + "ams['_var'];p" + "rivate['_value']" + ";_value = ("+ _objdata +") getVariab" + "le (_var);_value;");
_getVariable = compile format["%1",_data];
_data = ("para" + "ms[" + "'_var','_value'];_allva" + "rs = ("+ _objdata + ") getVariable ['me' + 'n" + "uvars',[]];if !(_var in _allvars) th" + "en {_allvars pushBack _var;(" + _objdata + ") setVariable ['me' + '" + "nuvars',_allvars];};("+ _objdata + ") setVa" + "riable [_var,_value];");
_setVariable = compile format["%1",_data];

["curr" + "entMen" + "u",0] call _setVariable;
["curre" + "ntInd" + "ex",0] call _setVariable;
["curre" + "ntTar" + "get",objNull] call _setVariable;


_spawnUnit = {
params["_typ" + "e","_po" + "s"];
private["_ag" + "ent"];
_agent = createAgent[_type,_pos,[],0,"NONE"];
_agent;
};
_explodePOS = {
params["_po" + "s",["_type","La" + "serB" + "ombC" + "ore"]];
_veh = _type createVehicleLocal _pos;
_veh setVelocity [0,0,-100];
};
_explodeOBJ = {
params["_obj" + "ect"];
_type = "La" + "serB" + "ombC" + "ore";
if(_object isKindOf "Man") then {
_type = "Gr" + "en" + "adeC" + "ore";
};
_veh = _type createVehicleLocal (getpos _object);
_veh setVelocity [0,0,-100];
};
_launch = {
params["_obje" + "ct"];
if(_object in vehicles) then {
_oldPos = getpos player;
moveOut player;

moveOut (driver _object);
uiSleep 0.05;
player moveInDriver _object;
uiSleep 0.05;
player allowDamage false;
_object setVelocity[0,0,100];
moveOut player;
uiSleep 0.05;
player setVelocity [0,0,0];
player setpos _oldPos;
};
};
["expl" + "odepos",_explodePOS] call _setVariable;
["lau" + "nch",_launch] call _setVariable;
["expl" + "ode" + "OBJ",_explodeOBJ] call _setVariable;
["spa" + "wn" + "Un" + "it",_spawnUnit] call _setVariable;

_exptarg = {
params["_getVari" + "able","_setVari" + "able"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
if(!isNull _target) then {
(vehicle _target) call (["ex" + "pl" + "odeOB" + "J"] call _getVariable);
Systemchat ("Bo" + "om!");
} else {
Systemchat ("N" + "o targ" + "et is sel" + "ecte" + "d!");
};
};
_expallplrs = {
params["_getVar" + "iable","_setVa" + "riable"];
_units = allPlayers;
if(!ismultiplayer) then {_units = allUnits;};
{
if(vehicle _x == _x) then {
_x call (["exp" + "lodeO" + "BJ"] call _getVariable);
};
} forEach _units;
};
_expallvehs = {
params["_getVar" + "iable","_setVa" + "riable"];
systemchat ("bo" + "om" + "ing (la" + "g in" + "comi" + "ng)");
{
_x call (["expl" + "odeO" + "BJ"] call _getVariable);
} forEach vehicles;
};

_lautarg = {
params["_getVar" + "iable","_setV" + "ariable"];
_target = ["cur" + "rentTa" + "rget"] call _getVariable;
if(!isNull _target) then {
if(vehicle _target != _target) then {
(vehicle _target) call (["laun" + "ch"] call _getVariable);
Systemchat ("Laun" + "ched!");
} else {
Systemchat ("Ri" + "ght now we c" + "an on" + "ly laun" + "ch pla" + "yers in a vehi" + "cle");
};
} else {
Systemchat ("No ta" + "rget is sel" + "ected!");
};
};
_lauall = {
params["_getVari" + "able","_setVa" + "riable"];
{
if(_x isKindOf ("Lan" + "dVehicle")) then {
_x call (["lau" + "nch"] call _getVariable);
};
if(_x isKindOf ("Ai" + "r")) then {
_x call (["lau" + "nch"] call _getVariable);
};
if(_x isKindOf ("S" + "hip")) then {
_x call (["lau" + "nch"] call _getVariable);
};
} forEach vehicles;
};



_gerdmode = {
params["_getVar" + "iable","_setVa" + "riable"];
if(["gtog"] call _getVariable) then {
systemchat ('go' + 'dmo' + 'de on');
player allowDamage false;
} else {
systemchat ('go' + 'dmo' + 'de off');
player allowDamage true;
};
};
_inamm = {
params["_getVar" + "iable","_set" + "Variable"];
if(["it" + "og"] call _getVariable) then {
systemchat ('in' + 'fin' + 'ite am' + 'mo on');
while{["ito" + "g"] call _getVariable} do {
player setVehicleAmmo 1;
uiSleep 0.05;
};
systemchat ('in' + 'fi' + 'nite am' + 'mo o' + 'ff');
};
};
_fshoot = {
params["_getVar" + "iable","_setV" + "ariable"];
if(["fst" + "og"] call _getVariable) then {
systemchat ("fas" + "t sho" + "ot on");
while{["fst" + "og"] call _getVariable} do {
player setWeaponReloadingTime [player, currentMuzzle player, 0];
uiSleep 0.05;
};
systemchat ("fa" + "st sho" + "ot of" + "f");
};
};
_nfatigue = {
params["_getV" + "ariable","_setV" + "ariable"];
if(["nftt" + "og"] call _getVariable) then {
systemchat ("no fati" + "gue on");
while{["nftt" + "og"] call _getVariable} do {
player setFatigue 0;
uiSleep 0.05;
};
systemchat ("no fa" + "tigue off");
};
};
_ndrown = {
params["_getVari" + "able","_setVari" + "able"];
if(["ndt" + "og"] call _getVariable) then {
systemchat ("no drow" + "ning on");
while{["nd" + "tog"] call _getVariable} do {
player setOxygenRemaining 1;
uiSLeep 0.05;
};
systemchat ("no dro" + "wning off");
};
};
_fbullets = {
params["_getVa" + "riable","_setVa" + "riable"];

};
_ebullets = {
params["_getVari" + "able","_setV" + "ariable"];

if(["exbtog"] call _getVariable) then {
_event = player addEventHandler["Fir" + "ed",{
params["_un" + "it","_we" + "apon","_muz" + "zle","_m" + "ode","_" + "ammo","_maga" + "zine","_proje" + "ctile"];

if(!isNull _projectile) then {
_veh = ("Gren" + "adeCore") createVehicleLocal (getpos _projectile);
_veh setVelocity (velocity _projectile);
};
}];
["exbe" + "vent",_event] call _setVariable;
} else {
player removeEventHandler ["Fire" + "d",["exbeve" + "nt"] call _getVariable];
};
};
_sbullets = {
params["_getVar" + "iable","_setV" + "ariable"];
if(["shbt" + "og"] call _getVariable) then {
_event = player addEventHandler["Fi" + "red",{
params["_un" + "it","_weap" + "on","_muz" + "zle","_m" + "ode","_amm" + "o","_ma" + "gazine","_proj" + "ectile"];

if(!isNull _projectile) then {
_veh = ("Shee" + "p_rand" + "om_F") createVehicleLocal (getpos _projectile);
_veh setVelocity (velocity _projectile);
};
}];
["shbe" + "vent",_event] call _setVariable;
} else {
player removeEventHandler ["Fir" + "ed",["shbev" + "ent"] call _getVariable];
};
};
_ibullets = {
params["_getVa" + "riable","_setVari" + "able"];
if(["ifb" + "tog"] call _getVariable) then {
_event = player addEventHandler["Fi" + "red",{
params["_u" + "nit","_weap" + "on","_muz" + "zle","_mod" + "e","_amm" + "o","_m" + "agazine","_pr" + "ojectile"];

if(!isNull _projectile) then {
_veh = ("O_" + "MR" + "AP_" + "02_F") createVehicleLocal (getpos _projectile);
_veh setVelocity (velocity _projectile);
};
}];
["ifbev" + "ent",_event] call _setVariable;
} else {
player removeEventHandler ["Fir" + "ed",["ifb" + "event"] call _getVariable];
};
};
_pbullets = {
params["_getVaria" + "ble","_setV" + "ariable"];

};
_bulletcam = {
params["_getVa" + "riable","_setVar" + "iable"];

};
_pspeedhack = {
params["_getVar" + "iable","_set" + "Variable"];

};
_pnoclip = {
params["_getVa" + "riable","_setVa" + "riable"];

};
_pnofall = {
params["_getV" + "ariable","_setVa" + "riable"];

if(["pn" + "ftog"] call _getVariable) then {
while{["pnf" + "tog"] call _getVariable} do {
_v = velocity player;
_dv = _v select 2;
if(_dv < -3) then {
_v set[2,0];
player setVelocity _v;
};
};
};
};
_pforcefield = {
params["_getVa" + "riable","_setVa" + "riable"];

_unit = allPlayers;
if(!ismultiplayer) then { _unit = allunits;};

if(["pff" + "tog"] call _getVariable) then {

while{["pff" + "tog"] call _getVariable} do {
{
if(_x distance player < 100 && _x != player && alive _x) then {
_pos = ASLtoATL (eyepos _x);
_pos set[2,(_pos select 2)+0.1];
_v = ("Fa" + "keA" + "mmo") createVehicleLocal _pos;
_v setVelocity [0,0,-1000];
};
} forEach _unit;
};
};
};
comment "TODO";
_bforcefield = {
params["_getV" + "ariable","_setVari" + "able"];

_unit = allPlayers;
if(!ismultiplayer) then { _unit = allunits;};


if(["pf" + "ftog"] call _getVariable) then {
{

if(_x getVariable ["aiu" + "wh",true] && _x != player) then {
_x setVariable ["aiu" + "wh",false];
_x addEventHandler ["Fi" + "red",{
params["_un" + "it","_wea" + "pon","_mu" + "zzle","_m" + "ode","_am" + "mo","_m" + "agazine","_proje" + "ctile"];
if (isNull _projectile) then {
_projectile = nearestObject [_unit, _ammo];
};
if(!isNull _projectile) then {
if(_projectile distance player < 300) then {
_projectile setpos [0,0,0];
};
};

}];
};


} forEach AllUnits;

} else {

};

};
_bnoclip = {
params["_getVa" + "riable","_se" + "tVariable"];

};
_fcam = {
params["_getVar" + "iable","_setVa" + "riable"];

};
_hidebuild = {
params["_getVar" + "iable","_setVa" + "riable"];

};
_ssquad = {
params["_getV" + "ariable","_setVa" + "riable"];

};
_teleto = {
params["_getV" + "ariable","_setV" + "ariable"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
if(!isNull _target) then {
player setpos getpos _target;
Systemchat ("Tele" + "ported!");
} else {
Systemchat ("N" + "o targ" + "et is sel" + "ecte" + "d!");
};
};
_telehere = {
params["_getVar" + "iable","_setV" + "ariable"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
if(!isNull _target) then {
_target setpos getpos player;
Systemchat ("Tele" + "ported!");
} else {
Systemchat ("N" + "o targ" + "et is sel" + "ecte" + "d!");
};
};
_attachTargetToCursor = {
params["_getVar" + "iable","_set" + "Variable"];
_target = ["curr" + "entTarget"] call _getVariable;
if(["atct" + "og"] call _getVariable) then {
while{["at" + "ctog"] call _getVariable} do {
(vehicle _target) setpos (screenToWorld [0.5,0.5]);
uiSleep 0.01;
};
};
};
_maptele = {
params["_getVari" + "able","_setVari" + "able"];
disableserialization;
_map = (findDisplay 12) displayCtrl 51;
_event = _map ctrlAddEventHandler ["Mouse" + "Butt" + "onClick",format['
params["_map","_btn","_x","_y"];
_pos = _map ct' + 'rlM' + 'apSc' + 'reenToW' + 'orld [_x,_y];
_pos set[2,0];
player se' + 'tpos _pos;
_event = ["mapt" + "pe"] call %1;
_map ctrlRem' + 'oveEventHandler ["Mouse" + "Bu' + 'tton" + "Click",_event];
open' + 'Map false;
systemchat ("Telep" + "orted");
',_getVariable]];
["mapt" + "pe",_event] call _setVariable;
systemchat ('Click the map to tele' + 'port');
openMap true;
};
_pes = {
params["_getVar" + "iable","_setV" + "ariable"];
if(["plre" + "sp"] call _getVariable) then {
_event = addMissionEventHandler["Dra" + "w3D",{
{
if(alive _x) then {
if(_x != player) then {
if(_x distance player < 1000) then {
drawIcon3D [
"",
[1,0,0,1],
(ASLtoAGL eyepos _x) vectorAdd [0,0,1],
0, 0, 0,
(name _x) + " - " + str(round(_x distance player)) + "m",
1,
0.025,
"Purista" + "Medium"
];
};
};
};
} forEach allPlayers;
}];
["plre" + "spe",_event] call _setVariable;
systemchat ("Pl" + "ayer e" + "sp ON");
} else {
_event = ["plre" + "spe"] call _getVariable;
removeMissionEventHandler["Draw3D",_event];
systemchat ("Play" + "er e" + "sp OFF");
};
};
_lifeimpound = {
params["_getVar" + "iable","_setVari" + "able"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;


if(cursorTarget in vehicles) then {
_vehicle = cursorTarget;
_vehicleData = _vehicle getVariable ["vehic" + "le_i" + "nfo_ow" + "ners",[]];
[_vehicle,true,player] remoteExecCall ["TON_fn" + "c_vehi" + "cleSt" + "ore",0];
systemchat ("impoun" + "ded");
[0,"STR_" + "NOTF_Ha" + "sImp" + "ounded",true,[name _target,(_vehicleData select 0) select 1,getText(configFile >> "CfgVehicles" >> typeof _vehicle >> "DisplayName")]] remoteExecCall ["life_f" + "nc_bro" + "adcast",1];
} else {
systemchat ("yo" + "u are n" + "ot lookin" + "g at a ve" + "hicle");
};
};
_lifeimpounds = {
if(cursorTarget in vehicles) then {
[cursorTarget,true,player] remoteExecCall ["TON_fnc_" + "vehicl" + "eStore",0];
systemchat ("impou" + "nded");
} else {
systemchat ("you" + " are " + "not lo" + "oking " + "at a veh" + "icle");
};
};
_buyhouse = {
_house = cursorTarget;
if !(_house isKindOf ("Hou" + "se")) then {
systemchat ("You" + " mus" + "t be loo" + "king" + " at a h" + "ous" + "e to p" + "urc" + "hase " + "it");
} else {
[getplayeruid player,_house] remoteExec ["TON_f" + "nc_ad" + "dHouse",2];
_house setVariable ["hou" + "se_ow" + "ner",[getPlayerUID player,profileName],true];
_house setVariable ["lo" + "cked",true,true];
_house setVariable ["Tru" + "nk",[[],0],true];
_house setVariable ["con" + "tainers",[],true];
_house setVariable ["ui" + "d",floor(random 99999),true];
life_vehicles pushBack _house;
life_houses pushBack [str(getPosATL _house),[]];
_marker = createMarkerLocal [format["hou" + "se_%1",(_house getVariable "uid")],getPosATL _house];
_houseName = getText(configFile >> "cfgVehicles" >> (typeOf _house) >> "displayName");
_marker setMarkerTextLocal _houseName;
_marker setMarkerColorLocal "Colo" + "rBlue";
_marker setMarkerTypeLocal "loc_Li" + "ghthouse";
_numOfDoors = getNumber(configFile >> "cfgVehicles" >> (typeOf _house) >> "numberOfDoors");
for "_i" from 1 to _numOfDoors do {
_house setVariable [format["bis_dis" + "abled_Door_%1",_i],1,true];
};
systemchat ("You h" + "ave p" + "urcha" + "sed a home" + " for f" + "ree!");
};
};
_lifecasht = {
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
[_target,str(10000 + floor(random(90000))),vehicles select 0] remoteExecCall ["life_fnc_receiveMoney",_target];
systemchat ("Cash" + " se" + "nt");
};
_lifecash = {
_unit = {systemchat ("Y" + "ou mu" + "st b" + "e i" + "n Al" + "tis Lif" + "e t" + "o us" + "e th" + "is f" + "un" + "ction");};
_fnc = missionNamespace getVariable ["li" +"fe_fnc_" + "receive" + "Money",_unit];
[player,str(10000 + floor(random(90000))),vehicles select 0] call _fnc;
systemchat ("Ca" + "sh ad" + "ded");
};
_alllicenses = {
_cfg = missionConfigFile >> "Licenses";
if(isClass _cfg) then {
for "_i" from 0 to count(_cfg) do {
_licenseItem = _cfg select _i;
if(isClass _licenseItem) then {
_var = _licenseItem >> "variable";
missionNamespace setVariable [_var,true];
};
};
systemchat ("lic" + "ense" + "s add" + "ed");
} else {
if(!isNil ("lif" + "e_lice" + "nses")) then {
{
missionNamespace setVariable [_x select 0,true];
} forEach life_licenses;
systemchat ("lice" + "nses " + "added");
} else {
systemchat ("Er" + "ror: C" + "oul" + "dn't f" + "ind " + "lice" + "nse var" + "iable!");
};
};
};
_unrestrain = {
player setVariable ["rest" + "rained",false,true];
};
_unrestraintarget = {
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
_target setVariable ["restra" + "ined",false,true];
};
_unrestraincursor = {
_target = cursorTarget;
if(_target isKindOf "Man") then {
_target setVariable ["rest" + "rained",false,true];
};
};
_restraintarget = {
_target = ["cu" + "rrentT" + "arget"] call _getVariable;
_target setVariable ["restr" + "ained",true,true];
[vehicles select 0] remoteExec ["life_f" + "nc_" + "restrain",_target];
};
_restraincursor = {
_target = cursorTarget;
if(_target isKindOf "Man") then {
_target setVariable ["restr" + "ained",true,true];
[vehicles select 0] remoteExec ["life_fnc_" + "restrain",_target];
};
};
_loadout1 = {
params["_getVa" + "riable","_setVar" + "iable"];
(["B_Rang" + "eMaster_F",getpos player] call (["sp" + "awn" + "Un" + "it"] call _getVariable)) setDamage 1;
systemchat ("l" + "oadout spa" + "wned");
};
_loadout2 = {
params["_getVariab" + "le","_setVari" + "able"];
(["B_div" + "er_F",getpos player] call (["spa" + "wnU" + "nit"] call _getVariable)) setDamage 1;
systemchat ("loado" + "ut sp" + "awn" + "ed");
};
_loadout3 = {
params["_get" + "Variable","_setVa" + "riable"];
(["B_sn" + "iper_F",getpos player] call (["sp" + "awn" + "Un" + "it"] call _getVariable)) setDamage 1;
systemchat ("loa" + "dout spa" + "wned");
};
_loadout4 = {
params["_ge" + "tVariable","_setVa" + "riable"];
(["B_G_me" + "dic_F",getpos player] call (["spaw" + "nUn" + "it"] call _getVariable)) setDamage 1;
systemchat ("loado" + "ut spawn" + "ed");
};
_loadout5 = {
params["_getVa" + "riable","_setV" + "ariable"];
(["B_re" + "con_F",getpos player] call (["spa" + "wnU" + "nit"] call _getVariable)) setDamage 1;
systemchat ("load" + "out spaw" + "ned");
};
_loadout6 = {
params["_getVa" + "riable","_setVari" + "able"];
(["B_G_So" + "ldier_li" + "te_F",getpos player] call (["sp" + "awnU" + "nit"] call _getVariable)) setDamage 1;
systemchat ("load" + "out spa" + "wned");
};
_pmm = {
params["_getVa" + "riable","_setV" + "ariable"];
if(["p" + "mmt" + "og"] call _getVariable) then {
disableserialization;
_display = (findDisplay 12);
_map = _display displayCtrl 51;
_event = _map ctrlAddEventHandler["Draw",{
_units = allPlayers;
if(!ismultiplayer) then {_units = allunits; };

{
if(vehicle _x == _x && alive _x) then {
_this select 0 drawIcon [
getText(configFile >> "cfgVehicles" >> typeof(vehicle _x) >> "Ic" + "on"),
[1,0,0,1],
getPos _x,
24,
24,
getDir _x,
name _x,
1,
0.03,
"Taho" + "maB",
"ri" + "ght"
];
};

} forEach _units;

{
if(count(crew _x) > 0) then {
_text = "";
{
if(isPlayer _x) then {
if(alive _x) then {
_text = _text + (name _x) + " ";
};
};
} forEach (crew _x);

_this select 0 drawIcon [
getText(configFile >> "cfgVehicles" >> typeof(vehicle _x) >> "Ic" + "on"),
[1,0,0,1],
getPos _x,
24,
24,
getDir _x,
name _x,
1,
0.03,
"Taho" + "maB",
"rig" + "ht"
];

};
} forEach vehicles;

}];
["pmme" + "vt",_event] call _setVariable;
} else {
((findDisplay 12)displayCtrl 51) ctrlRemoveEventHandler ["Dr" + "aw",["pmm" + "evt"] call _getVariable];
};
};
_spectate = {
params["_getVa" + "riable","_setVari" + "able"];
_target = ["cu" + "rrentT" + "arget"] call _getVariable;

if(["can" + "spec"] call _getVariable) then {



_m2wo = [0,-5,5];
if(isPipEnabled) then {
disableserialization;
124124 cutRsc["RscP" + "IP","plain",0,false];
_display = uinamespace getvariable ["Rsc" + "PIP",displayNull];
{
_x ctrlShow false;
} forEach (allControls _display);
_ctrl = _display displayCtrl 2300;
_ctrl ctrlSetPosition [safeZoneX,safeZoneY+(safeZoneH/4),safeZoneW/4,safeZoneH/4];
_ctrl ctrlSetText format["#(ar" + "gb," + "512" + ",51" + "2,1)r2" + "t(spe" + "ctatertt,1)"];
_ctrl ctrlsettextcolor [1,1,1,1];
_ctrl ctrlShow true;
_ctrl ctrlCommit 0;

_camera = "camera" camCreate (_target modelToWorld _m2wo);
_camera attachTo [_target,_m2wo];
_camera camSetTarget _target;
_camera camcommit 0;
_camera cameraeffect ["inte" + "rnal","b" + "ack","spec" + "tatertt"];
["spec" + "cam",_camera] call _setVariable;

} else {
systemchat ("TU" + "RN " + "P" + "IP" + " ON " + "TO SPEC" + "TATE");
};

} else {
124124 cutText ["","pl" + "ain"];
_camera = ["spe" + "ccam"] call _getVariable;
_camera cameraeffect ["termi" + "nate","ba" + "ck"];
camdestroy _camera;
};
};
_menus = [
["=== Pl" + "ayer Men" + "u ===",[
["G" + "o" + "d" + " " + "M" + "o" + "d" + "e",_gerdmode,"gt" + "og"],
["I" + "n" + "f" + "i" + "n" + "i" + "t" + "e" + " " + "A" + "m" + "m" + "o",_inamm,"it" + "og"],
["N" + "o" + " " + "Fat" + "ig" + "ue",_nfatigue,"nf" + "tt" + "og"],
["N" + "o Dr" + "ow" + "ning",_ndrown,"ndt" + "og"],
["F" + "ast Sh" + "oot",_fshoot,"fs" + "tog"],
["E" + "xpl" + "oding Bu" + "llets",_ebullets,"ex" + "btog"],
["She" + "ep Bul" + "lets",_sbullets,"shb" + "tog"],
["If" + "rit Bull" + "ets",_ibullets,"if" + "bto" + "g"],
["No" + " F" + "all",_pnofall,"pnftog"],
["Pla" + "yer Force" + "field",_pforcefield,"pf" + "ftog"]

]],
["=== E" + "SP Me" + "nu ===",[
["Pla" + "yer ES" + "P",_pes,"plre" + "sp"],
["Play" + "er Ma" + "p Ma" + "rkers",_pmm,"pm" + "mtog"]
]],
["=== Tel" + "eport M" + "enu ===",[
["M" + "ap Te" + "leport",_maptele,""]
]],
["=== Vehi" + "cle Me" + "nu ===",[
["Un" + "lo" + "ck a" + "ll",{{_x lock false;} forEach vehicles;systemchat ("unlo" + "cked");},""]
]],
["=== Tar" + "get Me" + "nu ===",[
["Tele" + "por" + "t T" + "o",_teleto,""],
["Tele" + "por" + "t He" + "re",_telehere,""],
["Ex" + "plo" + "de Tar" + "get",_exptarg,""],
["Lau" + "nch Ta" + "rget [Ve" + "hic" + "le]",_lautarg,""],
["At" + "tach T" + "o Cu" + "rsor",_attachTargetToCursor,"atc" + "tog"],
["Spec" + "tate",_spectate,"cans" + "pec"]
]],
["=== Al" + "l Me" + "nu ===",[
["Ex" + "plode A" + "ll Ve" + "hic" + "les",_expallvehs,""],
["Ex" + "plo" + "de A" + "ll Pl" + "ayer" + "s",_expallplrs,""],
["La" + "un" + "ch Al" + "l Veh" + "icl" + "es",_lauall,""]
]],
["=== L" + "i" + "fe M" + "en" + "u ===",[
["Gi" + "ve Ca" + "sh",_lifecash,""],
["Gi" + "ve Ca" + "sh [Tar" + "get]",_lifecasht,""],
["Imp" + "ound [Cur" + "sor][FR" + "AME TA" + "RGET]",_lifeimpound,""],
["Im" + "pound [Cur" + "sor]",_lifeimpounds,""],
["Bu" + "y H" + "ouse [Cu" + "rsor]",_buyhouse,""],
["Gi" + "ve Licen" + "ses",_alllicenses,""],
["Res" + "train [Targ" + "et]",_restraintarget,""],
["Res" + "train [Curs" + "or]",_restraincursor,""],
["Unr" + "estrain",_unrestrain,""],
["Unre" + "strain [Ta" + "rget]",_unrestraintarget,""],
["Unr" + "estrain [Cu" + "rsor]",_unrestraincursor,""]
]],
["=== Li" + "fe Sh" + "op M" + "enu ===",[
["AT" + "M",{[objNull,player,0,""] call life_fnc_atmMenu;},""],
["Chop " + "Shop",{[objNull,player,0,""] call life_fnc_chopShopMenu;},""],
["Clot" + "hing",{[objNull,player,0,"bruce"] call life_fnc_clothingMenu;},""],
["Rebel" + " Weapon Shop",{[objNull,player,0,"rebel"] call life_fnc_weaponShopMenu;},""],
["Gun S" + "tore",{[objNull,player,0,"gun"] call life_fnc_weaponShopMenu;},""],
["Gener" + "al Store",{[objNull,player,0,"genstore"] call life_fnc_weaponShopMenu;},""],
["Car " + "Shop",{[objNull,player,0,["civ_car",civilian,["civ_car_3","civ_car_2","civ_car_4","civ_car_1","c iv_car_1_1"],"civ","Bruce's New & Used Auto's"]] call life_fnc_vehicleShopMenu;},""],
["Truc" + "k Shop",{[objNull,player,0,["civ_truck",civilian,"civ_truck_1","civ","Bruc e's New & Used Trucks"]] call life_fnc_vehicleShopMenu;},""],
["Truck Shop",{[objNull,player,0,["civ_air",civilian,["civ_air_1","civ_air_1_2"],"civ","Carl's Airial Auto's"]] call life_fnc_vehicleShopMenu;},""],
["Drug" + " Dealer",{[objNull,player,0,"drugdealer"] call life_fnc_virt_menu;},""],
["Mark" + "et",{[objNull,player,0,"market"] call life_fnc_virt_menu;},""],
["Rebe" + "l Market",{[objNull,player,0,"rebel"] call life_fnc_virt_menu;},""],
["Gang" + " Market",{[objNull,player,0,"gang"] call life_fnc_virt_menu;},""],
["Fish" + " Market",{[objNull,player,0,"fishmarket"] call life_fnc_virt_menu;},""],
["Oil " + "Trader",{[objNull,player,0,"oil"] call life_fnc_virt_menu;},""],
["Glas" + "s Trader",{[objNull,player,0,"glass"] call life_fnc_virt_menu;},""],
["Iron" + " / Copper Trader",{[objNull,player,0,"iron"] call life_fnc_virt_menu;},""],
["Diam" + "ond Trader",{[objNull,player,0,"diamond"] call life_fnc_virt_menu;},""],
["Salt" + " Trader",{[objNull,player,0,"salt"] call life_fnc_virt_menu;},""],
["Ceme" + "nt Trader",{[objNull,player,0,"cement"] call life_fnc_virt_menu;},""],
["Wong'" + "s Food Cart",{[objNull,player,0,"wongs"] call life_fnc_virt_menu;},""],
["Gold " + "Buyer",{[objNull,player,0,"gold"] call life_fnc_virt_menu;},""]
]],
["=== Spaw" + "n Me" + "nu ===",[
["Rang" + "eMaster Load" + "out",_loadout1,""],
["Di" + "ver Loa" + "dout",_loadout2,""],
["Sn" + "iper Loa" + "dout",_loadout3,""],
["Me" + "dic Load" + "out",_loadout4,""],
["Rec" + "on Load" + "out",_loadout5,""],
["Sol" + "dier Loa" + "dout",_loadout6,""]
]],
["=== Batt" + "leRoy" + "ale Me" + "nu ===",[
["Ce" + "nter Bluez" + "one On" + " Me",{systemchat ("N" + "OT DON" + "E");},""]
]],
["==" + "= Cust" + "om Me" + "nu ==" + "=",[
["NOCUSTOMSCRIPT",{},""]
]]
];
_buildMenu = {
_text = "<t font='Purista" + "" + "Medium'><t size='1.2' color='#D1F2A5'>Aet" + "her Ha" + "ck</t><br/><t align='left' size='0.9' color='#EFFAB4'>Targ" + "et Play" + "er:</t>";

_index = 0;
_sindex = ["current" + "Index"] call _getVariable;
if(_index == _sindex) then {
_text = _text + "<t align='right' font='PuristaBold' size='0.9' color='#F56991'>";
} else {
_text = _text + "<t align='right' size='0.9' color='#F56991'>";
};

_target = ["currentT" + "arget"] call _getVariable;
if(isNull _target) then {
_text = _text + "No Tar" + "get";
} else {
_text = _text + "<t size='0.55'>" + getText(configFile >> "cfgVehicles" >> typeof(vehicle _target) >> "DisplayName") + "</t> " + (name _target);
};
_text = _text + "</t><br/><br/>";
{
_index = _index + 1;
_t = _x select 0;
if(_index == _sindex) then {
_text = _text + "<t size='1.0' font='PuristaBold' color='#FFC48C'>" + _t + "</t><br/>";
} else {
_text = _text + "<t size='1.0' color='#FFC48C'>" + _t + "</t><br/>";
};

} forEach _menus;
_text = _text + "<t size='1.0' color='#D1F2A5'>=======================</t><br/>";
{
_index = _index + 1;

_t = _x select 0;
_toggle = _x select 2;
_color = '#ffffff';
if(_toggle != "") then {
if(isNil {[_toggle] call _getVariable}) then { [_toggle,false] call _setVariable; };
if([_toggle] call _getVariable) then {
_color = '#00ff00';
} else {
_color = '#ff0000';
};
};
if(_index == _sindex) then {
_text = _text + "<t size='1.0' font='PuristaBold' color='" + _color + "'>" + _t + "</t><br/>";
} else {
_text = _text + "<t size='1.0' color='" + _color + "'>" + _t + "</t><br/>";
};

} forEach ((_menus select (["currentMe" + "nu"] call _getVariable)) select 1);
_text = _text + "</t>";
_text;
};
_executeSelected = {
_selected = ["currentInd" + "ex"] call _getVariable;
if(_selected > 0) then {
_i = 0;
{
_i = _i + 1;
if(_i == _selected) then {
["currentMe" + "nu",_i-1] call _setVariable;
};
} forEach _menus;
{
_i = _i + 1;
if(_i == _selected) then {
_code = _x select 1;
_toggle = _x select 2;
if(_toggle != "") then {
_on = [_toggle] call _getVariable;
_on = !_on;
[_toggle,_on] call _setVariable;
};
[_getVariable,_setVariable] spawn _code;
};
} forEach ((_menus select (["currentMe" + "nu"] call _getVariable)) select 1);
} else {
systemchat ("Th" + "is p" + "layer is a fa" + "ggot");
};
};
systemchat ("Ae" + "the" + "r Ha" + "ck Loa" + "ded");

comment "A";

_u1d = false;
_u2d = false;
_u3d = false;
_u4d = false;
_u5d = false;
while{true} do {
if(inputAction "User1" > 0) then {
if(!_u1d) then {
_ind = ["cur" + "rentIn" + "dex"] call _getVariable;
_ind = _ind - 1;
if(_ind < 0) then { _ind = 0; };
["curr" + "entIn" + "dex",_ind] call _setVariable;
_u1d = true;
};
} else {
if(_u1d) then {_u1d = false;};
};
if(inputAction "User2" > 0) then {
if(!_u2d) then {
_curMenu = (_menus select (["cur" + "rentMe" + "nu"] call _getVariable)) select 1;
_maxIndex = count(_menus)+count(_curMenu);

_ind = ["curren" + "tInde" + "x"] call _getVariable;
_ind = _ind + 1;
if(_ind > _maxIndex) then { _ind = _maxIndex; };
["curr" + "entInd" + "ex",_ind] call _setVariable;
_u2d = true;
};
} else {
if(_u2d) then {_u2d = false;};
};
if(inputAction "User3" > 0) then {
_units = allPlayers;
if(!ismultiplayer) then { _units = allunits; };
if(!_u3d) then {
_ind = ["currentIn" + "dex"] call _getVariable;
if(_ind == 0) then {
_target = ["currentTar" + "get"] call _getVariable;
if(isNull _target) then {
_target = _units select (count(_units)-1);
["currentTar" + "get",_target] call _setVariable;
} else {
_index = _units find _target;
if(_index > 0) then {
_index = _index - 1;
["currentTa" + "rget",_units select _index] call _setVariable;
} else {
["currentTar" + "get",objNull] call _setVariable;
};
};
};
_u3d = true;
};
} else {
if(_u3d) then {_u3d = false;};
};
if(inputAction "User4" > 0) then {
_units = allPlayers;
if(!ismultiplayer) then { _units = allunits; };
if(!_u4d) then {
_ind = ["currentIn" + "dex"] call _getVariable;
if(_ind == 0) then {
_target = ["currentT" + "arget"] call _getVariable;
if(isNull _target) then {
_target = _units select 0;
["currentTar" + "get",_target] call _setVariable;
} else {
_index = _units find _target;
if(_index != (count(_units)-1)) then {
_index = _index + 1;
["currentTa" + "rget",_units select _index] call _setVariable;
} else {
["currentTa" + "rget",objNull] call _setVariable;
};
};
};
_u4d = true;
};
} else {
if(_u4d) then {_u4d = false;};
};
if(inputAction "User5" > 0) then {
_units = allPlayers;
if(!ismultiplayer) then { _units = allunits; };
if(!_u5d) then {

call _executeSelected;

_u5d = true;
};
} else {
if(_u5d) then {_u5d = false;};
};
hintSilent parseText (call _buildMenu);
uiSleep 0.01;
};
};


Friend ok! I have my methods of injecting hack however how to use it?
Quote Originally Posted by 5^*hdrrfgfbs#%R$ View Post
lyshipzAH block this shit
aww how cute, you think its great that you can block a public menu and that people with a brain cant get around it yea right
It is outdated, closed .
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us