• We just launched and are currently in beta. Join us as we build and grow the community.

Dayz Standalone menu scripts

Rrrarrgg

Newbie
R Rep
0
0
0
Rep
0
R Vouches
0
0
0
Vouches
0
Posts
113
Likes
28
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 300 XP
Dayz Standalone best Bigest menu hack working .
This Menu Is Mine
Just Inject And press (N) On Game and Annther Menu press Left Alt
working on pirate Dayz SA and Orginal Dayz SA Im tested
u need Battleye Bypass and i injector to inject this script
I Have Bypass Battleye and Executor PM Me If u Need R \ LThx.
1 Infinity ammo
2 No Bulding
3 No Grass
4 Explode Shoot
5 Inventory hack
6 Magnet Item
7 Kill Player
8 Tp Player
9 Teleport Vehicle
10 Morphine
11 ESP Simple
12 No Recoil
13 Fast Walk
14 Bullet Cam
15 Third Person
16 Fast Shoot
17 No Blur and Full Colour
18 Time Day
19 ESP full
20 Respawn
21 FreeCam
22 MapTp
23 ZombieSheld
24 PlayerSheld
25 HeliEsp
26 Suicide
And much more scripts in one menu
hint "Code INJECTED SUCCESSFULLY";
if (isnil ("runonce")) then
{
runonce = true;
};
if (runonce) then
{
player_queued =
{
_id = _this select 0;
myplayeruid = _id;
titleText ["","BLACK FADED",0];
setAperture 0;
_alive = _this select 1;
if (!_alive) then
{
clientNew = [13,[1,0,0],_id];
publicVariableServer "clientNew";
}
else
{
clientReady = _id;
publicVariableServer "clientReady";
};
};
runonce = false;
whitelist = [];
whitelist = profileNamespace getVariable ["whitelist",[]];
isUnderRoof = {_swag = 1337;_swag};
keybindz2 = {
switch (_this) do {
case 184: {
closedialog 0;
createDialog "RscDisplayRemoteMissions";
sleep 1;
["" + "John is awesome" + "",0,0,0,0,5] spawn johnscrpt_drawit2;
lbAdd [101, "ESP"];
lbAdd [101, "BODY ESP"];
lbAdd [101, "WRECK ESP"];
lbAdd [101, "Dupe Body"];
lbAdd [101, "Fly"];
lbAdd [101, "Fast Walk"];
lbAdd [101,"Head Shake"];
lbAdd [101, "Zombie shield"];
lbAdd [101, "Crash Server"];
lbAdd [101, "View Gear"];
lbAdd [101, "Remove Building"];
lbAdd [101, "Item Filter"];
lbAdd [101, "Free Cam"];
lbAdd [101, "No Recoil"];
lbAdd [101, "No Grass"];
lbAdd [101, "Attachto [T]"];
lbAdd [101, "Spectate [T]"];
lbAdd [101, "Shoot em [T]"];
lbAdd [101, "Break Leg [T]"];
lbAdd [101, "Knock em out [T]"];
lbAdd [101, "Remove Weapon[T]"];
lbClear 104;
lbadd [104, "All Players"];
ctrlShow [1013, false];
ctrlShow [1015, false];
ctrlShow [134, false];
ctrlShow [1002, false];
ctrlShow [132, false];
ctrlShow [109, false];
ctrlShow [1004, false];
ctrlShow [1006, false];
ctrlShow [131, false];
ctrlShow [1085, false];
ctrlShow [1086, false];
ctrlShow [1011, false];
ctrlShow [123, false];
ctrlShow [1, false];
ctrlShow [2, false];
ctrlShow [1082, false];
ctrlShow [130, false];
ctrlSetText [1010, " Scripts"];
ctrlSetText [1008, " Players"];
ctrlSetText [1012, " Items:"];
ctrlSetText [1000, "MENN johnMen"];
_display = (findDisplay 17);
_control = _display displayCtrl 101;
_control ctrlSetPosition [safezoneX + 0.21 * safezoneW, safezoneY + 0.12 * safezoneH, safezoneW * 0.275, safezoneH * 0.79];
_control ctrlSetEventHandler ["LBDblClick", "[lbtext [101, (lbCurSel 101)]] spawn johnscrpt_ran;"];
_control ctrlCommit 0;
[] spawn
{
_display = (findDisplay 17);
_control = _display displayCtrl 103;
_control ctrlSetPosition [safezoneX + 0.02 * safezoneW, safezoneY + 0.925 * safezoneH, safezoneW * 0.05, safezoneH * 0.05];
_control ctrlsettext "Add";
buttonSetAction [103,'[lbtext [104, (lbCurSel 104)]] spawn johnscrpt_addtowhitelist;'];
_control ctrlCommit 0;
};
[] spawn
{
_display = (findDisplay 17);
_control = _display displayCtrl 102;
_control ctrlSetEventHandler ["LBDblClick", "[lbtext [102, (lbCurSel 102)]] spawn johnscrpt_teleport;"];
_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
{
if ((_x != player) && !(_x isKindOf "Man")) then
{
_typeof = toArray typeof _x;
_typeof resize 5;
_typeof;
_typeof = toString _typeof;
if ((_typeof != "land_") && (_typeof != "#crat") && (_typeof != "") && (_typeof != "#part")) then
{
_index = _control lbAdd format ["%1",typeOf _x ];
};
};
} forEach _entities;
lbsort _control;
};
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if ((name _x != "unknown entity") && (alive _x)) then
{
_display = (findDisplay 17);
_control = _display displayCtrl 104;
_control ctrlSetPosition [safezoneX + 0.025 * safezoneW, safezoneY + 0.12 * safezoneH, safezoneW * 0.18, safezoneH * 0.79];
_control ctrlSetEventHandler ["LBDblClick", "[lbtext [104, (lbCurSel 104)]] spawn johnscrpt_target;"];
_control ctrlCommit 0;
_index = _control lbAdd (name _x);
_control lbSetPicture [_index, "\DZ\ui\data\map\vehicleicons\iconMan_ca.paa"];
_hand = primaryWeapon _x;
_wName = getText(configFile >> "cfgWeapons" >> _hand >> "displayName");
if (_wName != "") then
{
_control lbSetPicture [_index, "\DZ\ui\data\igui\cfg\islandmap\iconplayer_ca.paa"];
};
if (name _x == targetname ) then
{
_control lbSetPicture [_index, "\DZ\ui\data\igui\cfg\PeripheralVision\bloodTexture_ca.paa"];
};
_found = [getplayeruid _x,str whitelist] call InString;
if (_found) then
{
_control lbSetPicture [_index, "\DZ\ui\data\map\vehicleicons\iconTank_ca.paa"];
};
};
} forEach _entities;
[] spawn {
waitUntil {(58 in (toArray (ctrlText ((findDisplay 24) displayCtrl 101))))};
_text = ctrlText ((findDisplay 24) displayCtrl 101);[] spawn compile _text;((findDisplay 24) displayCtrl 101) ctrlSetText '';(findDisplay 24) closeDisplay 0;
};
};
};
};
nuke = false;
[] spawn
{
while {!(isNull (findDisplay 12))} do
{
sleep 5;
playerarray = [];
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if ((alive _x) && (_x != player)) then
{
playerarray = playerarray + [_x];
};
}foreach _entities;
};
};
johnscrpt_nukezz =
{
nuke = !nuke;taskhint ["nuke = " + str nuke, [1, 0, 0, 1], "taskCurrent"];
};
johnscrpt_russia =
{
_array = _this select 0;
_penis = _array select 1;
_penis2 = _array select 2;
_display = (findDisplay 12);
_control = _display displayCtrl 51;
_WorldCoord = _control ctrlMapScreenToWorld [_penis,_penis2];
if (nuke) then
{
_bullet = "laserbombcore" createvehiclelocal [_WorldCoord select 0, _WorldCoord select 1, 5];
_bullet setVelocity [0, 0, -50000];
systemchat str [_WorldCoord select 0, _WorldCoord select 1, 5];
};
};
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x4C) then
{
createdialog "RscDisplayMainMap";
waitUntil {!(isNull (findDisplay 12))};
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 0 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 1 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 2 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 3 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 4 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 5 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 6 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 7 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 8 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 9 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 10 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 11 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 12 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 13 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 14 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 15 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 16 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 0 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 17 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 18 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 19 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw","
(_this select 0) drawLine [
getPos player,
playerarray select 20 modeltoworld [0,0,1.20],
[0,0,1,1]
];
"];
for "_i" from 100 to 5000 do {
ctrlShow [_i, false];
};
_display = (findDisplay 12);
_control = _display displayCtrl 51;
_control ctrlSetEventHandler ["mousemoving","[_this] spawn johnscrpt_russia;"];
_control ctrlSetEventHandler ["mousebuttondblclick","[] spawn johnscrpt_nukezz;"];
}'];
waituntil {!isnull (finddisplay 46)};
(findDisplay 46) displayAddEventHandler ["KeyDown","_this select 1 call keybindz2;false;"];
keybindz = {
switch (_this) do {
case 42: {
if (johnscrpt_fastwalk == 1) then
{
johnscrpt_pos = [(getPos player select 0)+5*sin(getdir player),(getPos player select 1)+5*cos(getdir player)];
player setpos johnscrpt_pos;
};
};
};
};
waituntil {!isnull (finddisplay 46)};
(findDisplay 46) displayAddEventHandler ["KeyDown","_this select 1 call keybindz;false;"];
InString =
{
private ["_needle","_haystack","_needleLen","_hay","_found"];
_needle = [_this, 0, "", [""]] call BIS_fnc_param;
_haystack = toArray ([_this, 1, "", [""]] call BIS_fnc_param);
_needleLen = count toArray _needle;
_hay = +_haystack;
_hay resize _needleLen;
_found = false;
for "_i" from _needleLen to count _haystack do
{
if (toString _hay == _needle) exitWith {_found = true};
_hay set [_needleLen, _haystack select _i];
_hay set [0, "x"];
_hay = _hay - ["x"]
};
_found
};
fonzy_fnc_selectrandom = {
if (count _this > 0) then {
_this select (floor random (count _this));
} else {
["Array has no elements."] call bis_fnc_error;
nil
};
};
johnscrpt_swag =
{
if !(drawing_text) then
{
_control = (uinamespace getvariable "BIS_RscMissionScreen") displayctrl 1300;
_len = count (toArray (ctrltext _control));
_ammount = _len - 1;
_ns = toArray (ctrltext _control);
_ns resize _ammount;
_ns;
_ns = toString _ns;
_control ctrlsetstructuredtext parsetext format ["%1",_ns];
playsound "counter";
};
};
johnscrpt_drawit2 = {
disableserialization;
(_this select 4) cutrsc ["RscMissionScreen","plain down"];
_control = (uinamespace getvariable "BIS_RscMissionScreen") displayctrl 1300;
_control ctrlsetstructuredtext parsetext (_this select 0);
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 0.15;
call johnscrpt_swag;
sleep 2;
_control ctrlSetText "";
};
inanglesector =
{
private["_dir1","_dir2","_dir3","_small","_large","_x","_y","_r"];
_r = false;
_small = (_this select 1) - ((_this select 2) / 2);
_large = (_this select 1) + ((_this select 2) / 2);
_x = ((_this select 3) select 0) - ((_this select 0) select 0);
_y = ((_this select 3) select 1) - ((_this select 0) select 1);
_dir1 = _x atan2 _y;
if (_dir1 < 0) then {_dir1 = _dir1 + 360};
_dir2 = _dir1 - 360;
_dir3 = _dir1 + 360;
if ((_dir1 >= _small && _dir1 <= _large) || (_dir2 >= _small && _dir2 <= _large) || (_dir3 >= _small && _dir3 <= _large)) then {_r = true};
_r
};
johnscrpt_cansee =
{
_unit1 = _this select 0;
_unit2 = _this select 1;
johnscrpt_eyeDir = {
_eval = (eyeDirection _this);
_edir = (_eval select 0) atan2 (_eval select 1);
if (_edir < 0) then {_edir = 360 + _edir};
_edir
};
_canSee = false;
_inView = [position _unit1, _unit1 call johnscrpt_eyeDir, 120, position _unit2] call inAngleSector;
if (_inView) then
{
if (! terrainIntersectASL [eyePos _unit1, eyePos _unit2]) then
{
if (count (lineIntersectsWith [eyePos _unit1, eyePos _unit2, _unit1, _unit2]) == 0) then
{
_canSee = true;
};
};
};
_canSee
};
johnscrpt_aimbot =
{
_pos1 = _this select 0;
_pos2 = _this select 1;
if(typename _pos1 == "OBJECT") then {_pos1 = _pos1 modeltoworld [0,0,0]};
if(typename _pos2 == "OBJECT") then {_pos2 = _pos2 modeltoworld [0,0,0]};
_ret = ((_pos2 select 0) - (_pos1 select 0)) atan2 ((_pos2 select 1) - (_pos1 select 1));
_ret = _ret % 360;
_ret
};
johnscrpt_addtowhitelist =
{
_name = _this select 0;
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == _name) then
{
whitelist = whitelist + [getplayeruid _x];
systemchat format ["Adding %1 to the whitelist",_name];
profileNamespace setVariable ["whitelist",whitelist];saveProfileNamespace;
};
} forEach _entities;
};
johnscrpt_drawit = {
disableserialization;
drawing_text = true;
(_this select 4) cutrsc ["RscMissionScreen","plain down"];
_control = (uinamespace getvariable "BIS_RscMissionScreen") displayctrl 1300;
_control ctrlsetstructuredtext parsetext (_this select 0);
sleep 5;
drawing_text = false;
_control ctrlSetText "";
};
johnscrpt_teleport =
{
_itemname = _this select 0;
itemname = _itemname;
_itemname2 = "Teleporting " + itemname;
["" + _itemname2 + "",0,0,0,0,5] spawn johnscrpt_drawit;
_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
{
if ((_x != player) && !(_x isKindOf "Man") && (typeOf _x == itemname)) then
{
_pos = player modelToWorld [round ((random 1)),round ((random 1)),0];
_x setpos _pos;
};
} forEach _entities;
};
johnscrpt_filteritems = {
closedialog 0;
sleep 1;
lbclear 102;
_itemname = _this select 0;
_display = (findDisplay 17);
_control = _display displayCtrl 102;
_control ctrlSetEventHandler ["LBDblClick", "[lbtext [102, (lbCurSel 102)]] spawn johnscrpt_teleport;"];
_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
{
if ((_x != player) && !(_x isKindOf "Man")) then
{
_found = [_itemname,typeof _x] call InString;
if (_found) then
{
_typeof = toArray typeof _x;
_typeof resize 5;
_typeof;
_typeof = toString _typeof;
if ((_typeof != "land_") && (_typeof != "#crat") && (_typeof != "") && (_typeof != "#part")) then
{
_index = _control lbAdd format ["%1",typeOf _x ];
};
};
};
} forEach _entities;
};
johnscrpt_target =
{
_target = _this select 0;
targetname = _target;
_target2 = "Target = " + _target;
["" + _target2 + "",0,0,0,0,5] spawn johnscrpt_drawit;
};
johnscrpt_ran =
{
_scriptname = _this select 0;
_scriptname2 = "Ran " + _scriptname;
systemchat _scriptname2;
if (_scriptname == "Bullet Velocity") then
{
if (isnil ("Bullet")) then
{
Bullet = false;
};
if (Bullet) then
{
["" + "Bullet Velocity Off" + "",0,0,0,0,5] spawn johnscrpt_drawit;
Bullet = false;
player removeAllEventHandlers "Fired";
}else{
["" + "Bullet Velocity On" + "",0,0,0,0,5] spawn johnscrpt_drawit;
Bullet = true;
player addEventHandler ["fired",{ (_this select 6) setpos targetpos;}];
};
};
if (_scriptname == "Break Leg [T]") then
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == targetname) then
{
_anim = animationState _x;
_bodyPosition = getText(configFile >> "CfgMovesMaleSdr2" >> "states" >> _anim >> "bodyPosition");
if (_bodyposition == "prone") then
{
systemchat "prone";
pos = _x modeltoworld [-.10,-0.3,.65];
};
if (_bodyposition == "kneel") then
{
systemchat "kneel";
pos = _x modeltoworld [-.10,.05,.65];
};
if (_bodyposition == "stand") then
{
systemchat "stand";
pos = _x modeltoworld [-.10,.10,.65];
};
_bullet = "a_composite" createvehiclelocal pos;
_bullet setVelocity [0, 0, -50000];
};
}foreach _entities;
};
if (_scriptname == "Item Filter") then
{
createdialog "RscDisplayNote";
ctrlSetText [1300, "Item Filter"];
buttonSetAction [1600, "[ctrlText ((findDisplay 120) displayCtrl 1400)] spawn johnscrpt_filteritems;"];
};
if (_scriptname == "Fly") then
{
if (isnil ("fly_toggle")) then
{
fly_toggle = false;
};
if (fly_toggle) then
{
["" + "Fly Off" + "",0,0,0,0,5] spawn johnscrpt_drawit;
fly_toggle = false;
}else{
["" + "Fly On" + "",0,0,0,0,5] spawn johnscrpt_drawit;
fly_toggle = true;
};
if(fly_toggle) then {
_pos = getposatl player;
fly_dir = getdir player;
fly_x = _pos select 0;
fly_y = _pos select 1;
fly_z = _pos select 2;
fly_distance = 8;
fly_wait = 0.001;
[] spawn {
_wait = false;
while{fly_toggle} do {
playeraction "startSwim";
if(_wait) then {uiSleep fly_wait;_wait = false;};
if(inputAction "moveForward" > 0) then {
fly_x = fly_x+fly_distance*sin(fly_dir);
fly_y = fly_y+fly_distance*cos(fly_dir);
_wait = true;
};
if(inputAction "moveBack" > 0) then {
_distance = fly_distance * -1;
fly_x = fly_x+_distance*sin(fly_dir);
fly_y = fly_y+_distance*cos(fly_dir);
_wait = true;
};
if(inputAction "evasiveLeft" > 0) then {
fly_dir = fly_dir - 5;
_wait = true;
};
if(inputAction "evasiveRight" > 0) then {
fly_dir = fly_dir + 5;
_wait = true;
};
if(inputAction "prevAction" > 0) then {
fly_z = fly_z + fly_distance;
_wait = true;
};
if(inputAction "nextAction" > 0) then {
fly_z = (fly_z - fly_distance) max 0;
_wait = true;
};
};
};
while{fly_toggle} do {
player setPosATL [fly_x,fly_y,fly_z];
player setDIR fly_dir;
player setVelocity [0,0,0.1];
};
};
};
if (_scriptname == "Aimbot") then
{
if (isnil ("johnscrpt_aimboton")) then
{
johnscrpt_aimboton = false;
};
if (johnscrpt_aimboton) then
{
["" + "Aimbot Off" + "",0,0,0,0,5] spawn johnscrpt_drawit;
johnscrpt_aimboton = false;
}else{
["" + "Aimbot On" + "",0,0,0,0,5] spawn johnscrpt_drawit;
johnscrpt_aimboton = true;
};
if (isnil ("johnscrpt_aimbotnorun")) then
{
johnscrpt_aimbotnorun = "swag";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x0F) then
{
_johnscrpt_targetlist = (positionCameraToWorld [0,0,0]) nearEntities ["SurvivorBase",200];
_johnscrpt_target = _johnscrpt_targetlist select 1;
if ((isplayer _johnscrpt_target) && (alive _johnscrpt_target) && (johnscrpt_aimboton)) then
{
_canzee = [player, _johnscrpt_target] call johnscrpt_cansee;
if (_canzee) then
{
hint "can see";
_johnscrpt_aimpro = [player, _johnscrpt_target] call johnscrpt_aimbot;
player setDir _johnscrpt_aimpro;
}else{
hint "cant see";
};
};
}'];
};
};
if (_scriptname == "Zombie shield") then
{
if (isNil "standaloneisgayZombies") then {standaloneisgayZombies = 0;};
if (standaloneisgayZombies == 0) then {
["" + "Zombie shield On" + "",0,0,0,0,5] spawn johnscrpt_drawit;
standaloneisgayZombies = 1;
} else {
["" + "Zombie shield OFF" + "",0,0,0,0,5] spawn johnscrpt_drawit;
standaloneisgayZombies = 0;
};
while {standaloneisgayZombies == 1} do {
_pos = getPos player;
_standaloneisgayNear = _pos nearEntities ["ZombieBase",400];
_standaloneisgayCount = count _standaloneisgayNear;
for "_i" from 0 to (_standaloneisgayCount - 1) do
{
_standaloneisgayZombie = _standaloneisgayNear select _i;
_pos = _standaloneisgayZombie modeltoworld [0,0,1.20];
_bullet = "B_762x51_Ball" createvehiclelocal _pos;
_bullet setVelocity [0, 0, -50000];
_bullet2 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet2 setVelocity [0, 0, -50000];
_bullet3 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet3 setVelocity [0, 0, -50000];
_bullet4 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet4 setVelocity [0, 0, -50000];
_bullet5 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet5 setVelocity [0, 0, -50000];
_bullet6 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet6 setVelocity [0, 0, -50000];
_bullet7 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet7 setVelocity [0, 0, -50000];
};
sleep 4;
};
};
if (_scriptname == "Free Cam") then
{
cameraOn exec (getText (configFile >> "cameraScriptFree"));
};
if (_scriptname == "Map") then
{
createdialog "RscDisplayArcadeMap";
};
if (_scriptname == "TP Body's") then
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if ((name _x == "unknown entity") && !(alive _x)) then
{
_pos = player modelToWorld [round ((random 5)),round ((random 5)),0];
_x setpos _pos;
};
} forEach _entities;
};
if (_scriptname == "Remove Building") then
{
if (isnil ("johnscrpt_showbuild")) then
{
johnscrpt_showbuild = 0;
};
if (johnscrpt_showbuild == 0) then
{
["" + "Remove Building On" + "",0,0,0,0,5] spawn johnscrpt_drawit;
johnscrpt_showbuild = 1;
}
else
{
["" + "Remove Building Off" + "",0,0,0,0,5] spawn johnscrpt_drawit;
johnscrpt_showbuild = 0;
};
while {johnscrpt_showbuild == 1} do
{
_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
{
if ((_x != player) && !(_x isKindOf "Man")) then
{
_typeof = toArray typeof _x;
_typeof resize 4;
_typeof;
_typeof = toString _typeof;
if (_typeof == "land") then
{
hideObject _x;
};
};
} forEach _entities;
sleep 5;
};
while {johnscrpt_showbuild == 0} do
{
_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
{
if ((_x != player) && !(_x isKindOf "Man")) then
{
_typeof = toArray typeof _x;
_typeof resize 4;
_typeof;
_typeof = toString _typeof;
if (_typeof == "land") then
{
_x hideObject false;
};
};
} forEach _entities;
sleep 5;
};
};
if (_scriptname == "Fuck Em Up[T]") then
{
if (isnil ("johnscrpt_fuckemup2")) then
{
johnscrpt_fuckemup2 = 0;
};
if (johnscrpt_fuckemup2 == 0) then
{
["" + "Fuck Em Up On" + "",0,0,0,0,5] spawn johnscrpt_drawit;
johnscrpt_fuckemup2 = 1;
}
else
{
["" + "Fuck Em Up Off" + "",0,0,0,0,5] spawn johnscrpt_drawit;
johnscrpt_fuckemup2 = 0;
};
while {johnscrpt_fuckemup2 == 1} do
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if ((_x != player) && (alive _x) && (name _x == targetname)) then
{
_pos = player modelToWorld [0,1,0];
_x setpos _pos;
};
} forEach _entities;
};
};
if (_scriptname == "Fast Walk") then
{
if (isNil 'johnscrpt_fastwalk') then
{
johnscrpt_fastwalk = 0;
};
if (johnscrpt_fastwalk == 0) then
{
johnscrpt_fastwalk = 1;
["" + "Fast Walk On" + "",0,0,0,0,5] spawn johnscrpt_drawit;
} else {
johnscrpt_fastwalk = 0;
["" + "Fast Walk Off" + "",0,0,0,0,5] spawn johnscrpt_drawit;
};
};
if (_scriptname == "Remove Weapon[T]") then
{
if (isNil 'johnscrpt_removewep') then
{
johnscrpt_removewep = 0;
};
if (johnscrpt_removewep == 0) then
{
["" + "Remove Weapon On" + "",0,0,0,0,5] spawn johnscrpt_drawit;
johnscrpt_removewep = 1;
} else {
["" + "Remove Weapon Off" + "",0,0,0,0,5] spawn johnscrpt_drawit;
johnscrpt_removewep = 0;
};
while {johnscrpt_removewep == 1} do
{
if (targetname == "All Players") then
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",200]);
{
_found = [getplayeruid _x,str whitelist] call InString;
if (!(_found) && (alive _x) && (getplayeruid _x != "")) then
{
dropItems = _x;publicVariableServer 'dropItems';
};
} forEach _entities;
}else{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == targetname) then
{
dropItems = _x;publicVariableServer 'dropItems';
};
} forEach _entities;
};
};
};
if (_scriptname == "View Gear") then
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == targetname) then
{
createGearDialog [(_x), "RscDisplayGear"];
};
} forEach _entities;
};
if (_scriptname == "Spectate [T]") then
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if(name _x == targetname) then
{
vehicle _x switchCamera "EXTERNAL";
systemchat format ["Spectating %1, press F10 to cancel", name _x];
};
} forEach _entities;
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x44) then {vehicle player switchCamera "EXTERNAL";}'];
};
if (_scriptname == "No Recoil") then
{
if (isnil ("johnscrpt_norecoil")) then
{
johnscrpt_norecoil = 0;
};
if (johnscrpt_norecoil==0) then
{
["" + "No Recoil On" + "",0,0,0,0,5] spawn johnscrpt_drawit;
player setUnitRecoilCoefficient 0;
johnscrpt_norecoil = 1;
}
else
{
["" + "No Recoil Off" + "",0,0,0,0,5] spawn johnscrpt_drawit;
player setUnitRecoilCoefficient 1;
johnscrpt_norecoil = 0;
};
};
if (_scriptname == "Fuck em up") then
{
if (isnil ("johnscrpt_fuckemup")) then
{
johnscrpt_fuckemup = 0;
};
if (johnscrpt_fuckemup == 0) then
{
["" + "Fuck Em Up On" + "",0,0,0,0,5] spawn johnscrpt_drawit;
johnscrpt_fuckemup = 1;
}
else
{
["" + "Fuck Em Up Off" + "",0,0,0,0,5] spawn johnscrpt_drawit;
johnscrpt_fuckemup = 0;
};
while {johnscrpt_fuckemup == 1} do
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if ((_x != player) && (alive _x)) then
{
_pos = player modelToWorld [0,1,0];
_x setpos _pos;
};
} forEach _entities;
};
};
if (_scriptname == "Tp Items") then
{
_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
{
if ((_x != player) && !(_x isKindOf "Man")) then
{
_pos = player modelToWorld [round ((random 5)),round ((random 5)),0];
_x setpos _pos;
};
} forEach _entities;
};
if (_scriptname == "BODY ESP") then
{
johnscrpt_toggleesp2 = {
tarDis2 = 1000;
if (isNil 'johnscrpt_espon2') then
{
johnscrpt_espon2 = 0;
};
if (johnscrpt_espon2 == 0) then
{
johnscrpt_espon2 = 1;
["" + "BODY ESP ON" + "",0,0,0,0,5] spawn johnscrpt_drawit;
_a = [];
while {johnscrpt_espon2 == 1} do
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1050]);
_count = count _entities;
{
if (((_x in _a) && (alive _x)) or ((_x in _a) && ((positionCameraToWorld [0,0,0] distance _x) > tarDis2))) then {_a = _a - [_x];};
if ((_x != player) && (name _x != '') && !(_x in _a) && (name _X == "UnKnown Entity") && ((positionCameraToWorld [0,0,0] distance _x) <= tarDis2)) then
{
_a = _a + [_x];
[_x] spawn johnscrpt_drawesp2;
sleep 1;
};
} forEach _entities;
sleep 10;
};
} else {
johnscrpt_espon2 = 0;
["" + "BODY ESP OFF" + "",0,0,0,0,5] spawn johnscrpt_drawit;
};
};
johnscrpt_drawesp2 = {
disableSerialization;
if (isNil 'johnscrpt_espcount2') then {johnscrpt_espcount2 = 2733;};
johnscrpt_espcount2 cutRsc ['RscDynamicText', 'PLAIN'];
johnscrpt_espcount2 = johnscrpt_espcount2 + 1;
_ctrl = ((uiNamespace getvariable 'BIS_dynamicText') displayctrl 9999);
_ctrl ctrlShow true; _ctrl ctrlEnable true; _ctrl ctrlSetFade 0;
_unit = _this select 0;
while {!(alive _unit) && ((positionCameraToWorld [0,0,0] distance _unit) < tarDis2)} do
{
if (johnscrpt_espon2 == 0) exitWith {_ctrl ctrlShow false; _ctrl ctrlEnable false;};
_pos = [(getPosATL _unit) select 0, (getPosATL _unit) select 1, ((getPosATL _unit) select 2) + 2];
_pos2D = WorldToScreen _pos;
_hand = primaryWeapon _unit;
_wName = getText(configFile >> "cfgWeapons" >> _hand >> "displayName");
if (_wName == "") then
{
_wName = typeof itemInHands _unit;
};
if ((count _pos2D > 0) && (name _unit == "UnKnown Entity") ) then
{
_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
_text = parseText format ['Body (%1m)
Wep: %2', round (positionCameraToWorld [0,0,0] distance _unit),_wName];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.05;
};
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn johnscrpt_toggleesp2;
};
if (_scriptname == "ESP") then
{
johnscrpt_toggleesp = {
tarDis = 1000;
if (isNil 'johnscrpt_espon') then
{
johnscrpt_espon = 0;
};
if (johnscrpt_espon == 0) then
{
johnscrpt_espon = 1;
["" + "ESP ON" + "",0,0,0,0,5] spawn johnscrpt_drawit;
_a = [];
while {johnscrpt_espon == 1} do
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1050]);
_count = count _entities;
{
if (((_x in _a) && !(alive _x)) or ((_x in _a) && ((positionCameraToWorld [0,0,0] distance _x) > tarDis))) then {_a = _a - [_x];};
if ((_x != player) && (name _x != '') && !(_x in _a) && (name _X != "UnKnown Entity") && ((positionCameraToWorld [0,0,0] distance _x) <= tarDis)) then
{
_a = _a + [_x];
[_x] spawn johnscrpt_drawesp;
sleep 1;
};
} forEach _entities;
sleep 10;
};
} else {
johnscrpt_espon = 0;
["" + "ESP OFF" + "",0,0,0,0,5] spawn johnscrpt_drawit;
};
};
johnscrpt_drawesp = {
disableSerialization;
if (isNil 'johnscrpt_espcount') then {johnscrpt_espcount = 2733;};
johnscrpt_espcount cutRsc ['RscTime', 'PLAIN'];
johnscrpt_espcount = johnscrpt_espcount + 1;
_ctrl = ((uiNamespace getvariable 'BIS_InfoTime') displayctrl 112301);
_ctrl ctrlShow true; _ctrl ctrlEnable true; _ctrl ctrlSetFade 0;
_unit = _this select 0;
while {(alive _unit) && ((positionCameraToWorld [0,0,0] distance _unit) < tarDis)} do
{
if (johnscrpt_espon == 0) exitWith {_ctrl ctrlShow false; _ctrl ctrlEnable false;};
_pos = [(getPosATL _unit) select 0, (getPosATL _unit) select 1, ((getPosATL _unit) select 2) + 2];
_pos2D = WorldToScreen _pos;
_health = round(((_unit getVariable['blood',0])/5000)*100);
_hand = primaryWeapon _unit;
_special = "";
if (getplayeruid _unit == "76561198112083899") then
{
_special = "Deadly Slob";
};
if (getplayeruid _unit == "76561197980412665") then
{
_special = "ElloHime";
};
if (getplayeruid _unit == "76561198076826765") then
{
_special = "Terrorist";
};
if (getplayeruid _unit == "76561198045155785") then
{
_special = "Deluxe";
};
if (getplayeruid _unit == "76561198028049906") then
{
_special = "Shizzle";
};
if (getplayeruid _unit == "76561198076671959") then
{
_special = "Aurandra";
};
if (getplayeruid _unit == "76561198079236524") then
{
_special = "Play 420";
};
if (getplayeruid _unit == "76561198019326016") then
{
_special = "Teamge0";
};
if (getplayeruid _unit == "76561198039266658") then
{
_special = "Famou5ivan";
};
if (getplayeruid _unit == "76561198121987923") then
{
_special = "Syndicate???";
};
if (getplayeruid _unit == "76561198070224802") then
{
_special = "DekonReighn"
};
if (getplayeruid _unit == "76561197967275153") then
{
_special = "Clam Taco";
};
if (getplayeruid _unit == "76561198024407638") then
{
_special = "Gold Glove";
};
if (getplayeruid _unit == "76561198049451564") then
{
_special == "Failrlight Excaliber";
};
_wName = getText(configFile >> "cfgWeapons" >> _hand >> "displayName");
if (_wName == "") then
{
_wName = typeof itemInHands _unit;
};
if ((count _pos2D > 0) && (name _unit != "UnKnown Entity") ) then
{
_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
_text = parseText format ['%1 (%2m) [HP: %3%]
Wep: %4
%5', name _unit, round (positionCameraToWorld [0,0,0] distance _unit),_health,_wName,_special];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.05;
};
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn johnscrpt_toggleesp;
};
if (_scriptname == "WRECK ESP") then
{
johnscrpt_toggleesp2 = {
tardis2 = 1000;
if (isNil 'johnscrpt_espon2') then
{
johnscrpt_espon2 = 0;
};
if (johnscrpt_espon2 == 0) then
{
johnscrpt_espon2 = 1;
["" + "CHOPPER ESP ON" + "",0,0,0,0,5] spawn johnscrpt_drawit;
_a = [];
while {johnscrpt_espon2 == 1} do
{
_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
_count = count _entities;
{
if (((_x in _a)) or ((_x in _a) && ((positionCameraToWorld [0,0,0] distance _x) > tardis2))) then {_a = _a - [_x];};
if ((typeof _x == "land_mh_60wreck") or (typeof _x == "Land_Mi8_Crashed") && ((positionCameraToWorld [0,0,0] distance _x) <= tardis2)) then
{
_a = _a + [_x];
[_x] spawn johnscrpt_drawesp2;
sleep 1;
};
} forEach _entities;
sleep 2;
};
} else {
johnscrpt_espon2 = 0;
["" + "CHOPPER ESP OFF" + "",0,0,0,0,5] spawn johnscrpt_drawit;
};
};
johnscrpt_drawesp2 = {
disableSerialization;
if (isNil 'johnscrpt_espcount') then {johnscrpt_espcount = 2733;};
johnscrpt_espcount cutRsc ['RscTime', 'PLAIN'];
johnscrpt_espcount = johnscrpt_espcount + 1;
_ctrl = ((uiNamespace getvariable 'BIS_InfoTime') displayctrl 112301);
_ctrl ctrlShow true; _ctrl ctrlEnable true; _ctrl ctrlSetFade 0;
_unit = _this select 0;
while {((positionCameraToWorld [0,0,0] distance _unit) < tardis2)} do
{
if (johnscrpt_espon2 == 0) exitWith {_ctrl ctrlShow false; _ctrl ctrlEnable false;};
_pos = [(getPosATL _unit) select 0, (getPosATL _unit) select 1, ((getPosATL _unit) select 2) + 2];
_pos2D = WorldToScreen _pos;
if ((count _pos2D > 0)) then
{
_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
_text = parseText format ['%1', "Heli Crash"];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.05;
};
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn johnscrpt_toggleesp2;
};
if (_scriptname == "Knock em out [T]") then
{
if (targetname == "All Players") then
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
_found = [getplayeruid _x,str whitelist] call InString;
if (!(_found) && (alive _x) && (getplayeruid _x != "")) then
{
_pos = _x modeltoworld [0,0,2];
_bullet = "MeleeFist" createvehiclelocal _pos;
_bullet setVelocity [0, 0, -50];
_bullet2 = "MeleeFist" createvehiclelocal _pos;
_bullet2 setVelocity [0, 0, -50];
_bullet3 = "MeleeFist" createvehiclelocal _pos;
_bullet3 setVelocity [0, 0, -50];
_bullet4 = "MeleeFist" createvehiclelocal _pos;
_bullet4 setVelocity [0, 0, -50];
_bullet5 = "MeleeFist" createvehiclelocal _pos;
_bullet5 setVelocity [0, 0, -50];
_bullet6 = "MeleeFist" createvehiclelocal _pos;
_bullet6 setVelocity [0, 0, -50];
_bullet7 = "MeleeFist" createvehiclelocal _pos;
_bullet7 setVelocity [0, 0, -50];
_bullet8 = "MeleeFist" createvehiclelocal _pos;
_bullet8 setVelocity [0, 0, -50];
_bullet9 = "MeleeFist" createvehiclelocal _pos;
_bullet9 setVelocity [0, 0, -50];
_bullet10 = "MeleeFist" createvehiclelocal _pos;
_bullet10 setVelocity [0, 0, -50];
};
} forEach _entities;
}else{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == targetname) then
{
_pos = _x modeltoworld [0,0,2];
_bullet = "MeleeFist" createvehiclelocal _pos;
_bullet setVelocity [0, 0, -50];
_bullet2 = "MeleeFist" createvehiclelocal _pos;
_bullet2 setVelocity [0, 0, -50];
_bullet3 = "MeleeFist" createvehiclelocal _pos;
_bullet3 setVelocity [0, 0, -50];
_bullet4 = "MeleeFist" createvehiclelocal _pos;
_bullet4 setVelocity [0, 0, -50];
_bullet5 = "MeleeFist" createvehiclelocal _pos;
_bullet5 setVelocity [0, 0, -50];
_bullet6 = "MeleeFist" createvehiclelocal _pos;
_bullet6 setVelocity [0, 0, -50];
_bullet7 = "MeleeFist" createvehiclelocal _pos;
_bullet7 setVelocity [0, 0, -50];
_bullet8 = "MeleeFist" createvehiclelocal _pos;
_bullet8 setVelocity [0, 0, -50];
_bullet9 = "MeleeFist" createvehiclelocal _pos;
_bullet9 setVelocity [0, 0, -50];
_bullet10 = "MeleeFist" createvehiclelocal _pos;
_bullet10 setVelocity [0, 0, -50];
};
} forEach _entities;
};
};
if (_scriptname == "Dupe body") then
{
if (isNil "clientReady") then {clientReady = clientNew select 2} else {clientReady = clientReady};
publicVariableServer "clientReady";
};
if (_scriptname == "Attachto [T]") then
{
if (isnil ("johnscrpt_attachto2")) then
{
johnscrpt_attachto2 = 0;
};
if (johnscrpt_attachto2 == 0) then
{
["" + "Attachto On" + "",0,0,0,0,5] spawn johnscrpt_drawit;
johnscrpt_attachto2 = 1;
}
else
{
["" + "Attachto Off" + "",0,0,0,0,5] spawn johnscrpt_drawit;
johnscrpt_attachto2 = 0;
};
while {johnscrpt_attachto2 == 1} do
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == targetname) then
{
_pos = _x modeltoworld [0,-1,0];
player setpos _pos;
};
} forEach _entities;
};
};
if (_scriptname == "Crash Server") then
{
for "_i" from 0 to 5000 do {
clientNew = [0,[floor(random(6)),floor(random(6)),floor(random(6))],_i];
publicVariableServer "clientNew";
uiSleep (5/30);
};
};
if (_scriptname == "Head Shake") then
{
if (isNil 'headshake') then {headshake = false;};
if (headshake) then
{
["" + "Head Shake Off" + "",0,0,0,0,5] spawn johnscrpt_drawit;
headshake = false;
}else{
["" + "Head Shake On" + "",0,0,0,0,5] spawn johnscrpt_drawit;
headshake = true;
};
while {headshake} do
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",5]);
{
_found = [getplayeruid _x,str whitelist] call InString;
if ((_x != player) && (alive _x) && !(_found)) then
{
_ammo = "B_12Gauge_Pellets";
_array = [_x,29,player modeltoworld [0,50,20]];
_x requestDamage [player, _array select 2, _ammo, _array select 1];
sleep 0.5;
};
} forEach _entities;
};
};
if (_scriptname == "Shoot em [T]") then
{
if (targetname == "All Players") then
{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
_found = [getplayeruid _x,str whitelist] call InString;
if (!(_found) && (alive _x) && (getplayeruid _x != "")) then
{
_pos = _x modeltoworld [0,0,1.20];
_bullet = "B_762x51_Ball" createvehiclelocal _pos;
_bullet setVelocity [0, 0, -50000];
_bullet2 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet2 setVelocity [0, 0, -50000];
_bullet3 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet3 setVelocity [0, 0, -50000];
_bullet4 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet4 setVelocity [0, 0, -50000];
_bullet5 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet5 setVelocity [0, 0, -50000];
_bullet6 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet6 setVelocity [0, 0, -50000];
_bullet7 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet7 setVelocity [0, 0, -50000];
_bullet8 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet8 setVelocity [0, 0, -50000];
_bullet9 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet9 setVelocity [0, 0, -50000];
_bullet10 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet10 setVelocity [0, 0, -50000];
};
} forEach _entities;
}else{
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if (name _x == targetname) then
{
_pos = _x modeltoworld [0,0,1.20];
_bullet = "B_762x51_Ball" createvehiclelocal _pos;
_bullet setVelocity [0, 0, -50000];
_bullet2 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet2 setVelocity [0, 0, -50000];
_bullet3 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet3 setVelocity [0, 0, -50000];
_bullet4 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet4 setVelocity [0, 0, -50000];
_bullet5 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet5 setVelocity [0, 0, -50000];
_bullet6 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet6 setVelocity [0, 0, -50000];
_bullet7 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet7 setVelocity [0, 0, -50000];
_bullet8 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet8 setVelocity [0, 0, -50000];
_bullet9 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet9 setVelocity [0, 0, -50000];
_bullet10 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet10 setVelocity [0, 0, -50000];
};
} forEach _entities;
};
};
if (_scriptname == "Kill Self") then
{
_pos = player modelToWorld [0,0,20];
player setpos _pos;
};
if (_scriptname == "No Grass") then
{
if (isnil ("johnscrpt_nograss")) then
{
johnscrpt_nograss = 0;
};
if (johnscrpt_nograss==0) then
{
["" + "No Grass On" + "",0,0,0,0,5] spawn johnscrpt_drawit;
setTerrainGrid 50;
enableEnvironment false;
johnscrpt_nograss=1;
}
else
{
["" + "No Grass Off" + "",0,0,0,0,5] spawn johnscrpt_drawit;
setTerrainGrid 20;
enableEnvironment true;
johnscrpt_nograss=0;
};
};
};
thirdperson = false;
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x9C) then
{
if (thirdperson) then
{
thirdperson = false;
cameraOn switchCamera "EXTERNAL";
}else{
thirdperson = true;
cameraOn switchCamera "INTERNAL";
};
}'];
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x32) then
{
createdialog "RscDisplayArcadeMap";
}'];
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x24) then
{
_wPos = screenToWorld [0.5,0.5];
_pos = [_wpos select 0, _wpos select 1, 5];
_bullet = "B_762x51_Ball" createvehiclelocal _pos;
_bullet setVelocity [0, 0, -50000];
}'];
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x31) then
{
_startingpos = screenToWorld [0.5,0.5];
_startingpos = [_startingpos select 0, _startingpos select 1, 0];
_entities = _startingpos nearEntities ["SurvivorBase",20];
{
_found = [getplayeruid _x,str whitelist] call InString;
if ((_x != player) && (alive _x) && !(_found)) then
{
_anim = animationState _x;
_bodyPosition = getText(configFile >> "CfgMovesMaleSdr2" >> "states" >> _anim >> "bodyPosition");
if (_bodyposition == "prone") then
{
pos = _x modeltoworld [-.10,-0.3,.65];
};
if (_bodyposition == "kneel") then
{
pos = _x modeltoworld [-.10,.05,.65];
};
if (_bodyposition == "stand") then
{
pos = _x modeltoworld [-.10,.10,.65];
};
_bullet = "a_composite" createvehiclelocal pos;
_bullet setVelocity [0, 0, -50000];
};
}foreach _entities;
}'];
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x26) then
{
_agent = player;
_range = 5000;
_ammo = "FuelExplosion";
_delay = 0;
melee_fnc_checkHitLocal = {
_agent = player;
_range = 5000;
_ammo = "FuelExplosion";
_delay = 0;
_array = lineHit [_this select 0, _this select 1, "fire", _agent,objNull,0];
_array select 0 requestDamage [_agent, _array select 2, _ammo, _array select 1];
};
[eyePos player,eyepos player #+ cursorDirection #* _range] call melee_fnc_checkHitLocal;
}'];
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x22) then
{
_wPos = screenToWorld [0.5,0.5];
_pos = [_wpos select 0, _wpos select 1, 5];
_bullettype = ["a_composite","a_bolt","A_hunting","A_target","A_primitive"] call fonzy_fnc_selectrandom;
_bullet = _bullettype createvehiclelocal _pos;
_bullet setVelocity [0, 0, -50000];
}'];
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x25) then
{
for "_i" from 0 to 200 do {
_wPos = screenToWorld [0.5,0.5];
_pos = [(_wpos select 0) + random 5, (_wpos select 1) + random 5, 5];
_bullet = "B_762x51_Ball" createvehiclelocal _pos;
_bullet setVelocity [0, 0, -50000];
uiSleep (5/30);
};
}'];
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x30) then
{
_ammo = "FuelExplosion";
_wPos = screenToWorld [0.5,0.5];
_pos = [_wpos select 0, _wpos select 1, 5];
_array = [cursortarget,29,_pos];
cursortarget requestDamage [player, _array select 2, _ammo, _array select 1];
}'];
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x27) then
{
_wPos = screenToWorld [0.5,0.5];
_pos = [_wpos select 0, _wpos select 1, 5];
_bullet = "LaserBombCore" createvehiclelocal _pos;
_bullet setVelocity [0, 0, -50000];
uiSleep (5/30);
}'];
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x28) then
{
for "_i" from 0 to 500 do {
_wPos = screenToWorld [0.5,0.5];
_pos = [(_wpos select 0) + random 250, (_wpos select 1) + random 250, 5];
_bullet = "LaserBombCore" createvehiclelocal _pos;
_bullet setVelocity [0, 0, -50000];
uiSleep (5/30);
};
}'];
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x23) then
{
_startingpos = screenToWorld [0.5,0.5];
_startingpos = [_startingpos select 0, _startingpos select 1, 0];
_entities = _startingpos nearEntities ["SurvivorBase",20];
{
_found = [getplayeruid _x,str whitelist] call InString;
if ((_x != player) && (alive _x) && !(_found)) then
{
_pos = _x modeltoworld [0,0,2];
_bullet = "MeleeFist" createvehiclelocal _pos;
_bullet setVelocity [0, 0, -50];
_bullet2 = "MeleeFist" createvehiclelocal _pos;
_bullet2 setVelocity [0, 0, -50];
_bullet3 = "MeleeFist" createvehiclelocal _pos;
_bullet3 setVelocity [0, 0, -50];
_bullet4 = "MeleeFist" createvehiclelocal _pos;
_bullet4 setVelocity [0, 0, -50];
_bullet5 = "MeleeFist" createvehiclelocal _pos;
_bullet5 setVelocity [0, 0, -50];
_bullet6 = "MeleeFist" createvehiclelocal _pos;
_bullet6 setVelocity [0, 0, -50];
_bullet7 = "MeleeFist" createvehiclelocal _pos;
_bullet7 setVelocity [0, 0, -50];
_bullet8 = "MeleeFist" createvehiclelocal _pos;
_bullet8 setVelocity [0, 0, -50];
_bullet9 = "MeleeFist" createvehiclelocal _pos;
_bullet9 setVelocity [0, 0, -50];
_bullet10 = "MeleeFist" createvehiclelocal _pos;
_bullet10 setVelocity [0, 0, -50];
};
}foreach _entities;
}'];
[] spawn
{
while {true} do
{
sleep 10;
[] spawn
{
lbclear 104;
lbadd [104, "All Players"];
_entities = (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
{
if ((name _x != "unknown entity") && (alive _x)) then
{
_display = (findDisplay 17);
_control = _display displayCtrl 104;
_control ctrlSetPosition [safezoneX + 0.025 * safezoneW, safezoneY + 0.12 * safezoneH, safezoneW * 0.18, safezoneH * 0.79];
_control ctrlSetEventHandler ["LBDblClick", "[lbtext [104, (lbCurSel 104)]] spawn johnscrpt_target;"];
_control ctrlCommit 0;
_index = _control lbAdd (name _x);
_control lbSetPicture [_index, "\DZ\ui\data\map\vehicleicons\iconMan_ca.paa"];
_hand = primaryWeapon _x;
_wName = getText(configFile >> "cfgWeapons" >> _hand >> "displayName");
if (_wName != "") then
{
_control lbSetPicture [_index, "\DZ\ui\data\igui\cfg\islandmap\iconplayer_ca.paa"];
};
if (name _x == targetname ) then
{
_control lbSetPicture [_index, "\DZ\ui\data\igui\cfg\PeripheralVision\bloodTexture_ca.paa"];
};
_found = [getplayeruid _x,str whitelist] call InString;
if (_found) then
{
_control lbSetPicture [_index, "\DZ\ui\data\map\vehicleicons\iconTank_ca.paa"];
};
};
} forEach _entities;
};
};
};
};
rarnjohnMen = {
infammo = {
if (isnil ("infammoON")) then
{
infammoON = 0;
};
if (infammoON==0) then
{
systemchat "Infinite Ammo ON!";
infammoON=1;
}
else
{
infammoON=0;
systemchat "Infinite Ammo OFF!";
};
sCode = " while {infammoON==1} do{(vehicle player) setVehicleAmmo 1;sleep 0.1;};";
[] spawn compile sCode;
};
maptp =
{
disableSerialization;
closeDialog 0;
if (isNil "tele") then
{
tele = {
_pos = getPos player;
_veh = "car_hatchback" createVehicleLocal _this;
player action ["getInDriver", _veh];
sleep 1;
while {count(player nearObjects ["car_hatchback",50]) == 0} do {player action ["getInDriver", _veh];};
deleteVehicle _veh;
closeDialog 0;
hint format ["Teleported to: %1", _this];
};
dmap =
{
_ctrl = _this select 0;
{_ctrl drawIcon ["\DZ\ui\data\map\markers\military\triangle_CA.paa", if (_x == player) then {[1,0,1,1]} else {[1,0.7,0,1]}, getPos _x, ((1 - ctrlMapScale _ctrl) max 0.2)*30, ((1 - ctrlMapScale _ctrl) max 0.2)*30, getDir _x, "herro", 2];} forEach (entities "SurvivorBase");
};
};
createDialog "RscDisplayMainMap";
hint "Doubleclick on the map to teleport";
_map = (findDisplay 12) displayCtrl 51;
_map ctrlAddEventhandler ["mousebuttondblclick","((_this select 0) posScreenToWorld [_this select 2, _this select 3]) spawn tele"];
_map ctrlAddEventHandler ["Draw", "_this call dmap"];
for "_i" from 0 to 9999 do {
if (_i != 51) then {
((findDisplay 12) displayCtrl _i) ctrlShow false;
};
};
};
freecam = {
_ppos = getPosATL cameraOn;
_pX = _ppos select 0;
_pY = _ppos select 1;
_pZ = _ppos select 2;
_local = "camera" camCreate [_pX, _pY, _pZ + 2];
BIS_DEBUG_CAM = _local;
_local camCommand "MANUAL ON";
_local camCommand "INERTIA OFF";
_local cameraEffect ["INTERNAL", "BACK"];
_local camCommand "COMFY ON";
showCinemaBorder false;
BIS_DEBUG_CAM setDir direction (vehicle player);
waitUntil {isNull BIS_DEBUG_CAM};
player cameraEffect ["TERMINATE", "BACK"];
BIS_DEBUG_CAM = nil;
camDestroy _local;
};
freecamesp = {
toggleESPFC = {
tarDisFC = 1000;
if (isNil 'espOn1') then {espOn1 = 0;};
if (espOn1 == 0) then
{
hint "Freecam ESP ON";
espOn1 = 1;
_a = [];
while {espOn1 == 1} do
{
_pos = getPos BIS_DEBUG_CAM;
_entities = nearestObjects [_pos, ["SurvivorBase","LandVehicle"], 1000];
_count = count _entities;
{
if (((_x in _a) && !(true)) or ((_x in _a) && ((BIS_DEBUG_CAM distance _x) > tarDisFC))) then {_a = _a - [_x];};
if ((_x != BIS_DEBUG_CAM) && (true) && !(_x in _a) && ((BIS_DEBUG_CAM distance _x) <= tarDisFC)) then
{
_a = _a + [_x];
[_x] spawn drawESPFC;
sleep 1;
};
} forEach _entities;
sleep 30;
};
} else {
hint "Freecam ESP OFF";
espOn1 = 0;
};
};
drawESPFC = {
disableSerialization;
if (isNil 'ESP_Count') then {ESP_Count = 2933;};
ESP_Count cutRsc ['rscDynamicText', 'PLAIN'];
ESP_Count = ESP_Count + 1;
_ctrl = ((uiNamespace getvariable 'BIS_dynamicText') displayctrl 9999);
_ctrl ctrlShow true; _ctrl ctrlEnable true; _ctrl ctrlSetFade 0;
_unit = _this select 0;
while {(true) && ((BIS_DEBUG_CAM distance _unit) < tarDisFC)} do
{
if (espOn1 == 0) exitWith {_ctrl ctrlShow false; _ctrl ctrlEnable false;};
_pos = [(getPosATL _unit) select 0, (getPosATL _unit) select 1, ((getPosATL _unit) select 2) + 2];
_pos2D = WorldToScreen _pos;
if (count _pos2D > 0) then
{
_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
_text = parseText format ["%1 - %3 (%2m)", name _unit, round (BIS_DEBUG_CAM distance _unit), typeOf _unit];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.05;
};
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn toggleESPFC;
};
MiZ_ReSpawn =
{
{respawn = _x;publicVariableServer "respawn";} forEach (positionCameraToWorld [0,0,0] nearObjects ["SurvivorBase",1000]);
systemchat "Mizzle420420: Respawned Near Players";
};
zshield = {
if (isNil ("zzshield")) then {zzshield = 0;};
if (zzshield==0) then {systemchat "Zombie-???On ???????!";zzshield = 1;} else {systemchat "Zombie-??? ????????!";zzshield = 0;};
_code = {
while {zzshield==1} do {
_pos = getPos player;
_standaloneisgayNear = _pos nearEntities ["ZombieBase",30];
_standaloneisgayCount = count _standaloneisgayNear;
for "_i" from 0 to (_standaloneisgayCount - 1) do
{
_standaloneisgayZombie = _standaloneisgayNear select _i;
_pos = _standaloneisgayZombie modeltoworld [0,0,1.20];
_bullet = "B_762x51_Ball" createvehiclelocal _pos;
_bullet setVelocity [0, 0, -50000];
_bullet2 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet2 setVelocity [0, 0, -50000];
_bullet3 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet3 setVelocity [0, 0, -50000];
_bullet4 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet4 setVelocity [0, 0, -50000];
_bullet5 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet5 setVelocity [0, 0, -50000];
_bullet6 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet6 setVelocity [0, 0, -50000];
_bullet7 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet7 setVelocity [0, 0, -50000];
_bullet8 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet8 setVelocity [0, 0, -50000];
_bullet9 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet9 setVelocity [0, 0, -50000];
_bullet10 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet10 setVelocity [0, 0, -50000];
_bullet11 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet11 setVelocity [0, 0, -50000];
_bullet12 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet12 setVelocity [0, 0, -50000];
_bullet13 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet13 setVelocity [0, 0, -50000];
_bullet14 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet14 setVelocity [0, 0, -50000];
_bullet15 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet15 setVelocity [0, 0, -50000];
_bullet16 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet16 setVelocity [0, 0, -50000];
_bullet17 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet17 setVelocity [0, 0, -50000];
_bullet18 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet18 setVelocity [0, 0, -50000];
_bullet19 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet19 setVelocity [0, 0, -50000];
_bullet20 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet20 setVelocity [0, 0, -50000];
_bullet21 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet21 setVelocity [0, 0, -50000];
};
sleep 3;
};
};
[] spawn _code;
};
pshield = {
if (isNil ("ppshield")) then {ppshield = 0;};
if (ppshield==0) then {titleText ["??? ?? Player Sheld On ???????!!!.","PLAIN DOWN"]; titleFadeOut 999; ppshield = 1;} else {titleText ["??? ?? Jugadores ????????!.","PLAIN DOWN"]; titleFadeOut 1;ppshield = 0;};
_code = {
while {ppshield==1} do {
_pos = getPos player;
_standaloneisgayNear = _pos nearEntities ["SurvivorBase",99999];
_standaloneisgayCount = count _standaloneisgayNear;
for "_i" from 0 to (_standaloneisgayCount - 1) do
{
_standaloneisgayZombie = _standaloneisgayNear select _i;
if (player != _standaloneisgayZombie) then {
_pos = _standaloneisgayZombie modeltoworld [0,0,1.20];
_bullet = "B_762x51_Ball" createvehiclelocal _pos;
_bullet setVelocity [0, 0, -50000];
_bullet2 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet2 setVelocity [0, 0, -50000];
_bullet3 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet3 setVelocity [0, 0, -50000];
_bullet4 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet4 setVelocity [0, 0, -50000];
_bullet5 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet5 setVelocity [0, 0, -50000];
_bullet6 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet6 setVelocity [0, 0, -50000];
_bullet7 = "B_762x51_Ball" createvehiclelocal _pos;
_bullet7 setVelocity [0, 0, -50000];
};
};
sleep 4;
};
};
[] spawn _code;
};
Heliesp =
{
if (isNil 'privetbrat') then
{
privetbrat = 0;
};
if (privetbrat == 0) then
{
statusChat "HELI ESP Activated";
privetbrat = 1;
arr2 = [];
while {privetbrat == 1} do
{
_entities = (allMissionObjects "Land_Mi8_Crashed") + (allMissionObjects "Land_UH1Y_Wreck");
{
if !(_x in arr2) then
{
arr2 = arr2 + [_x];
[_x] spawn privetbrat2;
sleep 0.25;
};
} forEach _entities;
sleep 5;
};
}
else
{
statusChat "HELI ESP Deactivated";
privetbrat = 0;
};
};
azerhackstoiletpaper = {
disableSerialization;
closeDialog 0;
if (isNil "tele") then
{
tele = {
if (player != vehicle player) then
{
vehicle player setPos _this;
closeDialog 0;
systemchat "AzersMultiScript: Teleported Vehicle!";
}
else
{
systemchat "AzersMultiScript: Teleported Vehicle!";
};
};
TESTTESTTESTTESTTEST =
{
_ctrl = _this select 0;
{_ctrl drawIcon ["\DZ\ui\data\map\markers\military\triangle_CA.paa", if (_x == player) then {[1,0,1,1]} else {[1,0.7,0,1]}, getPos _x, ((1 - ctrlMapScale _ctrl) max 0.2)*30, ((1 - ctrlMapScale _ctrl) max 0.2)*30, getDir _x, "herro", 2];} forEach (entities "SurvivorBase");
};
};
createDialog "RscDisplayMainMap";
{
((findDisplay 12) displayCtrl _x) ctrlShow false;
} forEach [56,57,58,59,60,63,64,65,66,67,68,69,70,71,72,73,75,77,78,101,102,103,104,106,1001,1002,1003,1013,1021,1022,1023];
((findDisplay 12) displayCtrl 51) ctrlSetEventHandler ["mousebuttondblclick","((_this select 0) posScreenToWorld [_this select 2, _this select 3]) spawn tele"];
((findDisplay 12) displayCtrl 51) ctrlSetEventHandler ["Draw", "_this call TESTTESTTESTTESTTEST"];
};
tptptptp = {
_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
{
if ((_x != player) && !(_x isKindOf "Man") && (typeOf _x == "V3S_Cargo")) then {
_pos = player modelToWorld [round ((random 1)),round ((random 1)),0];
_x setpos _pos;
};
if ((_x != player) && !(_x isKindOf "Man") && (typeOf _x == "v3s_cargo_blue")) then {
_pos = player modelToWorld [round ((random 1)),round ((random 1)),0];
_x setpos _pos;
};
} forEach _entities;
};
ARENATOOLS = {
comment "PGDOWN";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0xD0) then
{
call ARENATOOLS;
Narzedzia =
}'];
_entities = (allMissionObjects "spraycan_green") + (allMissionObjects "spraycan_black");
{
_pos = player modelToWorld [round ((random 1)),round ((random 1)),0];
_x setPos _pos;
} forEach _entities;
statusChat "Teleported Tools!";
};
ARENAFOOD = {
comment "PGUP";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0xC9) then
{
call ARENAFOOD;
Jedzenie =
}'];
_entities = (allMissionObjects "FoodItemBase") + (allMissionObjects "DrinksItemBase");
{
_pos = player modelToWorld [round ((random 1)),round ((random 1)),0];
_x setPos _pos;
} forEach _entities;
statusChat "Teleported Food!";
};
ARENACLOTHING = {
comment "END";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0xCF) then
{
call ARENACLOTHING;
Ubrania =
}'];
_entities = (allMissionObjects "ClothingBase");
{
_pos = player modelToWorld [round ((random 1)),round ((random 1)),0];
_x setPos _pos;
} forEach _entities;
statusChat "Teleported Clothing!";
};
ARENATOOLS = {
_entities = (allMissionObjects "spraycan_green") + (allMissionObjects "spraycan_black");
{
_pos = player modelToWorld [round ((random 1)),round ((random 1)),0];
_x setPos _pos;
} forEach _entities;
statusChat "Teleported Tools!";
};
ARENAATTACHMENTS = {
comment "Home";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0xC7) then
{
call ARENAATTACHMENTS;
roznosci =
}'];
_entities = (allMissionObjects "AttachmentBase");
{
_pos = player modelToWorld [round ((random 1)),round ((random 1)),0];
_x setPos _pos;
} forEach _entities;
statusChat "Teleported Attachment!";
};
ARENAPLAYERMAG = {
comment "Delete";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0xD3) then
{
call ARENAPLAYERMAG;
telplayer =
}'];
_entities = (allMissionObjects "SurvivorBase");
{
_pos = player modelToWorld [round ((random 1)),round ((random 1)),0];
_x setPos _pos;
} forEach _entities;
statusChat "Teleported Player!";
};
ARENAWEAPONS = {
comment "BackSpace";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x0E) then
{
call ARENAWEAPONS;
Weapon_Spawn =
}'];
_entities = (allMissionObjects "riflecore") + (allMissionObjects "pistolcore") + (allMissionObjects "ShotgunBase") + (allMissionObjects "MagazineBase") + (allMissionObjects "AmmunitionItemBase") + (allMissionObjects
"AmmunitionBoxItemBase");
{
_pos = player modelToWorld [round ((random 1)),round ((random 1)),0];
_x setPos _pos;
} forEach _entities;
statusChat "Teleported Weapons!";
};
Miz_SpeedHakes =
comment "Space";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0x39) then
{
call Miz_SpeedHakes;
}'];
Miz_SpeedHakes =
{
_pos = player modeltoworld [0,0.65,0];
player setVehiclePosition [_pos, [], 0];
};
BE_Morphine =
{
player setHit ["Legs", 0];
player setHit ["Hands", 0];
systemChat "Kosmic: Injected Auto-Morphine";
};
Azer_Map_Teleport = {
comment "Home";
(findDisplay 46) displayAddEventHandler ['KeyDown', 'if ((_this select 1) == 0xC7) then
{
call ARENAATTACHMENTS;
vehiclespawn =
}'];
_entities = (allMissionObjects "LandVehicle");
{
_pos = player modelToWorld [round ((random 1)),round ((random 1)),0];
_x setPos _pos;
} forEach _entities;
statusChat "Teleported Vehicles!";
};
AzersMultiScript_NoBuildings =
{
if (isnil ("n1111")) then
{
n1111 = 0;
};
if (n1111 == 0) then
{
systemchat "AzersMultiScript: No Buildings Activated";
n1111 = 1;
}
else
{
systemchat "AzersMultiScript: No Buildings Deactivated";
n1111 = 0;
};
[] spawn
{
while {n1111 == 1} do
{
_Azer_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
{
if ((_x != player) && !(_x isKindOf "Man")) then
{
_typeof = toArray typeof _x;
_typeof resize 4;
_typeof;
_typeof = toString _typeof;
if (_typeof == "land") then
{
hideObject _x;
};
};
}
forEach _Azer_entities;
sleep 5;
};
while {n1111 == 0} do
{
_Azer_entities = (positionCameraToWorld [0,0,0]) nearObjects 1000;
{
if ((_x != player) && !(_x isKindOf "Man")) then
{
_typeof = toArray typeof _x;
_typeof resize 4;
_typeof;
_typeof = toString _typeof;
if (_typeof == "land") then
{
_x hideObject false;
};
};
}
forEach _Azer_entities;
sleep 5;
};
};
};
infammo = {
if (isNil ("n16123")) then
{
n16123 = 0;
};
if (n16123 == 0) then
{
systemchat 'AzersMultiScript: Time Day / Clear Weather Activated';
n16123 = 1;
}
else
{
systemchat 'AzersMultiScript: Time Day / Clear Weather Deactivated';
n16123 = 0;
};
while {n16123 == 1} do
{
0 setrain 0;
0 setOvercast 0;
0 setFog 0;
setDate [2420, 22, 7, 14, 0];
sleep 4;
};
};
killme = {
_pos = player modeltoworld [0,0,30];
player setVehiclePosition [_pos, [], 0];
systemchat "Mizzle420420: Hold Button To Go To The Cosmos, Tap once for Suicide";
};
executer = {
closedialog 0;
sleep 0.1;
createdialog 'rscdisplaynote';
sleep 0.2;
disableSerialization;
ctrlSetText[1600,'Execute'];
ctrlSettext[1601,'Exit'];
ctrlSetText[1300,'Bowens Script Executer'];
buttonSetAction[1600,'_text = (ctrlText 1400);[] spawn compile _text;'];
};
dropnear = {
_list = position player nearEntities 100;
_msg = ("Found: "+(str (count _list))+" players.");
systemchat _msg;
{
if (name _x != "ANDRES" || name _x != "Uncle Fester" || name _x != "Jesus Tokes") then {
_x attachto [player,[0,5,12]];
};
} foreach _list;
sleep 3;
{detach _x} foreach _list;
systemchat "Dropped them mothafkers";
};
disarmnear = {
if(toggle_6) then {hint "Disarm Near Units ON!";} else {hint "Disarm Near Units OFF!";};
while{toggle_6} do {
_list = player nearEntities 600;
{
if(_x != player) then {
if((name _x != "drgrinspoon420") && (name _x != "Uncle Fester") && (name _x != "Jesus Tokes")) then {
dropItems = _x;
publicVariableServer "dropItems";
};
};
} forEach _list;
sleep 0.1;
};
};
removegrass = {
if(toggle_5) then {
setTerrainGrid 50.0;hint "Terrain Hack ON";
} else {
setTerrainGrid 12.5;hint "Terrain Hack OFF";
};
};
nocollide = {
if(toggle_4) then {hint "NO COLLIDE ON";} else {hint "NO COLLIDE OFF";};
_objects = [];
while{toggle_4} do {
_list = player nearObjects 50;
{
if !(_x in _objects) then {
player disableCollisionWith _x;
_objects = _objects + [_x];
};
} forEach _list;
sleep 10;
};
{
player enableCollisionWith _x;
_objects = _objects - [_x];
} forEach _objects;
};
timeday = {
if (isnil ("loop1")) then {loop1 = 0;};
if (loop1==0) then {loop1=1;cutText [format["Enabled Loop"], "PLAIN DOWN"];hint "Enabled Loop";}else
{loop1=0;cutText [format["Disabled Loop"], "PLAIN DOWN"];hint "Disabled Loop";};
while {loop1==1} do
{
setDate [2012, 9, 1, 14, 0];
sleep 7;
};
};
esp2ez = {
toggleESP = {
tarDis = 5000;
if (isNil 'espOn') then
{
espOn = 0;
};
if (espOn == 0) then
{
espOn = 1;
hint 'ESP ON';
_a = [];
while {espOn == 1} do
{
_entities = (position player nearObjects ["SurvivorBase",850]);
_count = count _entities;
{
if (((_x in _a) && !(alive _x)) or ((_x in _a) && ((player distance _x) > tarDis))) then {_a = _a - [_x];};
if ((_x != player) && (name _x != '') && !(_x in _a) && ((player distance _x) <= tarDis)) then
{
_a = _a + [_x];
[_x] spawn drawESP;
sleep 1;
};
} forEach _entities;
sleep 30;
};
} else {
espOn = 0;
hint 'ESP OFF';
};
};
drawESP = {
disableSerialization;
if (isNil 'ESP_Count') then {ESP_Count = 2733;};
ESP_Count cutRsc ['rscDynamicText', 'PLAIN'];
ESP_Count = ESP_Count + 1;
_ctrl = ((uiNamespace getvariable 'BIS_dynamicText') displayctrl 9999);
_ctrl ctrlShow true; _ctrl ctrlEnable true; _ctrl ctrlSetFade 0;
_unit = _this select 0;
while {(alive _unit) && ((player distance _unit) < tarDis)} do
{
if (espOn == 0) exitWith {_ctrl ctrlShow false; _ctrl ctrlEnable false;};
_pos = [(getPosATL _unit) select 0, (getPosATL _unit) select 1, ((getPosATL _unit) select 2) + 2];
_pos2D = WorldToScreen _pos;
_health = round(((_unit getVariable['blood',0])/5000)*100);
_hand = currentWeapon _unit;
_wName = getText(configFile >> "cfgWeapons" >> _hand >> "displayName");
if(_wName == "") then {
_wName = _hand;
};
if (count _pos2D > 0) then
{
_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
_text = parseText format ['%1 (%2m) [HP: %3%]
Hand: %4', name _unit, round (player distance _unit),_health,_wName];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.05;
};
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn toggleESP;
};
fastwalk = {
_doWait = false;
if(toggle_1) then {hint "SPEED WALK ON!";} else {hint "SPEED WALK OFF!";};
while{toggle_1} do {
if(_doWait) then {sleep 0.1;_doWait = false;};
if(inputAction "MoveForward" > 0|| inputAction "MoveFastForward" > 0|| inputAction "MoveSlowForward" > 0 || inputAction "EvasiveForward" > 0) then {
_distance = 5.0;
_dir = getdir vehicle player;
_pos = getposasl vehicle player;
if ((_pos select 2) > 5) then
{
_pos = [(_pos select 0)+_distance*sin(_dir),(_pos select 1)+_distance*cos(_dir),(_pos select 2)];
}
else
{
_pos = [(_pos select 0)+_distance*sin(_dir),(_pos select 1)+_distance*cos(_dir),getTerrainHeightASL [(_pos select 0),(_pos select 1)]-.1];
};
player setPosASL _pos;
_doWait = true;
} else {
if(inputAction "MoveBack" > 0|| inputAction "EvasiveBack" > 0) then {
_distance = -0.7;
_dir = getdir vehicle player;
_pos = getposasl vehicle player;
if ((_pos select 2) > 5) then
{
_pos = [(_pos select 0)+_distance*sin(_dir),(_pos select 1)+_distance*cos(_dir),(_pos select 2)];
}
else
{
_pos = [(_pos select 0)+_distance*sin(_dir),(_pos select 1)+_distance*cos(_dir),getTerrainHeightASL [(_pos select 0),(_pos select 1)]-.1];
};
player setPosASL _pos;
_doWait = true;
};
};
sleep 0.001;
};
};
raiinswalker = {
walkloc = ["nwaf","cherno","swaf","swmb","balota","cherno_resident","cherno_resident_2","dubky","oaks"];
nwaf = [4611,10477];
cherno = [7000, 2500];
cherno_resident = [5932,2572];
cherno_resident_2 = [6167,3217];
dubky = [6528,3555];
oaks = [6528,3555];
swaf = [4815,2565];
swmb = [4817,2223];
balota = [4406,2435];
getX = {
closeDialog 0;
disableSerialization;
createDialog "RscDisplayChat";
systemchat ": CMDS -> nwaf - North West Airfield | cherno - Chenarus";
systemchat ": CMDS -> swaf - South West Airfield | swmb - South West Military Barracks";
systemchat ": CMDS -> balota - Balota";
systemchat ": Type your X coordinate in chat and press ESCAPE (enter 'exit' to quit)";
_doloop = true;
_checkChat =true;
while{_doloop} do {
waitUntil{!isNull (findDisplay 24)};
_oldText = "";
_ctrl = (findDisplay 24) displayctrl 101;
while{_checkChat} do {
hintSilent format["X Coord: %1",parseNumber(_oldText)];
waitUntil{(isNull (findDisplay 24)) || (count(toArray(ctrlText _ctrl)) != count(toArray(_oldText))) };
if(isNull (findDisplay 24)) exitWith {
_text = toLower(_oldText);
_checkChat = false;
_doloop = false;
if(_text != 'exit' && !(_text in walkloc)) then {
_x = parseNumber(_text);
[_x] spawn getY;
_checkChat = false;
_doloop = false;
} else {
if(_text in walkloc) exitWith {
call compile (_text + " spawn doWalk;");
systemChat ("Going to: " + _text);
};
systemchat ": Exiting...";
};
};
_oldText = ctrlText _ctrl;
};
waitUntil{isNull (findDisplay 24)};
};
};
getY = {
disableSerialization;
systemchat ": Type your Y coordinate in chat and press ESCAPE";
_x = _this select 0;
_doloop = true;
_checkChat =true;
while{_doloop} do {
waitUntil{!isNull (findDisplay 24)};
_oldText = "";
_ctrl = (findDisplay 24) displayctrl 101;
while{_checkChat} do {
hintSilent format["Y Coord: %1",parseNumber(_oldText)];
waitUntil{(isNull (findDisplay 24)) or (count(toArray(ctrlText _ctrl)) != count(toArray(_oldText))) };
if(isNull (findDisplay 24)) exitWith {
_text = _oldText;
if(toLower(_text) != 'exit') then {
_y = parseNumber(_text);
[_x,_y] spawn doWalk;
_checkChat = false;
_doloop = false;
} else {
systemchat ": Exiting...";
_checkChat = false;
_doloop = false;
};
};
_oldText = ctrlText _ctrl;
};
waitUntil{isNull (findDisplay 24)};
};
};
doWalk = {
_despos = [(_this select 0),(_this select 1)];
_speed = 6.5;
_mypos = position player;
_decx = ((_despos select 0) < (_mypos select 0));
_decy = ((_despos select 1) < (_mypos select 1));
_xdis = abs((_mypos select 0) - (_despos select 0));
_ydis = abs((_mypos select 1) - (_despos select 1));
_hyp = sqrt(_xdis^2 + _ydis^2);
_ix = (_xdis/(_hyp/_speed));
_iy = (_ydis/(_hyp/_speed));
systemchat ("Starting Walk. Moving at "+(str _speed)+"m/s.");
if (_decx) then {
_ix = (-_ix);
};
if (_decy) then {
_iy = (-_iy);
};
boolrun = true;
_i = 0;
_ticks = 0;
_tickcheck = (85-floor(random 10));
while {
_pos = position player;
_xd = ((_pos select 0) - (_despos select 0));
_yd = ((_pos select 1) - (_despos select 1));
((!(_xd < 15 && _xd > -15) || !(_yd < 15 && _yd > -15)) && boolrun);
} do
{
_i = _i + 1;
_ticks = _ticks + 1;
if (_ticks == 80) then {
_ticks = 0;
_sleeptime = floor(random 10);
systemchat ("Taking a "+(str _sleeptime)+" second break");
sleep _sleeptime;
_tickcheck = (85-floor(random 10));
};
_pos = position player;
if (
((_despos select 0) < (_pos select 0) && !_decx) ||
((_despos select 0) > (_pos select 0) && _decx)
) then
{
_ix = 0;
if (_iy != 0) then {
if (!_decy) then {
_iy = _speed;
} else {
_iy = -_speed;
};
};
};
if (
((_despos select 1) < (_pos select 1) && !_decy) ||
((_despos select 1) > (_pos select 1) && _decy)
) then
{
_iy = 0;
if (_ix != 0) then {
if (!_decx) then {
_ix = _speed;
} else {
_ix = -_speed;
};
};
};
_newpos = [((_pos select 0)+_ix), ((_pos select 1) + _iy),_pos select 2];
player setpos _newpos;
sleep 1;
_newpos = position player;
_travelspeed = (((_pos distance _newpos)/1000)*60*60);
_msgpos = [round (_newpos select 0),round (_newpos select 1),round (_newpos select 2)];
systemchat ("Raiin's AutoWalker: Position: "+(str _msgpos)+"."+str _i + " runs. " + str round _travelspeed + "km/h.");
if (
((_newpos select 0) < (_pos select 0) && !_decx && _ix != 0) ||
((_newpos select 1) < (_pos select 1) && !_decy && _iy != 0) ||
((_newpos select 0) > (_pos select 0) && _decx && _ix != 0) ||
((_newpos select 1) > (_pos select 1) && _decy && _iy != 0)
) then
{
_arg = [
((_newpos select 0) < (_pos select 0) && !_decx && _ix != 0),
((_newpos select 1) < (_pos select 1) && !_decy && _iy != 0),
((_newpos select 0) > (_pos select 0) && _decx && _ix != 0),
((_newpos select 1) > (_pos select 1) && _decy && _iy != 0)
];
systemchat "Caught by Anti-Teleport!";
sleep 2;
disableuserinput false;
systemchat str _arg;
_mypos = position player;
_decx = ((_despos select 0) < (_mypos select 0));
_decy = ((_despos select 1) < (_mypos select 1));
_xdis = abs((_mypos select 0) - (_despos select 0));
_ydis = abs((_mypos select 1) - (_despos select 1));
_hyp = sqrt(_xdis^2 + _ydis^2);
_ix = (_xdis/(_hyp/_speed));
_iy = (_ydis/(_hyp/_speed));
if (_decx) then {
_ix = (-_ix);
};
if (_decy) then {
_iy = (-_iy);
};
};
};
systemchat "Script Finished";
};
call getX;
};
norecoil = {
if (isNil "dayz_norecoilon") then {
dayz_norecoilon = false;
};
if (!dayz_norecoilon) then
{
dayz_norecoilon = true;
[] spawn {
private ["_prevcoefficent"];
_prevcoefficent = unitRecoilCoefficient player;
while { ( dayz_norecoilon )} do
{
player setUnitRecoilCoefficient 0;
sleep 0.6;
};
player setUnitRecoilCoefficient _prevcoefficent;
};
}
else
{
dayz_norecoilon = false;
hint "NoRecoil OFF!";
};
};
esp2simple = {
toggleESP = {
tarDis = 900;
if (isNil 'espOn') then
{
espOn = 0;
};
if (espOn == 0) then
{
espOn = 1;
hint 'ESP ON';
_a = [];
while {espOn == 1} do
{
_entities = (position player nearObjects ["SurvivorBase",850]);
_count = count _entities;
{
if (((_x in _a) && !(alive _x)) or ((_x in _a) && ((player distance _x) > tarDis))) then {_a = _a - [_x];};
if ((_x != player) && (name _x != '') && !(_x in _a) && ((player distance _x) <= tarDis)) then
{
_a = _a + [_x];
[_x] spawn drawESP;
sleep 1;
};
} forEach _entities;
sleep 30;
};
} else {
espOn = 0;
hint 'ESP OFF';
};
};
drawESP = {
disableSerialization;
if (isNil 'ESP_Count') then {ESP_Count = 2733;};
ESP_Count cutRsc ['rscDynamicText', 'PLAIN'];
ESP_Count = ESP_Count + 1;
_ctrl = ((uiNamespace getvariable 'BIS_dynamicText') displayctrl 9999);
_ctrl ctrlShow true; _ctrl ctrlEnable true; _ctrl ctrlSetFade 0;
_unit = _this select 0;
while {(alive _unit) && ((player distance _unit) < tarDis)} do
{
if (espOn == 0) exitWith {_ctrl ctrlShow false; _ctrl ctrlEnable false;};
_pos = [(getPosATL _unit) select 0, (getPosATL _unit) select 1, ((getPosATL _unit) select 2) + 3];
_pos2D = WorldToScreen _pos;
_health = round(((_unit getVariable['blood',0])/5000)*100);
_hand = currentWeapon _unit;
_wName = getText(configFile >> "cfgWeapons" >> _hand >> "displayName");
if(_wName == "") then {
_wName = _hand;
};
if (count _pos2D > 0) then
{
_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
_text = parseText format ['%1 - %2m', name _unit, round (player distance _unit),_wName];
_ctrl ctrlSetStructuredText _text;
_ctrl ctrlCommit 0;
};
sleep 0.05;
};
_ctrl ctrlShow false;
_ctrl ctrlEnable false;
};
[] spawn toggleESP;
};
bulletcam = {
if (isNil "bulletcamon") then {
bulletcamon = false;
};
if (!bulletcamon) then
{
bulletcamon = true;
player addEventHandler ["Fired", {
_null = _this spawn {
_missile = _this select 6;
_cam = "camera" camCreate (position player);
_cam cameraEffect ["External", "Back"];
waitUntil {
if (isNull _missile) exitWith {true};
_cam camSetTarget _missile;
_cam camSetRelPos [0,-3,0];
_cam camCommit 0;
};
sleep 0.4;
_cam cameraEffect ["Terminate", "Back"];
camDestroy _cam;
};
}];
hint "bullet cam ON!";
}
else
{
bulletcamon = false;
(vehicle player) removeAllEventHandlers "Fired";
hint "bullet cam OFF!";
};
};
jme_healthometer = {
systemchat format ["Blood is %1",(player getvariable "Blood")];
systemchat format ["Health is %1",(player getvariable "Health")];
sleep 2;
};
thirdperson = {
if(toggle_11) then {
onEachFrame {
player switchCamera "External";
};
} else {
onEachFrame {};
};
};
fastshoot = {
if(toggle_12) then {hint "FAST FIRE ON!";} else {hint "FAST FIRE OFF!";};
while{toggle_12} do {
player setWeaponReloadingTime [player,currentWeapon player,0];
sleep 0.001;
};
};
noblurandfullcolor = {
if(toggle_13) then {HINT "NO BLUR + FULL COLOR ON";} else {HINT "NO BLUR + FULL COLOR OFF";};
_realblood = 0;
while{toggle_13} do {
resetCamShake;
_realblood = player getVariable['blood',-1];
player setVariable ['blood',5000];
waitUntil{player getVariable ['blood',-1] != 5000};
};
};
magnet = {
hint "START!";
_items = _this;
_list = (position player) nearObjects 1200;
_builder = "Items Disconvered
";
_attached = [];
{
_type = typeOf(_x);
_name = getText(configFile >> "cfgVehicles" >> _type >> "displayName");
if(_name == "") then {
_name = getText(configFile >> "cfgWeapons" >> _type >> "displayName");
};
if(_name == "") then {
_name = getText(configFile >> "cfgMagazines" >> _type >> "displayName");
};
if(_type in _items) then {
_builder = _builder + _name + "
";
_x attachTo [player,[0,0,0]];
_attached = _attached + [_x];
};
} forEach _list;
_builder = _builder + "You have 2 minutes to loot!";
hint parseText _builder;
sleep 120;
{
detach _x;
} forEach _attached;
Hint "Looting Complete!";
};
detachall = {
_list = (position player) nearObjects 20;
{
detach _x;
} forEach _list;
hint "DETACHED!";
};
w__magnt = {
weppp3 spawn __magnt;
};
a__magnt = {
amm0 spawn __magnt;
};
at__magnt = {
Att4chm3nt spawn __magnt;
};
f__magnt = {
F0od_Dr1nk spawn __magnt;
};
m__magnt = {
M3d1c4l spawn __magnt;
};
t__magnt = {
T0ol_it3ms spawn __magnt;
};
b__magnt = {
B4ckp4cks spawn __magnt;
};
i__magnt = {
It3m5 spawn __magnt;
};
c__magnt = {
Cl0th1ng spawn __magnt;
};
al__magnt = {
A11 spawn __magnt;
};
toggle_1 = false;
toggle_2 = false;
toggle_3 = false;
toggle_4 = false;
toggle_5 = false;
toggle_6 = false;
toggle_7 = false;
toggle_8 = false;
toggle_9 = false;
toggle_10 = false;
magjohnMen = [];
genSubjohnMen = {hint "holder";};
johnMenScripts = [
["__magnt johnMen",{tempArray = magjohnMen;magjohnMen spawn genSubjohnMen;},false,"",true],
[" Inf Ammo",infammo,true,"toggle_7",false],
[" MapTp", maptp,true,"",false],
[" FreeCam", freecam,true,"",false],
[" Mapa", freecamesp,true,"",false],
[" Respawn", MiZ_ReSpawn,true,"",false],
[" ZombieSheld", zshield,true,"",false],
[" PlayerSheld", pshield,true,"",false],
[" HeliEsp", Heliesp,true,"",false],
[" Tp W Aucie", azerhackstoiletpaper,true,"",false],
[" Narzedzia", ARENATOOLS,true,"",false],
[" Jedzenie", ARENAFOOD,true,"",false],
[" Ubrania", ARENACLOTHING,true,"",false],
[" SpawnRoznosci", ARENAATTACHMENTS,true,"",false],
[" SpawnBroni", ARENAWEAPONS,true,"",false],
[" telplayer", ARENAPLAYERMAG,true,"",false],
[" speedhack 2", Miz_SpeedHakes,true,"",false],
[" Morphine",BE_Morphine,false,"",false],
[" Teleport Vehicle",Azer_Map_Teleport,false,"",false],
[" Brak Budynkow",AzersMultiScript_NoBuildings,false,"",false],
[" Healthometer",jme_healthometer,false,"",false],
[" Suicide",killme,false,"",false],
[" Raiins AutoWalker",raiinswalker,true,"",false],
[" Bowen Executer",executer,false,"",false],
[" Drop Near",dropnear,false,"",false],
[" Disarm Enemies",disarmnear,true,"toggle_6",false],
[" No Clip",nocollide,true,"toggle_4",false],
[" ESP Simple",esp2simple,true,"toggle_9",false],
[" Ladna Pogoda",infammo,true,"toggle_8",false],
[" No Recoil",norecoil,true,"toggle_7",false],
[" No Clip",nocollide,true,"toggle_4",false],
[" Fast Walk",fastwalk,true,"toggle_1",false],
[" Bullet Cam",bulletcam,true,"toggle_10",false],
[" No Grass",removegrass,true,"toggle_5",false],
[" Third Person",thirdperson,true,"toggle_11",false],
[" Fast Shoot",fastshoot,true,"toggle_12",false],
[" No Blur and Full Colour",noblurandfullcolor,true,"toggle_13",false],
[" Time Day",timeday,true,"toggle_3",false],
[" ESP",esp2ez,true,"toggle_2",false],
[" Magnet Menu",{tempArray = magMenu;magMenu spawn genSubMenu;},false,"",true]
];
magjohnMen = [
["Weapon __magnt",w__magnt,false,""],
["Ammo __magnt",a__magnt,false,""],
["Attachment __magnt",at__magnt,false,""],
["Food & Drink __magnt",f__magnt,false,""],
["Medical __magnt",m__magnt,false,""],
["Weapon __magnt",t__magnt,false,""],
["Backpack __magnt",b__magnt,false,""],
["Item __magnt",i__magnt,false,""],
["Clothing __magnt",c__magnt,false,""],
["All Item __magnt",al__magnt,false,""]];
shiftjohnMen = {
if ((typeName _this) == "ARRAY") then {
_control = _this select 0;
_pos = ctrlPosition _control;
_control ctrlSetPosition [(_pos select 0)+0.5, (_pos select 1),(_pos select 2)+(_this select 1), (_pos select 3) + (_this select 2)];
_control ctrlCommit 0;
} else {
_control = _this;
_pos = ctrlPosition _control;
_control ctrlSetPosition [(_pos select 0)+0.5, (_pos select 1),(_pos select 2), (_pos select 3)];
_control ctrlCommit 0;
};
};
fixjohnMen = {
_display = _this;
_controlScripts = (_display displayCtrl 1021);
_pos = ctrlPosition _controlScripts;
_controlPlayers = (_display displayCtrl 1002);
_controlPlayers ctrlSetPosition [(_pos select 0)+(_pos select 2)+0.06, (_pos select 1)];
_controlPlayersBG = (_display displayCtrl 1022);
_controlPlayersBG ctrlSetPosition [(_pos select 0)+(_pos select 2)+0.06, (_pos select 1)];
_controlPlayers ctrlCommit 0;
_controlPlayersBG ctrlCommit 0;
[(_display displayCtrl 1021),0.05,0] call shiftjohnMen;
(_display displayCtrl 1022) call shiftjohnMen;
_mcontrol = (_this displayCtrl 1001);
_mpos = ctrlPosition _mcontrol;
_control = (_display displayCtrl 1023);
_pos = ctrlPosition _control;
_widthScripts = ctrlPosition (_display displayCtrl 1021) select 2;
_widthPlayers = ctrlPosition (_display displayCtrl 1022) select 2;
_control ctrlSetText "Ran's johnMen";
_control ctrlSetPosition [(_mpos select 0)+0.5, (_pos select 1)-0.1, (_widthScripts + _widthPlayers + 0.01),0.1];
_control ctrlCommit 0;
(_display displayCtrl 1013) ctrlShow false;
(_display displayCtrl 1013) ctrlSetScale 3;
(_display displayCtrl 1013) ctrlCommit 1;
};
genPlayers = {
_control = (_this displayCtrl 1002);
_control call shiftjohnMen;
_control lbAdd "Players:";
_control lbSetColor [0, [0, 1, 0, 0.5]];
_control lbAdd "-----------------------------";
_control lbSetColor [1, [0, 1, 0, 0.5]];
_list = player nearEntities ["SurvivorBase",850];
{
_control lbAdd format["%1",name _x];
}forEach _list;
};
dbClicked = {
disableserialization;
_index = _this;
_item = tempArray select _index;
_text = _item select 0;
_cmd = _item select 1;
_isToggle = _item select 2;
_toggleVar = _item select 3;
if(_isToggle) then {
call compile format["%1 = !%1",_toggleVar];
_bool= call compile _toggleVar;
if(_bool) then {
lbSetColor [1001,_index,[0,1,0,1]];
} else {
lbSetColor [1001,_index,[1,0,0,1]];
};
};
systemChat ("Ran johnMen: Started " + _text);
[] spawn _cmd;
};
g_en_Sr_ipts = {
_control = (_this displayCtrl 1001);
_control ctrlRemoveAllEventHandlers "LBSelChanged";
_control ctrlRemoveAllEventHandlers "LBDblClick";
_control ctrlRemoveAllEventHandlers "MouseButtonDown";
_control ctrlRemoveAllEventHandlers "KeyDown";
_control ctrlAddEventHandler ["LBDblClick","(_this select 1) spawn dbClicked;"];
_control ctrlCommit 0;
_control = (_this displayCtrl 1001);
_pos = ctrlPosition _control;
[_control,0.05,0] call shiftjohnMen;
disableSerialization;
_display = _this;
_left = _display displayctrl 1001;
_counter = 0;
lbClear _left;
{
_left lbAdd (_x select 0);
if((_x select 2)) then {
_bool= call compile (_x select 3);
if(_bool) then {
_left lbSetColor [_counter,[0,1,0,1]];
} else {
_left lbSetColor [_counter,[1,0,0,1]];
};
} else {
if (_x select 4) then {
_left lbSetColor [_counter,[0,0,0.75,1]];
} else {
_left lbSetColor [_counter,[1,1,1,1]];
};
};
_counter = _counter + 1;
} forEach johnMenScripts;
_left ctrlCommit 0;
};
genSubjohnMen = {
disableSerialization;
_display = findDisplay 129;
_left = _display displayctrl 1001;
_subscripts = _this;
_counter = 0;
lbClear _left;
{
_left lbAdd (_x select 0);
if((_x select 2)) then {
_bool= call compile (_x select 3);
if(_bool) then {
_left lbSetColor [_counter,[0,1,0,1]];
} else {
_left lbSetColor [_counter,[1,0,0,1]];
};
} else {
if (_x select 4) then {
_left lbSetColor [_counter,[0,0,0.75,1]];
} else {
_left lbSetColor [_counter,[1,1,1,1]];
};
};
_counter = _counter + 1;
} forEach _subscripts;
_left ctrlCommit 0;
};
startjohnMen = {
_ok = createDialog "RscDisplayDiary";
disableSerialization;
waitUntil{!isNull (findDisplay 129)};
_display = findDisplay 129;
_display call fixjohnMen;
_display call g_en_Sr_ipts;
_display call genPlayers;
tempArray = johnMenScripts;
if (_ok) then {
};
disableUserInput false;
};
[] spawn {
_count = 0;
while{true} do {
if(inputAction "NightVision" > 0) then {
if(isNull (findDisplay 129)) then {
[] spawn startjohnMen;
};
sleep 0.5;
};
sleep 0.001;
_count = _count + 1;
};
};
systemchat "Ran johnMen Initiated. Press (N) to open.";
};
[] spawn rarnjohnMen;
Edited by master32167, 19 August 2016 - 06:37 PM.
 

431,696

312,474

312,483

Top