Advertisement
Guest User

unknowncheats.me

a guest
Mar 28th, 2021
7,290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 138.25 KB | None | 0 0
  1. if (isNil "welcomepage_0x1F") then { welcomepage_0x1F = 0; };
  2. if (isNil "sliderpokazany") then { sliderpokazany = 0; };
  3. fovaimaeluwina_0x1pfke = 0.010;
  4. fovkoleczkaeluwina_0x1pfke = 0.010;
  5. [] spawn {
  6. waitUntil{!isNull(findDisplay 602)};
  7. call Pb0X1Lrhsqjd_mor_x01P_loadMorpheus;
  8. hint "Success";
  9. systemChat "Success";
  10. uiSleep 1;
  11. Pb0X1Lrhsqjd_mor_welcome_title = "<t color='#03fcba' size='1.4' align='center'>Morpheus Menu Loaded</t><br/>";
  12. nic = "";
  13. Pb0X1Lrhsqjd_mor_welcome_desc2 = "<t color='#FFFFFF' size='1' align='center'>Press Insert to open the menu</t><br/>";
  14. hint parseText(Pb0X1Lrhsqjd_mor_welcome_title + nic + Pb0X1Lrhsqjd_mor_welcome_desc2);
  15. };
  16.  
  17. Pb0X1Lrhsqjd_fn_player = [
  18. ["GODMODE ‍ ","[] spawn Pb0X1Lrhsqjd_mor_god"],
  19. ["VEHICLE GODMODE ‍ ","[] spawn Pb0X1Lrhsqjd_mor_god_veh"],
  20. ["FADE SOUND ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_cisza"]
  21. ];
  22.  
  23. Pb0X1Lrhsqjd_fn_movement = [
  24. ["NO FATIGUE ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_fatigue"],
  25. ["SPEEDHACK ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_speed"],
  26. ["NOCLIP ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_noclip"],
  27. ["MAP TELEPORT ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_tp"]
  28. ];
  29.  
  30. Pb0X1Lrhsqjd_fn_visualsplayer = [
  31. ["BOX ESP ‍ ","[] spawn Pb0X1Lrhsqjd_mor_box_esp"],
  32. ["BOX ESP AI ‍ ","[] spawn Pb0X1Lrhsqjd_mor_box_esp_ai"],
  33. ["PLAYER ESP ‍ ","[] spawn Pb0X1Lrhsqjd_mor_esp"],
  34. ["AI ESP ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_esp_ai"],
  35. ["SHOW HEALTH BAR PLAYER ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_esp_health_player"],
  36. ["SHOW HEALTH BAR AI ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_esp_health_ai"],
  37. ["PLAYER MAP ESP ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_esp_map_player"],
  38. ["AI MAP ESP ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_esp_map_ai"]
  39. ];
  40.  
  41. Pb0X1Lrhsqjd_fn_visualsworld = [
  42. ["MAX RENDER ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_render"],
  43. ["NO GRASS ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_nograss"]
  44. ];
  45.  
  46. Pb0X1Lrhsqjd_fn_shootingassist = [
  47. ["NO RECOIL ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_recoil"],
  48. ["NO SWAY ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_sway"],
  49. ["UNLIMITED AMMO ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_unliammo"],
  50. ["SILENT AIM (DRAW TARGET) ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_aimbocikaleniemownikomu"],
  51. ["SILENT AIM (FOV CIRCLE) ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_aimbocikzkolkiem"]
  52. ];
  53.  
  54. Pb0X1Lrhsqjd_fn_shootingrage = [
  55. ["RAPID FIRE ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_rapid"],
  56. ["MURDERER MODE ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_jestemmordercaileceztym"]
  57. ];
  58.  
  59. Pb0X1Lrhsqjd_fn_serverlist = [
  60. ["Coming Soon!", "hint ""Coming Soon!"";"]
  61. ];
  62.  
  63. Pb0X1Lrhsqjd_fn_trolltarget = [
  64. ["PUMMEL TARGET VEHICLE ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_zobaczmy"],
  65. ["EJECT TARGET ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_wypierdalajztegoauta"],
  66. ["BLOW UP TARGET ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_robiszboom"],
  67. ["COPY TARGETS GEAR ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_fajnyoutfit"],
  68. ["COPY GEAR ON TARGET ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_fajnyoutfitcidam"],
  69. ["STRIP TARGET ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_latajnagolasapsie"],
  70. ["MAKE TARGET DANCE ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_tanczpedale"],
  71. ["TELEPORT TO TARGET ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_tepajmniedoniego"],
  72. ["TELEPORT TARGET TO ME ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_tepajgodomnie"]
  73. ];
  74.  
  75. Pb0X1Lrhsqjd_fn_trollserver = [
  76. ["TP EVERYONE ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_tp_ev"],
  77. ["PUMMEL ALL VEHICLES ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_lecauteczko"],
  78. ["PUMMEL ALL PLAYERS (EXPERIMENTAL) ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_lectypie"],
  79. ["STRIP DOWN EVERYONE ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_stripdown"],
  80. ["BLOW UP EVERYONE ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_wysadzich"]
  81. ];
  82.  
  83. Pb0X1Lrhsqjd_fn_misc = [
  84. ["SHOW THE SCRIPT EXECUTOR ‍ ", "[] spawn pokaexeca_Pb0X1Lrhsqjd_mor_0x1PrL"],
  85. ["MENU SELF DESTRUCT ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_zesralemsieiwylaczammenu"],
  86. ["SHOW ITEM SPAWNER ‍ ", "[] spawn pokaspawner_Pb0X1Lrhsqjd_mor_0x1PrL"],
  87. ["GIVE AMMO ‍ ", "[] spawn Pb0X1Lrhsqjd_mor_dawajammo"]
  88. ];
  89.  
  90. Pb0X1Lrhsqjd_fn_getobject = {
  91. _plejersy = uiNamespace getVariable 'plejersy';
  92. _sel = _plejersy lbdata (lbCurSel _plejersy);
  93. _obj = objnull;
  94. {
  95. if (getPlayerUID _x == _sel) then {
  96. _obj = _x;
  97. };
  98. }
  99. forEach playableUnits;
  100. _obj
  101. };
  102.  
  103. Pb0X1Lrhsqjd_mor_zesralemsieiwylaczammenu = {
  104. Pb0X1Lrhsqjd_mor_Binds = compileFinal "";
  105. };
  106.  
  107. Pb0X1Lrhsqjd_mor_esp_map_ai = {
  108. if (isnil "Pb0X1Lrhsqjd_mor_esp_map_ai_toogle") then {Pb0X1Lrhsqjd_mor_esp_map_ai_toogle = false;};
  109. if (Pb0X1Lrhsqjd_mor_esp_map_ai_toogle) then {
  110. ((finddisplay 12)displayCtrl 51)ctrlremoveEventHandler ["Draw",Pb0X1Lrhsqjd_mor_markerki_ai];
  111. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_8",false];
  112. _listaplayer = uiNamespace getVariable 'listfnvisualsplayer';
  113. _listaplayer lbSetColor [7,[1, 1, 1, 1]];
  114. Pb0X1Lrhsqjd_mor_esp_map_ai_toogle = false;
  115. } else {
  116. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_8",true];
  117. _listaplayer = uiNamespace getVariable 'listfnvisualsplayer';
  118. _listaplayer lbSetColor [7,[0, 1, 0, 1]];
  119. playsound "additemok";
  120. Pb0X1Lrhsqjd_mor_markerki_ai = ((finddisplay 12)displayCtrl 51)ctrlAddEventHandler ['Draw',{_2=_this select 0;{if(true)then{_3=if(vehicle _x==_x)then{name _x}else{_1='(';{_1=_1+(if(_forEachIndex==0)then{''}else{', '})+name _x}forEach(crew(vehicle _x));_1=_1+')';format['%1%2',getText(configFile>>'CfgVehicles'>>typeOf(vehicle _x)>>'displayName'),_1]};_4=if(vehicle _x==_x)then{'iconMan'}else{switch(true)do{case((vehicle _x)isKindOf'Man'):{'iconman'};case((vehicle _x)isKindOf'Car'):{'iconcar'};case((vehicle _x)isKindOf'Tank'):{'iconcar'};case((vehicle _x)isKindOf'Air'):{'iconhelicopter'};case((vehicle _x)isKindOf'Ship'):{'iconship'}}};_5=switch(side _x)do{case BLUFOR:{[0,0.298,0.596,1]};case OPFOR:{[0.502,0,0,1]};case INDEPENDENT:{[0,0.502,0,1]};case CIVILIAN:{[0.4,0,0.502,1]};case default{[0.996,0.655,0.114,1]}};_2 drawIcon[_4,_5,getPos _x,24,24,getDir _x,_3,1,0.060,'PuristaSemiBold','right']}}forEach allUnits}];
  121. Pb0X1Lrhsqjd_mor_esp_map_ai_toogle = true;
  122. };
  123. };
  124.  
  125. Pb0X1Lrhsqjd_mor_esp_map_player = {
  126. if (isnil "Pb0X1Lrhsqjd_mor_esp_map_player_toogle") then {Pb0X1Lrhsqjd_mor_esp_map_player_toogle = false;};
  127. if (Pb0X1Lrhsqjd_mor_esp_map_player_toogle) then {
  128. ((finddisplay 12)displayCtrl 51)ctrlremoveEventHandler ["Draw",Pb0X1Lrhsqjd_mor_markerki];
  129. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_7",false];
  130. _listaplayer = uiNamespace getVariable 'listfnvisualsplayer';
  131. _listaplayer lbSetColor [6,[1, 1, 1, 1]];
  132. Pb0X1Lrhsqjd_mor_esp_map_player_toogle = false;
  133. } else {
  134. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_7",true];
  135. _listaplayer = uiNamespace getVariable 'listfnvisualsplayer';
  136. _listaplayer lbSetColor [6,[0, 1, 0, 1]];
  137. playsound "additemok";
  138. Pb0X1Lrhsqjd_mor_markerki = ((finddisplay 12)displayCtrl 51)ctrlAddEventHandler ['Draw',{_2=_this select 0;{if(true)then{_3=if(vehicle _x==_x)then{name _x}else{_1='(';{_1=_1+(if(_forEachIndex==0)then{''}else{', '})+name _x}forEach(crew(vehicle _x));_1=_1+')';format['%1%2',getText(configFile>>'CfgVehicles'>>typeOf(vehicle _x)>>'displayName'),_1]};_4=if(vehicle _x==_x)then{'iconMan'}else{switch(true)do{case((vehicle _x)isKindOf'Man'):{'iconman'};case((vehicle _x)isKindOf'Car'):{'iconcar'};case((vehicle _x)isKindOf'Tank'):{'iconcar'};case((vehicle _x)isKindOf'Air'):{'iconhelicopter'};case((vehicle _x)isKindOf'Ship'):{'iconship'}}};_5=switch(side _x)do{case BLUFOR:{[0,0.298,0.596,1]};case OPFOR:{[0.502,0,0,1]};case INDEPENDENT:{[0,0.502,0,1]};case CIVILIAN:{[0.4,0,0.502,1]};case default{[0.996,0.655,0.114,1]}};_2 drawIcon[_4,_5,getPos _x,24,24,getDir _x,_3,1,0.060,'PuristaSemiBold','right']}}forEach allPlayers}];
  139. Pb0X1Lrhsqjd_mor_esp_map_player_toogle = true;
  140. };
  141. };
  142.  
  143. Pb0X1Lrhsqjd_mor_jestemmordercaileceztym = {
  144. if (isnil "Pb0X1Lrhsqjd_mor_jestemmordercaileceztym_toogle") then {Pb0X1Lrhsqjd_mor_jestemmordercaileceztym_toogle = false;};
  145. if (Pb0X1Lrhsqjd_mor_jestemmordercaileceztym_toogle) then {
  146. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingrage_2",false];
  147. _listamovement = uiNamespace getVariable 'listfnshootingrage';
  148. _listamovement lbSetColor [1,[1, 1, 1, 1]];
  149.  
  150. player removeEventHandler ["fired", Pb0X1Lrhsqjd_mor_derca];
  151. Pb0X1Lrhsqjd_mor_jestemmordercaileceztym_toogle = false;
  152. } else {
  153. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingrage_2",true];
  154. _listamovement = uiNamespace getVariable 'listfnshootingrage';
  155. _listamovement lbSetColor [1,[0, 1, 0, 1]];
  156. Pb0X1Lrhsqjd_mor_derca = player addEventHandler ["Fired", {
  157. _nearPlayers = player nearEntities ["CAManBase", 999999];
  158. _nearestPlayer=objNull;
  159. _nearestPlayerDist=999999;
  160. {
  161. _dist=vehicle _x distance player;
  162. if (_x != player and _dist<_nearestPlayerDist and alive _x) then {
  163. _nearestPlayer=_x;
  164. _nearestPlayerDist=_dist;
  165. _x setDamage 1;
  166. };
  167. } forEach _nearPlayers;
  168. }];
  169. Pb0X1Lrhsqjd_mor_jestemmordercaileceztym_toogle = true;
  170. };
  171. };
  172.  
  173. Pb0X1Lrhsqjd_mor_rapid = {
  174. if (isnil "Pb0X1Lrhsqjd_mor_rapid_toogle") then {Pb0X1Lrhsqjd_mor_rapid_toogle = false;};
  175. if (Pb0X1Lrhsqjd_mor_rapid_toogle) then {
  176. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingrage_1",false];
  177. _listamovement = uiNamespace getVariable 'listfnshootingrage';
  178. _listamovement lbSetColor [0,[1, 1, 1, 1]];
  179. terminate toammozapierdala;
  180. Pb0X1Lrhsqjd_mor_rapid_toogle = false;
  181. } else {
  182. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingrage_1",true];
  183. _listamovement = uiNamespace getVariable 'listfnshootingrage';
  184. _listamovement lbSetColor [0,[0, 1, 0, 1]];
  185. playsound "additemok";
  186. toammozapierdala = [] spawn {
  187. while {true} do
  188. {
  189. _muzzle = currentMuzzle player;
  190. if(_muzzle isEqualType '')then{ (vehicle player) setWeaponReloadingTime [player, _muzzle, 0]; };
  191. uiSleep 0.001;
  192. };
  193. };
  194. Pb0X1Lrhsqjd_mor_rapid_toogle = true;
  195. };
  196. };
  197.  
  198. Pb0X1Lrhsqjd_mor_aimbocikfnc = {
  199.  
  200. Pb0X1Lrhsqjd_mor_aimbothandler = player addEventHandler ["Fired", {
  201. {
  202. player reveal _x;
  203. } forEach allPlayers;
  204. _target = cursorTarget;
  205. if (!isNull _target) then {
  206. if ((!isNull (vehicle _target))) then {
  207. _target = driver _target;
  208. };
  209. if ((alive _target) && (_target isKindOf "Man") && (group _target != group player)) then {
  210. _bullet = _this select 6;
  211. _head = _target modelToWorld (_target selectionPosition "neck");
  212. _bullet setPos _head;
  213. };
  214. };
  215. }];
  216. Pb0X1Lrhsqjd_mor_aimbotdrawhandler = addMissionEventHandler ["Draw3D", {
  217. _target = cursorTarget;
  218. if (!isNull _target) then {
  219. if ((!isNull (vehicle _target))) then {
  220. _target = driver _target;
  221. };
  222. if ((alive _target) && (_target isKindOf "Man") && (group _target != group player)) then {
  223. drawIcon3D ["", [0,0.8525,1,1], position cursorTarget, 0, 0, 0, "Target", 1, 0.04, "PuristaMedium"];
  224. };
  225. };
  226. }];
  227. };
  228.  
  229. Pb0X1Lrhsqjd_mor_aimbocikaleniemownikomu = {
  230. if(isNil 'aimbocikenabled')then
  231. {
  232. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingassist_4",true];
  233. _listamovement = uiNamespace getVariable 'listfnshootingassist';
  234. _listamovement lbSetColor [3,[0, 1, 0, 1]];
  235. aimbocikenabled = true;
  236. aimbocikthread = [] spawn Pb0X1Lrhsqjd_mor_aimbocikfnc;
  237. }
  238. else
  239. {
  240. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingassist_4",false];
  241. _listamovement = uiNamespace getVariable 'listfnshootingassist';
  242. _listamovement lbSetColor [3,[1, 1, 1, 1]];
  243. terminate aimbocikthread;
  244. aimbocikenabled = nil;
  245. player removeEventHandler ["Fired", Pb0X1Lrhsqjd_mor_aimbothandler];
  246. removeMissionEventHandler ["Draw3D", Pb0X1Lrhsqjd_mor_aimbotdrawhandler];
  247. };
  248. };
  249.  
  250. Pb0X1Lrhsqjd_mor_aimbocikzkolkiem = {
  251. if (isnil "Pb0X1Lrhsqjd_mor_fovaimbot_toogle") then {Pb0X1Lrhsqjd_mor_fovaimbot_toogle = false;};
  252. if (Pb0X1Lrhsqjd_mor_fovaimbot_toogle) then {
  253. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingassist_5",false];
  254. _listamovement = uiNamespace getVariable 'listfnshootingassist';
  255. _listamovement lbSetColor [4,[1, 1, 1, 1]];
  256. player removeEventHandler ["Fired", eventhandleraimbotazkolkeimes];
  257. removeMissionEventHandler ["Draw3D", Pb0X1Lrhsqjd_mor_drawcircleFOV];
  258. sliderpokazany = 0;
  259. [] spawn pokaslidera_Pb0X1Lrhsqjd_mor_0x1PrL;
  260. Pb0X1Lrhsqjd_mor_fovaimbot_toogle = false;
  261. } else {
  262. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingassist_5",true];
  263. _listamovement = uiNamespace getVariable 'listfnshootingassist';
  264. _listamovement lbSetColor [4,[0, 1, 0, 1]];
  265. playsound "additemok";
  266. [] spawn Pb0X1Lrhsqjd_mor_drawcircle;
  267. [] spawn pokaslidera_Pb0X1Lrhsqjd_mor_0x1PrL;
  268. eventhandleraimbotazkolkeimes = player addEventHandler["Fired", {
  269. {
  270. _nearestCursor3 = _x;
  271. _curPos12 = worldToScreen(getPosATLVisual _nearestCursor3);
  272. if !(_curPos12 isEqualTo[]) then {
  273. if (player distance _nearestCursor3 < 1500 && ((worldToScreen(getPosATLVisual _nearestCursor3)) distance([0.5, 0.5]) <= fovaimaeluwina_0x1pfke) && alive _nearestCursor3 && group _nearestCursor3 != group player && _nearestCursor3 != player) then {
  274. _nearestBullet12 = _this select 6;
  275. _nearestBullet2 = _nearestCursor3 modelToWorldVisual(_nearestCursor3 selectionPosition["head", "HitPoints"]);
  276. _nearestBullet12 setPos _nearestBullet2;
  277. };
  278. };
  279. } forEach allUnits;
  280. }];
  281. sliderpokazany = 1;
  282. Pb0X1Lrhsqjd_mor_fovaimbot_toogle = true;
  283. };
  284. };
  285.  
  286. Pb0X1Lrhsqjd_mor_drawcircle = {
  287. Pb0X1Lrhsqjd_mor_drawcircleFOV = addMissionEventHandler ["Draw3D",{
  288. _pos = positionCameraToWorld [0,0,5];
  289. Pb0X1Lrhsqjd_circlesize = (fovkoleczkaeluwina_0x1pfke / (getResolution select 5) * 1);
  290. drawIcon3D ["Morpheus\fov.paa", [0,0,0,1], _pos, Pb0X1Lrhsqjd_circlesize, Pb0X1Lrhsqjd_circlesize, 5, "", 2, 0.022, "PuristaSemiBold"];
  291. drawIcon3D ["Morpheus\fov.paa", [0,0,0,1], _pos, Pb0X1Lrhsqjd_circlesize, Pb0X1Lrhsqjd_circlesize, 5, "", 2, 0.022, "PuristaSemiBold"];
  292. drawIcon3D ["Morpheus\fov.paa", [0,0,0,1], _pos, Pb0X1Lrhsqjd_circlesize, Pb0X1Lrhsqjd_circlesize, 5, "", 2, 0.022, "PuristaSemiBold"];
  293. drawIcon3D ["Morpheus\fov.paa", [0,0,0,1], _pos, Pb0X1Lrhsqjd_circlesize, Pb0X1Lrhsqjd_circlesize, 5, "", 2, 0.022, "PuristaSemiBold"];
  294. drawIcon3D ["Morpheus\fov.paa", [0,0,0,1], _pos, Pb0X1Lrhsqjd_circlesize, Pb0X1Lrhsqjd_circlesize, 5, "", 2, 0.022, "PuristaSemiBold"];
  295. drawIcon3D ["Morpheus\fov.paa", [0,0,0,1], _pos, Pb0X1Lrhsqjd_circlesize, Pb0X1Lrhsqjd_circlesize, 5, "", 2, 0.022, "PuristaSemiBold"];
  296. drawIcon3D ["Morpheus\fov.paa", [0,0,0,1], _pos, Pb0X1Lrhsqjd_circlesize, Pb0X1Lrhsqjd_circlesize, 5, "", 2, 0.022, "PuristaSemiBold"];
  297. drawIcon3D ["Morpheus\fov.paa", [0,0,0,1], _pos, Pb0X1Lrhsqjd_circlesize, Pb0X1Lrhsqjd_circlesize, 5, "", 2, 0.022, "PuristaSemiBold"];
  298. drawIcon3D ["Morpheus\fov.paa", [0,0,0,1], _pos, Pb0X1Lrhsqjd_circlesize, Pb0X1Lrhsqjd_circlesize, 5, "", 2, 0.022, "PuristaSemiBold"];
  299. drawIcon3D ["Morpheus\fov.paa", [0,0,0,1], _pos, Pb0X1Lrhsqjd_circlesize, Pb0X1Lrhsqjd_circlesize, 5, "", 2, 0.022, "PuristaSemiBold"];
  300. drawIcon3D ["Morpheus\fov.paa", [0,0,0,1], _pos, Pb0X1Lrhsqjd_circlesize, Pb0X1Lrhsqjd_circlesize, 5, "", 2, 0.022, "PuristaSemiBold"];
  301. }];
  302. };
  303.  
  304. Pb0X1Lrhsqjd_mor_unliammo = {
  305. if (isnil "Pb0X1Lrhsqjd_mor_unliammo_toogle") then {Pb0X1Lrhsqjd_mor_unliammo_toogle = false;};
  306. if (Pb0X1Lrhsqjd_mor_unliammo_toogle) then {
  307. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingassist_3",false];
  308. _listamovement = uiNamespace getVariable 'listfnshootingassist';
  309. _listamovement lbSetColor [2,[1, 1, 1, 1]];
  310. removeMissionEventHandler ['EachFrame', unliammohandler];
  311. player setAmmo[currentWeapon player, 30];
  312. Pb0X1Lrhsqjd_mor_unliammo_toogle = false;
  313. } else {
  314. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingassist_3",true];
  315. _listamovement = uiNamespace getVariable 'listfnshootingassist';
  316. _listamovement lbSetColor [2,[0, 1, 0, 1]];
  317. playsound "additemok";
  318. unliammohandler = addMissionEventHandler ['EachFrame', {
  319. player setAmmo[currentWeapon player, 30]
  320. }];
  321. Pb0X1Lrhsqjd_mor_unliammo_toogle = true;
  322. };
  323. };
  324.  
  325. Pb0X1Lrhsqjd_mor_sway = {
  326. if (isnil "Pb0X1Lrhsqjd_mor_sway_toogle") then {Pb0X1Lrhsqjd_mor_sway_toogle = false;};
  327. if (Pb0X1Lrhsqjd_mor_sway_toogle) then {
  328. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingassist_2",false];
  329. _listamovement = uiNamespace getVariable 'listfnshootingassist';
  330. _listamovement lbSetColor [1,[1, 1, 1, 1]];
  331. player removeEventHandler["Fired", LP0X1_mor_handlerswaysiemano];
  332. LP0X1_mor_handlerswaysiemano = (vehicle player) addEventHandler["Fired", {
  333. player setCustomAimCoef 0;
  334. }];
  335. Pb0X1Lrhsqjd_mor_sway_toogle = false;
  336. } else {
  337. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingassist_2",true];
  338. _listamovement = uiNamespace getVariable 'listfnshootingassist';
  339. _listamovement lbSetColor [1,[0, 1, 0, 1]];
  340. playsound "additemok";
  341. LP0X1_mor_handlerswaysiemano = (vehicle player) addEventHandler["Fired", {
  342. player setCustomAimCoef 0;
  343. }];
  344. Pb0X1Lrhsqjd_mor_sway_toogle = true;
  345. };
  346. };
  347.  
  348. Pb0X1Lrhsqjd_mor_recoil = {
  349. if (isnil "Pb0X1Lrhsqjd_mor_recoil_toogle") then {Pb0X1Lrhsqjd_mor_recoil_toogle = false;};
  350. if (Pb0X1Lrhsqjd_mor_recoil_toogle) then {
  351. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingassist_1",false];
  352. _listamovement = uiNamespace getVariable 'listfnshootingassist';
  353. _listamovement lbSetColor [0,[1, 1, 1, 1]];
  354. player removeEventHandler["Fired", LP0X1_mor_handlerrecoilsiemano];
  355. LP0X1_mor_handlerrecoilsiemano = (vehicle player) addEventHandler["Fired", {
  356. player setUnitRecoilCoefficient 1;
  357. }];
  358. Pb0X1Lrhsqjd_mor_recoil_toogle = false;
  359. } else {
  360. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingassist_1",true];
  361. _listamovement = uiNamespace getVariable 'listfnshootingassist';
  362. _listamovement lbSetColor [0,[0, 1, 0, 1]];
  363. playsound "additemok";
  364. LP0X1_mor_handlerrecoilsiemano = (vehicle player) addEventHandler["Fired", {
  365. player setUnitRecoilCoefficient 0;
  366. }];
  367. Pb0X1Lrhsqjd_mor_recoil_toogle = true;
  368. };
  369. };
  370.  
  371. Pb0X1Lrhsqjd_mor_stripdown = {
  372. {_1=_x;{_1 removeWeaponGlobal _x}forEach weapons _x;removeAllItems _x;removeAllAssignedItems _x;removeUniform _x;removeVest _x;removeBackpack _x;removeHeadgear _x;removeGoggles _x}forEach allPlayers;
  373. hint "Stripped down everyone!"
  374. };
  375.  
  376. Pb0X1Lrhsqjd_mor_wysadzich = {
  377. {
  378. "HelicopterExploBig" createVehicleLocal position _x;
  379. "HelicopterExploBig" createVehicleLocal position _x;
  380. }forEach allPlayers;
  381. };
  382.  
  383. Pb0X1Lrhsqjd_mor_lectypie = {
  384.  
  385. [] spawn {
  386. {
  387. _a = 'C_SUV_01_F'
  388. createVehicleLocal(position _x);
  389. _x action["GetOut", vehicle _x];
  390. _x action["GetInCargo", _a];
  391. waitUntil {
  392. vehicle _x != _x
  393. };
  394. _a setVelocity[0, 0, 100];
  395. uiSleep 0.5;
  396. [] spawn usuwaj;
  397. }
  398. forEach allUnits;
  399. };
  400.  
  401. usuwaj = {
  402. [] spawn {
  403. _oldPos = getPos player;
  404. {
  405. _Target = vehicle _x;
  406. [_Target, player] call BIS_fnc_moveIn;
  407. if !(player == vehicle player) then {
  408. deleteVehicle vehicle player;
  409. player setPos _oldPos;
  410. };
  411. uiSleep 0.001;
  412. }
  413. forEach vehicles;
  414. };
  415. };
  416.  
  417. };
  418.  
  419. Pb0X1Lrhsqjd_mor_lecauteczko = {
  420. {
  421. _x addForce[[0, 5000, 75000], [1, 0, 0]];
  422. } forEach vehicles;
  423. hint "Pumelled all Vehicles";
  424. };
  425.  
  426. Pb0X1Lrhsqjd_mor_tepajmniedoniego = {
  427. _PX1L0_target = call Pb0X1Lrhsqjd_fn_getobject;
  428. _uid = getPlayerUID _PX1L0_target;
  429. {
  430. if ((getPlayerUID _x) == _uid) then {
  431. player setpos (getpos _PX1L0_target);
  432. };
  433. } forEach allPlayers;
  434. };
  435.  
  436. Pb0X1Lrhsqjd_mor_tepajgodomnie = {
  437. _PX1L0_target = call Pb0X1Lrhsqjd_fn_getobject;
  438. _uid = getPlayerUID _PX1L0_target;
  439. {
  440. if ((getPlayerUID _x) == _uid) then {
  441. _x setpos (getpos player);
  442. };
  443. } forEach allPlayers;
  444. };
  445.  
  446. Pb0X1Lrhsqjd_mor_latajnagolasapsie = {
  447. _PX1L0_target = call Pb0X1Lrhsqjd_fn_getobject;
  448. _uid = getPlayerUID _PX1L0_target;
  449. {
  450. if ((getPlayerUID _x) == _uid) then {
  451. _1=_x;{_1 removeWeaponGlobal _x}forEach weapons _x;removeAllItems _x;removeAllAssignedItems _x;removeUniform _x;removeVest _x;removeBackpack _x;removeHeadgear _x;removeGoggles _x;
  452. };
  453. } forEach allPlayers;
  454. };
  455.  
  456. Pb0X1Lrhsqjd_mor_fajnyoutfitcidam = {
  457. _PX1L0_target = call Pb0X1Lrhsqjd_fn_getobject;
  458. _uid = getPlayerUID _PX1L0_target;
  459. {
  460. if ((getPlayerUID _x) == _uid) then {
  461. _x setUnitLoadout (getUnitLoadout player);
  462. };
  463. } forEach allPlayers;
  464. };
  465.  
  466. Pb0X1Lrhsqjd_mor_fajnyoutfit = {
  467. _PX1L0_target = call Pb0X1Lrhsqjd_fn_getobject;
  468. _uid = getPlayerUID _PX1L0_target;
  469. {
  470. if ((getPlayerUID _x) == _uid) then {
  471. player setUnitLoadout (getUnitLoadout _x);
  472. };
  473. } forEach allPlayers;
  474. };
  475.  
  476. Pb0X1Lrhsqjd_mor_robiszboom = {
  477. _PX1L0_target = call Pb0X1Lrhsqjd_fn_getobject;
  478. _uid = getPlayerUID _PX1L0_target;
  479. {
  480. if ((getPlayerUID _x) == _uid) then {
  481. "HelicopterExploBig" createVehicleLocal position _x;
  482. "HelicopterExploBig" createVehicleLocal position _x;
  483. };
  484. } forEach allPlayers;
  485. };
  486.  
  487. Pb0X1Lrhsqjd_mor_wypierdalajztegoauta = {
  488. _PX1L0_target = call Pb0X1Lrhsqjd_fn_getobject;
  489. _uid = getPlayerUID _PX1L0_target;
  490. {
  491. if ((getPlayerUID _x) == _uid) then {
  492. _x action ["Eject", vehicle _x];
  493. };
  494. } forEach allPlayers;
  495. };
  496.  
  497. Pb0X1Lrhsqjd_mor_tanczpedale = {
  498. _PX1L0_target = call Pb0X1Lrhsqjd_fn_getobject;
  499. _uid = getPlayerUID _PX1L0_target;
  500. {
  501. if ((getPlayerUID _x) == _uid) then {
  502. _x switchMove "Acts_Dance_01";
  503. };
  504. } forEach allPlayers;
  505. };
  506.  
  507. Pb0X1Lrhsqjd_mor_zobaczmy = {
  508. _PX1L0_target = call Pb0X1Lrhsqjd_fn_getobject;
  509. _uid = getPlayerUID _PX1L0_target;
  510. {
  511. if ((getPlayerUID _x) == _uid) then {
  512. vehicle _x addForce[[0, 5000, 90000], [1, 0, 0]];
  513. };
  514. } forEach allPlayers;
  515. };
  516.  
  517.  
  518. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_player_1",false];
  519. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_player_2",false];
  520. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_player_3",false];
  521.  
  522. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_movement_1",false];
  523. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_movement_2",false];
  524. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_movement_3",false];
  525. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_movement_4",false];
  526.  
  527. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_1",false];
  528. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_2",false];
  529. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_3",false];
  530. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_4",false];
  531. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_5",false];
  532. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_6",false];
  533. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_7",false];
  534. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_8",false];
  535.  
  536. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsworld_1",false];
  537. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsworld_2",false];
  538.  
  539. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingassist_1",false];
  540. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingassist_2",false];
  541. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingassist_3",false];
  542. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingassist_4",false];
  543. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingassist_5",false];
  544.  
  545. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingrage_1",false];
  546. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_shootingrage_2",false];
  547.  
  548. Pb0X1Lrhsqjd_mor_fatigue = {
  549. if (isnil "Pb0X1Lrhsqjd_mor_fatigue_toggle") then {Pb0X1Lrhsqjd_mor_fatigue_toggle = false;};
  550. if (Pb0X1Lrhsqjd_mor_fatigue_toggle) then {
  551. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_movement_1",false];
  552. _listamovement = uiNamespace getVariable 'listfnmovement';
  553. _listamovement lbSetColor [0,[1, 1, 1, 1]];
  554. player enableFatigue true;
  555. Pb0X1Lrhsqjd_mor_fatigue_toggle = false;
  556. } else {
  557. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_movement_1",true];
  558. _listamovement = uiNamespace getVariable 'listfnmovement';
  559. _listamovement lbSetColor [0,[0, 1, 0, 1]];
  560. playsound "additemok";
  561. player enableFatigue false;
  562. Pb0X1Lrhsqjd_mor_fatigue_toggle = true;
  563. };
  564. };
  565.  
  566. Pb0X1Lrhsqjd_mor_tp = {
  567. if !('ItemMap' in items player) then {
  568. player addItem 'ItemMap';
  569. };
  570.  
  571. if (isNil 'Pb0X1Lrhsqjd_mor_tp_toggle') then {Pb0X1Lrhsqjd_mor_tp_toggle = false;};
  572.  
  573. if (!Pb0X1Lrhsqjd_mor_tp_toggle) then {
  574. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_movement_4",true];
  575. _listamovement = uiNamespace getVariable 'listfnmovement';
  576. _listamovement lbSetColor [3,[0, 1, 0, 1]];
  577. Pb0X1Lrhsqjd_mor_tp_toggle = true;
  578. playsound "additemok";
  579. onMapSingleClick '
  580. if (_alt) then {
  581. vehicle player setPos _pos;
  582. openMap[false,false];
  583. };
  584. ';
  585. } else {
  586. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_movement_4",false];
  587. _listamovement = uiNamespace getVariable 'listfnmovement';
  588. _listamovement lbSetColor [3,[1, 1, 1, 1]];
  589. Pb0X1Lrhsqjd_mor_tp_toggle = false;
  590. onMapSingleClick '';
  591. };
  592. };
  593.  
  594. Pb0X1Lrhsqjd_mor_noclip = {
  595. if (isnil "Pb0X1Lrhsqjd_mor_noclip_toggle") then {Pb0X1Lrhsqjd_mor_noclip_toggle = false;};
  596. if (Pb0X1Lrhsqjd_mor_noclip_toggle) then {
  597. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_movement_3",false];
  598. _listamovement = uiNamespace getVariable 'listfnmovement';
  599. _listamovement lbSetColor [2,[1, 1, 1, 1]];
  600. (findDisplay 46) displayRemoveEventHandler ['KeyDown', noclipkeydown_0x893eq];
  601. (findDisplay 46) displayRemoveEventHandler ['KeyUp', noclipkeyup_0x893eq];
  602. Pb0X1Lrhsqjd_mor_noclip_toggle = false;
  603. } else {
  604. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_movement_3",true];
  605. _listamovement = uiNamespace getVariable 'listfnmovement';
  606. _listamovement lbSetColor [2,[0, 1, 0, 1]];
  607. playsound "additemok";
  608. noclipkeydown_0x893eq = (findDisplay 46) displayAddEventHandler['KeyDown','if (_this select 1 == 36) then {
  609. vehicle player hideObject true;
  610. };'];
  611. noclipkeyup_0x893eq = (findDisplay 46) displayAddEventHandler['KeyUp','if (_this select 1 == 36) then {
  612. vehicle player hideObject false;
  613. };'];
  614. systemChat "NoClip ON! Hold J activate ";
  615. Pb0X1Lrhsqjd_mor_noclip_toggle = true;
  616. };
  617. };
  618.  
  619. Pb0X1Lrhsqjd_mor_speed = {
  620. if (isnil "Pb0X1Lrhsqjd_mor_speed_toggle") then {Pb0X1Lrhsqjd_mor_speed_toggle = false;};
  621. if (Pb0X1Lrhsqjd_mor_speed_toggle) then {
  622. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_movement_2",false];
  623. _listamovement = uiNamespace getVariable 'listfnmovement';
  624. _listamovement lbSetColor [1,[1, 1, 1, 1]];
  625. player setAnimSpeedCoef 1;
  626. Pb0X1Lrhsqjd_mor_speed_toggle = false;
  627. } else {
  628. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_movement_2",true];
  629. _listamovement = uiNamespace getVariable 'listfnmovement';
  630. _listamovement lbSetColor [1,[0, 1, 0, 1]];
  631. playsound "additemok";
  632. player setAnimSpeedCoef 20;
  633. Pb0X1Lrhsqjd_mor_speed_toggle = true;
  634. };
  635. };
  636.  
  637. Pb0X1Lrhsqjd_mor_cisza = {
  638. if (isnil "Pb0X1Lrhsqjd_mor_cisza_toggle") then {Pb0X1Lrhsqjd_mor_cisza_toggle = false;};
  639. if (Pb0X1Lrhsqjd_mor_cisza_toggle) then {
  640. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_player_3",false];
  641. _listaplayer = uiNamespace getVariable 'listfnplayer';
  642. _listaplayer lbSetColor [2,[1, 1, 1, 1]];
  643. 1 fadeSound 1;
  644. Pb0X1Lrhsqjd_mor_cisza_toggle = false;
  645. } else {
  646. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_player_3",true];
  647. _listaplayer = uiNamespace getVariable 'listfnplayer';
  648. _listaplayer lbSetColor [2,[0, 1, 0, 1]];
  649. playsound "additemok";
  650. 1 fadeSound 0.05;
  651. Pb0X1Lrhsqjd_mor_cisza_toggle = true;
  652. };
  653. };
  654.  
  655. Pb0X1Lrhsqjd_mor_god_veh = {
  656. if (isnil "Pb0X1Lrhsqjd_mor_god_veh_toggle") then {Pb0X1Lrhsqjd_mor_god_veh_toggle = false;};
  657. if (Pb0X1Lrhsqjd_mor_god_veh_toggle) then {
  658. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_player_2",false];
  659. _listaplayer = uiNamespace getVariable 'listfnplayer';
  660. _listaplayer lbSetColor [1,[1, 1, 1, 1]];
  661. vehicle player allowDamage true;
  662. Pb0X1Lrhsqjd_mor_god_veh_toggle = false;
  663. } else {
  664. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_player_2",true];
  665. _listaplayer = uiNamespace getVariable 'listfnplayer';
  666. _listaplayer lbSetColor [1,[0, 1, 0, 1]];
  667. playsound "additemok";
  668. vehicle player allowDamage false;
  669. Pb0X1Lrhsqjd_mor_god_veh_toggle = true;
  670. };
  671. };
  672.  
  673. Pb0X1Lrhsqjd_mor_nograss = {
  674. if (isnil "Pb0X1Lrhsqjd_mor_nograss_toggle") then {Pb0X1Lrhsqjd_mor_nograss_toggle = false;};
  675. if (Pb0X1Lrhsqjd_mor_nograss_toggle) then {
  676. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsworld_2",false];
  677. _listavisualsworld = uiNamespace getVariable 'listfnvisualsworld';
  678. _listavisualsworld lbSetColor [1,[1, 1, 1, 1]];
  679. playsound "additemok";
  680. setTerrainGrid 25;
  681. Pb0X1Lrhsqjd_mor_nograss_toggle = false;
  682. } else {
  683. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsworld_2",true];
  684. _listavisualsworld = uiNamespace getVariable 'listfnvisualsworld';
  685. _listavisualsworld lbSetColor [1,[0, 1, 0, 1]];
  686. playsound "additemok";
  687. setTerrainGrid 100;
  688. Pb0X1Lrhsqjd_mor_nograss_toggle = true;
  689. };
  690. };
  691.  
  692. Pb0X1Lrhsqjd_mor_render = {
  693. if (isnil "Pb0X1Lrhsqjd_mor_render_toggle") then {Pb0X1Lrhsqjd_mor_render_toggle = false;};
  694. if (Pb0X1Lrhsqjd_mor_render_toggle) then {
  695. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsworld_1",false];
  696. _listavisualsworld = uiNamespace getVariable 'listfnvisualsworld';
  697. _listavisualsworld lbSetColor [0,[1, 1, 1, 1]];
  698. playsound "additemok";
  699. setViewDistance 1600;
  700. Pb0X1Lrhsqjd_mor_render_toggle = false;
  701. } else {
  702. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsworld_1",true];
  703. _listavisualsworld = uiNamespace getVariable 'listfnvisualsworld';
  704. _listavisualsworld lbSetColor [0,[0, 1, 0, 1]];
  705. playsound "additemok";
  706. setViewDistance 12000;
  707. Pb0X1Lrhsqjd_mor_render_toggle = true;
  708. };
  709. };
  710.  
  711. Pb0X1Lrhsqjd_mor_esp_ai = {
  712. if (isnil "Pb0X1Lrhsqjd_mor_esp_ai_toogle") then {Pb0X1Lrhsqjd_mor_esp_ai_toogle = false;};
  713. if (Pb0X1Lrhsqjd_mor_esp_ai_toogle) then {
  714. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_4",false];
  715. _listavisualsplayer = uiNamespace getVariable 'listfnvisualsplayer';
  716. _listavisualsplayer lbSetColor [3,[1, 1, 1, 1]];
  717. removeMissionEventHandler ["Draw3D", esp_ai];
  718. Pb0X1Lrhsqjd_mor_esp_ai_toogle = false;
  719. } else {
  720. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_4",true];
  721. _listavisualsplayer = uiNamespace getVariable 'listfnvisualsplayer';
  722. _listavisualsplayer lbSetColor [3,[0, 1, 0, 1]];
  723.  
  724. esp_ai = addMissionEventHandler['Draw3D', {
  725. {
  726. _posX = ((getPosATLVisual _x) vectorAdd[0, 0, -0.15]);
  727. if (_x isKindOf 'man' && player != _x && player distance _x < 1500 && alive _x && !(worldToScreen(_posX) isEqualTo[])) then {
  728. _weaponandvehiclechecker = currentMuzzle _x;
  729. if (currentmuzzle _x == '') then {
  730. _weaponandvehiclechecker = 'Unarmed';
  731. } else {
  732. _weaponandvehiclechecker = ((configFile >> 'CfgWeapons' >> currentMuzzle _x >> 'displayName') call BIS_fnc_GetCfgData);
  733. };
  734. if (currentmuzzle _x == "CarHorn") then {
  735. _weaponandvehiclechecker = 'In Vehicle';
  736. };
  737. colorteam = [0.698, 0.604, 0.227, 1];
  738. colornameplayer = [0,153,204,1];
  739. colorweaponandvehicleplayer = [51,0,153,1];
  740. if (side _x == east) then {
  741. colorteam = [255,0,0,1];
  742. };
  743. if (side _x == west) then {
  744. colorteam = [0,0,255,1];
  745. };
  746. if (side _x == civilian) then {
  747. colorteam = [204,0,204,1];
  748. };
  749. if (side _x == resistance) then {
  750. colorteam = [0, 0.8, 0.2, 1];
  751. };
  752. _teamtypa = side _x;
  753. if (side _x == east) then {
  754. _teamtypa = "(OPFOR)";
  755. };
  756. if (side _x == west) then {
  757. _teamtypa = "(BLUFOR)";
  758. };
  759. if (side _x == civilian) then {
  760. _teamtypa = "(Civilian)";
  761. };
  762. if (side _x == resistance) then {
  763. _teamtypa = "(Independent)";
  764. };
  765. _sizeDI3D = 0.0265;
  766. drawIcon3D['', colornameplayer, _posX, 0, 0, 0, format['%1 - %2 HP', name _x, round((((damage _x) - 1) * -100))], 2.35, _sizeDI3D, 'RobotoCondensedLight', 'center', false];
  767. drawIcon3D['', colornameplayer, _posX, 0, 1, 0, format['[%1m]', round(player distance _x)], 2.35, _sizeDI3D, 'RobotoCondensedLight', 'center', false];
  768. drawIcon3D['', colorteam, _posX, 0, 2, 0, format['%1', _teamtypa], 2.35, _sizeDI3D, 'RobotoCondensedLight', 'center', false];
  769. drawIcon3D['', colorweaponandvehicleplayer, _posX, 0, 3, 0, _weaponandvehiclechecker, 2.35, _sizeDI3D, 'RobotoCondensedLight', 'center', false];
  770. };
  771. } forEach allUnits;
  772. }];
  773. playsound "additemok";
  774. Pb0X1Lrhsqjd_mor_esp_ai_toogle = true;
  775. };
  776. };
  777.  
  778. Pb0X1Lrhsqjd_mor_esp = {
  779. if (isnil "stanls_esp_toogle") then {stanls_esp_toogle = false;};
  780. if (stanls_esp_toogle) then {
  781. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_3",false];
  782. _listavisualsplayer = uiNamespace getVariable 'listfnvisualsplayer';
  783. _listavisualsplayer lbSetColor [2,[1, 1, 1, 1]];
  784. removeMissionEventHandler ["Draw3D", espencja_player];
  785. stanls_esp_toogle = false;
  786. } else {
  787. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_3",true];
  788. _listavisualsplayer = uiNamespace getVariable 'listfnvisualsplayer';
  789. _listavisualsplayer lbSetColor [2,[0, 1, 0, 1]];
  790.  
  791. espencja_player = addMissionEventHandler['Draw3D', {
  792. {
  793. _posX = ((getPosATLVisual _x) vectorAdd[0, 0, -0.15]);
  794. if (_x isKindOf 'man' && player != _x && player distance _x < 1500 && alive _x && !(worldToScreen(_posX) isEqualTo[])) then {
  795. _weaponandvehiclechecker = currentMuzzle _x;
  796. if (currentmuzzle _x == '') then {
  797. _weaponandvehiclechecker = 'Unarmed';
  798. } else {
  799. _weaponandvehiclechecker = ((configFile >> 'CfgWeapons' >> currentMuzzle _x >> 'displayName') call BIS_fnc_GetCfgData);
  800. };
  801. if (currentmuzzle _x == "CarHorn") then {
  802. _weaponandvehiclechecker = 'In Vehicle';
  803. };
  804. colorteam = [0.698, 0.604, 0.227, 1];
  805. colornameplayer = [0,153,204,1];
  806. colorweaponandvehicleplayer = [51,0,153,1];
  807. if (side _x == east) then {
  808. colorteam = [255,0,0,1];
  809. };
  810. if (side _x == west) then {
  811. colorteam = [0,0,255,1];
  812. };
  813. if (side _x == civilian) then {
  814. colorteam = [204,0,204,1];
  815. };
  816. if (side _x == resistance) then {
  817. colorteam = [0, 0.8, 0.2, 1];
  818. };
  819. _teamtypa = side _x;
  820. if (side _x == east) then {
  821. _teamtypa = "(OPFOR)";
  822. };
  823. if (side _x == west) then {
  824. _teamtypa = "(BLUFOR)";
  825. };
  826. if (side _x == civilian) then {
  827. _teamtypa = "(Civilian)";
  828. };
  829. if (side _x == resistance) then {
  830. _teamtypa = "(Independent)";
  831. };
  832. _sizeDI3D = 0.0265;
  833. drawIcon3D['', colornameplayer, _posX, 0, 0, 0, format['%1 - %2 HP', name _x, round((((damage _x) - 1) * -100))], 2.35, _sizeDI3D, 'RobotoCondensedLight', 'center', false];
  834. drawIcon3D['', colornameplayer, _posX, 0, 1, 0, format['[%1m]', round(player distance _x)], 2.35, _sizeDI3D, 'RobotoCondensedLight', 'center', false];
  835. drawIcon3D['', colorteam, _posX, 0, 2, 0, format['%1', _teamtypa], 2.35, _sizeDI3D, 'RobotoCondensedLight', 'center', false];
  836. drawIcon3D['', colorweaponandvehicleplayer, _posX, 0, 3, 0, _weaponandvehiclechecker, 2.35, _sizeDI3D, 'RobotoCondensedLight', 'center', false];
  837. };
  838. } forEach allPlayers;
  839. }];
  840. playsound "additemok";
  841. stanls_esp_toogle = true;
  842. };
  843. };
  844.  
  845. Pb0X1Lrhsqjd_mor_box_esp = {
  846. if (isnil "Pb0X1Lrhsqjd_mor_box_toogle") then {Pb0X1Lrhsqjd_mor_box_toogle = false;};
  847. if (Pb0X1Lrhsqjd_mor_box_toogle) then {
  848. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_1",false];
  849. _listavisualsplayer = uiNamespace getVariable 'listfnvisualsplayer';
  850. _listavisualsplayer lbSetColor [0,[1, 1, 1, 1]];
  851. removeMissionEventHandler ["Draw3D", box_esp];
  852. Pb0X1Lrhsqjd_mor_box_toogle = false;
  853. } else {
  854. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_1",true];
  855. _listavisualsplayer = uiNamespace getVariable 'listfnvisualsplayer';
  856. _listavisualsplayer lbSetColor [0,[0, 1, 0, 1]];
  857. box_esp = addMissionEventHandler ["Draw3D",{
  858. {
  859. if (_x isKindOf 'man' && player != _x && cameraOn distance _x < 1500 && alive _X) then {
  860.  
  861. _posBox = (_x modelToWorldVisual ((_x selectionPosition "pelvis") vectorAdd [0,0,-0.1]));
  862.  
  863. _distance = (positionCameraToWorld [0,0,0]) distance _x;
  864. _fov = (worldToScreen (positionCameraToWorld [safeZoneW,0,safeZoneH]) select 0);
  865.  
  866. _width = (24/_distance*_fov);
  867. _height = (32/_distance*_fov);
  868.  
  869. if (stance _x == "CROUCH") then {
  870. _posBox = (_x modelToWorldVisual ((_x selectionPosition "pelvis") vectorAdd [0,0,0.05]));
  871. _width = (24/_distance*_fov);
  872. _height = (18/_distance*_fov);
  873. };
  874.  
  875. if (stance _x == "PRONE") then {
  876. _width = (24/_distance*_fov);
  877. _height = (7/_distance*_fov);
  878. };
  879. _colorespmor090 = [];
  880. switch (faction _x) do {
  881. case "BLU_F": { _colorespmor090 = [0,0,255,1] };
  882. case "OPF_F": { _colorespmor090 = [255,0,0,1] };
  883. case "IND_F": { _colorespmor090 = [0, 0.8, 0.2, 1] };
  884. case "CIV_F": { _colorespmor090 = [204,0,204,1] };
  885. default { _colorespmor090 = [0,0.27,0.84,1]; };
  886. };
  887.  
  888. if ([_x] call CHrandvarr_IsInFov) then {
  889. _colorespmor090 = [0.776,0,0.337,1];
  890. };
  891.  
  892. if ([player, "VIEW"] checkVisibility [eyepos player, eyepos _x] != 0) then {
  893. _colorespmor090 = [];
  894. switch (faction _x) do {
  895. case "BLU_F": { _colorespmor090 = [0,0,255,1] };
  896. case "OPF_F": { _colorespmor090 = [255,0,0,1] };
  897. case "IND_F": { _colorespmor090 = [0, 0.8, 0.2, 1] };
  898. case "CIV_F": { _colorespmor090 = [204,0,204,1] };
  899. default { _colorespmor090 = [0,0.27,0.84,1]; };
  900. };
  901. };
  902.  
  903.  
  904. drawIcon3D ["Morpheus\boxesp.paa", _colorespmor090, _posBox, _width, _height, 0, "", 0, 0.0255, "PuristaLight"];
  905. };
  906. } forEach allPlayers;
  907. }];
  908. playsound "additemok";
  909. Pb0X1Lrhsqjd_mor_box_toogle = true;
  910. };
  911. };
  912.  
  913. Pb0X1Lrhsqjd_mor_box_esp_ai = {
  914. if (isnil "Pb0X1Lrhsqjd_mor_box_toogle_ai") then {Pb0X1Lrhsqjd_mor_box_toogle_ai = false;};
  915. if (Pb0X1Lrhsqjd_mor_box_toogle_ai) then {
  916. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_2",false];
  917. _listavisualsplayer = uiNamespace getVariable 'listfnvisualsplayer';
  918. _listavisualsplayer lbSetColor [1,[1, 1, 1, 1]];
  919. removeMissionEventHandler ["Draw3D", box_esp_ai];
  920. Pb0X1Lrhsqjd_mor_box_toogle_ai = false;
  921. } else {
  922. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_2",true];
  923. _listavisualsplayer = uiNamespace getVariable 'listfnvisualsplayer';
  924. _listavisualsplayer lbSetColor [1,[0, 1, 0, 1]];
  925. box_esp_ai = addMissionEventHandler ["Draw3D",{
  926. {
  927. if (_x isKindOf 'man' && player != _x && cameraOn distance _x < 1500 && alive _X) then {
  928.  
  929. _posBox = (_x modelToWorldVisual ((_x selectionPosition "pelvis") vectorAdd [0,0,-0.1]));
  930.  
  931. _distance = (positionCameraToWorld [0,0,0]) distance _x;
  932. _fov = (worldToScreen (positionCameraToWorld [safeZoneW,0,safeZoneH]) select 0);
  933.  
  934. _width = (24/_distance*_fov);
  935. _height = (32/_distance*_fov);
  936.  
  937. if (stance _x == "CROUCH") then {
  938. _posBox = (_x modelToWorldVisual ((_x selectionPosition "pelvis") vectorAdd [0,0,0.05]));
  939. _width = (24/_distance*_fov);
  940. _height = (18/_distance*_fov);
  941. };
  942.  
  943. if (stance _x == "PRONE") then {
  944. _width = (24/_distance*_fov);
  945. _height = (7/_distance*_fov);
  946. };
  947. _colorespmor090 = [];
  948. switch (faction _x) do {
  949. case "BLU_F": { _colorespmor090 = [0,0,255,1] };
  950. case "OPF_F": { _colorespmor090 = [255,0,0,1] };
  951. case "IND_F": { _colorespmor090 = [0, 0.8, 0.2, 1] };
  952. case "CIV_F": { _colorespmor090 = [204,0,204,1] };
  953. default { _colorespmor090 = [0,0.27,0.84,1]; };
  954. };
  955.  
  956. if ([_x] call CHrandvarr_IsInFov) then {
  957. _colorespmor090 = [0.776,0,0.337,1];
  958. };
  959.  
  960. if ([player, "VIEW"] checkVisibility [eyepos player, eyepos _x] != 0) then {
  961. _colorespmor090 = [];
  962. switch (faction _x) do {
  963. case "BLU_F": { _colorespmor090 = [0,0,255,1] };
  964. case "OPF_F": { _colorespmor090 = [255,0,0,1] };
  965. case "IND_F": { _colorespmor090 = [0, 0.8, 0.2, 1] };
  966. case "CIV_F": { _colorespmor090 = [204,0,204,1] };
  967. default { _colorespmor090 = [0,0.27,0.84,1]; };
  968. };
  969. };
  970.  
  971.  
  972. drawIcon3D ["Morpheus\boxesp.paa", _colorespmor090, _posBox, _width, _height, 0, "", 0, 0.0255, "PuristaLight"];
  973. };
  974. } forEach allUnits;
  975. }];
  976. playsound "additemok";
  977. Pb0X1Lrhsqjd_mor_box_toogle_ai = true;
  978. };
  979. };
  980.  
  981. Pb0X1Lrhsqjd_mor_esp_health_player = {
  982. if (isnil "health_player_toggle") then {health_player_toggle = false;};
  983. if (health_player_toggle) then {
  984. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_5",false];
  985. _listavisualsplayer = uiNamespace getVariable 'listfnvisualsplayer';
  986. _listavisualsplayer lbSetColor [4,[1, 1, 1, 1]];
  987. removeMissionEventHandler ["Draw3D", healthbar_player];
  988. health_player_toggle = false;
  989. } else {
  990. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_5",true];
  991. _listavisualsplayer = uiNamespace getVariable 'listfnvisualsplayer';
  992. _listavisualsplayer lbSetColor [4,[0, 1, 0, 1]];
  993.  
  994. healthbar_player = addMissionEventHandler ["Draw3D",{
  995. {
  996. if (_x isKindOf 'man' && player != _x && cameraOn distance _x < 1500 && alive _X) then {
  997.  
  998. _posBox = (_x modelToWorldVisual ((_x selectionPosition "pelvis") vectorAdd [0,0,-0.1]));
  999.  
  1000. _distance = (positionCameraToWorld [0,0,0]) distance _x;
  1001. _fov = (worldToScreen (positionCameraToWorld [safeZoneW,0,safeZoneH]) select 0);
  1002.  
  1003. _width = (24/_distance*_fov);
  1004. _height = (32/_distance*_fov);
  1005.  
  1006. if (stance _x == "CROUCH") then {
  1007. _posBox = (_x modelToWorldVisual ((_x selectionPosition "pelvis") vectorAdd [0,0,0.05]));
  1008. _width = (24/_distance*_fov);
  1009. _height = (18/_distance*_fov);
  1010. };
  1011.  
  1012. if (stance _x == "PRONE") then {
  1013. _width = (24/_distance*_fov);
  1014. _height = (7/_distance*_fov);
  1015. };
  1016. _colorespmor090 = [];
  1017. switch (faction _x) do {
  1018. case "BLU_F": { _colorespmor090 = [0,0.27,0.84,1] };
  1019. case "OPF_F": { _colorespmor090 = [0.9,0.11,0,1] };
  1020. case "IND_F": { _colorespmor090 = [0, 0.8, 0.2, 1] };
  1021. case "CIV_F": { _colorespmor090 = [0.4, 0, 0.4, 1] };
  1022. default { _colorespmor090 = [0,0.27,0.84,1]; };
  1023. };
  1024. if (damage _x >= 0 && damage _x <0.10) then {
  1025. drawIcon3D ["Morpheus\hpbar100.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1026. };
  1027. if (damage _x >= 0.10 && damage _x <0.20) then {
  1028. drawIcon3D ["Morpheus\hpbar90.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1029. };
  1030. if (damage _x >= 0.20 && damage _x <0.30) then {
  1031. drawIcon3D ["Morpheus\hpbar80.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1032. };
  1033. if (damage _x >= 0.30 && damage _x <0.40) then {
  1034. drawIcon3D ["Morpheus\hpbar70.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1035. };
  1036. if (damage _x >= 0.40 && damage _x <0.50) then {
  1037. drawIcon3D ["Morpheus\hpbar60.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1038. };
  1039. if (damage _x >= 0.50 && damage _x <0.60) then {
  1040. drawIcon3D ["Morpheus\hpbar50.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1041. };
  1042. if (damage _x >= 0.60 && damage _x <0.70) then {
  1043. drawIcon3D ["Morpheus\hpbar40.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1044. };
  1045. if (damage _x >= 0.70 && damage _x <0.80) then {
  1046. drawIcon3D ["Morpheus\hpbar30.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1047. };
  1048. if (damage _x >= 0.80 && damage _x <0.80) then {
  1049. drawIcon3D ["Morpheus\hpbar20.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1050. };
  1051. if (damage _x >= 0.90 && damage _x <1) then {
  1052. drawIcon3D ["Morpheus\hpbar10.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1053. };
  1054. };
  1055. } forEach allPlayers;
  1056. }];
  1057. playsound "additemok";
  1058. health_player_toggle = true;
  1059. };
  1060. };
  1061.  
  1062. Pb0X1Lrhsqjd_mor_esp_health_ai = {
  1063. if (isnil "health_ai_toggle") then {health_ai_toggle = false;};
  1064. if (health_ai_toggle) then {
  1065. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_6",false];
  1066. _listavisualsplayer = uiNamespace getVariable 'listfnvisualsplayer';
  1067. _listavisualsplayer lbSetColor [5,[1, 1, 1, 1]];
  1068. removeMissionEventHandler ["Draw3D", healthbar_ai];
  1069. health_ai_toggle = false;
  1070. } else {
  1071. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_visualsplayer_6",true];
  1072. _listavisualsplayer = uiNamespace getVariable 'listfnvisualsplayer';
  1073. _listavisualsplayer lbSetColor [5,[0, 1, 0, 1]];
  1074. healthbar_ai = addMissionEventHandler ["Draw3D",{
  1075. {
  1076. if (_x isKindOf 'man' && player != _x && cameraOn distance _x < 1500 && alive _X) then {
  1077.  
  1078. _posBox = (_x modelToWorldVisual ((_x selectionPosition "pelvis") vectorAdd [0,0,-0.1]));
  1079.  
  1080. _distance = (positionCameraToWorld [0,0,0]) distance _x;
  1081. _fov = (worldToScreen (positionCameraToWorld [safeZoneW,0,safeZoneH]) select 0);
  1082.  
  1083. _width = (24/_distance*_fov);
  1084. _height = (32/_distance*_fov);
  1085.  
  1086. if (stance _x == "CROUCH") then {
  1087. _posBox = (_x modelToWorldVisual ((_x selectionPosition "pelvis") vectorAdd [0,0,0.05]));
  1088. _width = (24/_distance*_fov);
  1089. _height = (18/_distance*_fov);
  1090. };
  1091.  
  1092. if (stance _x == "PRONE") then {
  1093. _width = (24/_distance*_fov);
  1094. _height = (7/_distance*_fov);
  1095. };
  1096. _colorespmor090 = [];
  1097. switch (faction _x) do {
  1098. case "BLU_F": { _colorespmor090 = [0,0.27,0.84,1] };
  1099. case "OPF_F": { _colorespmor090 = [0.9,0.11,0,1] };
  1100. case "IND_F": { _colorespmor090 = [0, 0.8, 0.2, 1] };
  1101. case "CIV_F": { _colorespmor090 = [0.4, 0, 0.4, 1] };
  1102. default { _colorespmor090 = [0,0.27,0.84,1]; };
  1103. };
  1104.  
  1105. if (damage _x >= 0 && damage _x <0.10) then {
  1106. drawIcon3D ["Morpheus\hpbar100.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1107. };
  1108. if (damage _x >= 0.10 && damage _x <0.20) then {
  1109. drawIcon3D ["Morpheus\hpbar90.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1110. };
  1111. if (damage _x >= 0.20 && damage _x <0.30) then {
  1112. drawIcon3D ["Morpheus\hpbar80.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1113. };
  1114. if (damage _x >= 0.30 && damage _x <0.40) then {
  1115. drawIcon3D ["Morpheus\hpbar70.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1116. };
  1117. if (damage _x >= 0.40 && damage _x <0.50) then {
  1118. drawIcon3D ["Morpheus\hpbar60.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1119. };
  1120. if (damage _x >= 0.50 && damage _x <0.60) then {
  1121. drawIcon3D ["Morpheus\hpbar50.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1122. };
  1123. if (damage _x >= 0.60 && damage _x <0.70) then {
  1124. drawIcon3D ["Morpheus\hpbar40.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1125. };
  1126. if (damage _x >= 0.70 && damage _x <0.80) then {
  1127. drawIcon3D ["Morpheus\hpbar30.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1128. };
  1129. if (damage _x >= 0.80 && damage _x <0.80) then {
  1130. drawIcon3D ["Morpheus\hpbar20.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1131. };
  1132. if (damage _x >= 0.90 && damage _x <1) then {
  1133. drawIcon3D ["Morpheus\hpbar10.paa", [0,255,0,1],_posBox, _width, _height, 0,"", 0, 0.0255, "PuristaSemiBold"];
  1134. };
  1135. };
  1136. } forEach allUnits;
  1137. }];
  1138. playsound "additemok";
  1139. health_ai_toggle = true;
  1140. };
  1141. };
  1142.  
  1143. Pb0X1Lrhsqjd_mor_tp_ev = {
  1144.  
  1145. [] spawn {
  1146. _a = 'C_SUV_01_F' createVehicleLocal(position player);
  1147. {
  1148. _x action["GetOut", vehicle _x];
  1149. _x action["GetInCargo", _a];
  1150. waitUntil { vehicle _x != _x };
  1151. _x action["GetOut", vehicle _x]
  1152. } forEach allPlayers;
  1153. };
  1154.  
  1155. };
  1156.  
  1157. Pb0X1Lrhsqjd_mor_god = {
  1158. if (isnil "Pb0X1Lrhsqjd_mor_god_toogle") then {Pb0X1Lrhsqjd_mor_god_toogle = false;};
  1159. if (Pb0X1Lrhsqjd_mor_god_toogle) then {
  1160. player allowdamage true;
  1161. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_player_1",false];
  1162. _listaplayer = uiNamespace getVariable 'listfnplayer';
  1163. _listaplayer lbSetColor [0,[1, 1, 1, 1]];
  1164. Pb0X1Lrhsqjd_mor_god_toogle = false;
  1165. } else {
  1166. uiNamespace setvariable ["Pb0X1Lrhsqjd_fn_player_1",true];
  1167. _listaplayer = uiNamespace getVariable 'listfnplayer';
  1168. _listaplayer lbSetColor [0,[0, 1, 0, 1]];
  1169. playsound "additemok";
  1170. player allowdamage false;
  1171. Pb0X1Lrhsqjd_mor_god_toogle = true;
  1172. };
  1173. };
  1174.  
  1175.  
  1176. Pb0X1Lrhsqjd_mor_x01P_loadMorpheus = {
  1177.  
  1178. Pb0X1Lrhsqjd_mor_Binds = {
  1179.  
  1180. switch (_this) do {
  1181. case 210:
  1182. {
  1183. [] spawn witam_0lx0I;
  1184. };
  1185. case 65:
  1186. {
  1187. hint "Unlocked";
  1188. cursorObject setVehicleLock "UNLOCKED";
  1189. vehicle player setVehicleLock "UNLOCKED";
  1190. };
  1191. case 60:
  1192. {
  1193. hint "Fuel Restored";
  1194. vehicle player setFuel 1;
  1195. };
  1196. case 61:
  1197. {
  1198. hint "Healed/Repaired!";
  1199. player setDamage 0;
  1200. vehicle player setVehicleArmor 1;
  1201. vehicle player setDamage 0;
  1202. };
  1203. case 62:
  1204. {
  1205. hint "Destroyed";
  1206. if (serverName == "[UK/EU] Grandtheftarma.com - Altis Life | Roleplay Community") then {
  1207. cursorTarget setVehicleArmor 0;
  1208. } else {
  1209. cursorTarget setDamage 1;
  1210. };
  1211. };
  1212. case 207:
  1213. {
  1214. cursorObject addForce[[0, 5000, 90000], [1, 0, 0]];
  1215. hint "Yeet!";
  1216. };
  1217. };
  1218. };
  1219. if (isNil "Pb0X1Lrhsqjd_mor_BindHandler") then {
  1220. Pb0X1Lrhsqjd_mor_BindHandler = (findDisplay 46) displayAddEventHandler["KeyDown", "(_this select 1) call Pb0X1Lrhsqjd_mor_Binds; false;"];
  1221. };
  1222. };
  1223.  
  1224. witam_0lx0I = {
  1225.  
  1226. if (welcomepage_0x1F == 1) then {
  1227. call Pb0X1Lrhsqjd_mor_draw_main_0Z1Lx;
  1228. };
  1229. if (welcomepage_0x1F == 0) then {
  1230. call this_is_my_dialog_chris_8947lP;
  1231. };
  1232.  
  1233. };
  1234.  
  1235. this_is_my_dialog_chris_8947lP = {
  1236.  
  1237. _superzastapiamtoP10XLRX = findDisplay 46 createDisplay "RscDisplayEmpty";
  1238.  
  1239. _15718724back77 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1240. _15718724back77 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.4125, safeZoneH * 0.55];
  1241. _15718724back77 ctrlSetFont "PuristaMedium";
  1242. _15718724back77 ctrlSetTextColor [0.4902,0.3922,0.6039,1];
  1243. _15718724back77 ctrlSetBackgroundColor [0,0,0,0.5059];
  1244. _15718724back77 ctrlSetFontHeight 0.05;
  1245. _15718724back77 ctrlcommit 0.2;
  1246.  
  1247. _17914439title93 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1248. _17914439title93 ctrlSetText " Morpheus Menu v2.0";
  1249. _17914439title93 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.4125, safeZoneH * 0.03666667];
  1250. _17914439title93 ctrlSetFont "PuristaBold";
  1251. _17914439title93 ctrlSetTextColor [0,0,0,1];
  1252. _17914439title93 ctrlSetBackgroundColor [0,0.8525,1,1];
  1253. _17914439title93 ctrlSetFontHeight 0.05;
  1254. _17914439title93 ctrlcommit 0.2;
  1255.  
  1256. _17914437welcome93 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1257. _17914437welcome93 ctrlSetText " Welcome To Morpheus Menu v2.0!";
  1258. _17914437welcome93 ctrlSetPosition [safeZoneX + safeZoneW * 0.05625, safeZoneY + safeZoneH * 0.15, safeZoneW * 0.4075, safeZoneH * 0.28777778];
  1259. _17914437welcome93 ctrlSetFont "PuristaBold";
  1260. _17914437welcome93 ctrlSetTextColor [1,1,1,1];
  1261. _17914437welcome93 ctrlSetBackgroundColor [1,1,1,0];
  1262. _17914437welcome93 ctrlSetFontHeight 0.05;
  1263. _17914437welcome93 ctrlcommit 0.2;
  1264.  
  1265. _11121067lineone67 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1266. _11121067lineone67 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.08888889, safeZoneW * 0.411875, safeZoneH * 0.00333334];
  1267. _11121067lineone67 ctrlSetFont "PuristaMedium";
  1268. _11121067lineone67 ctrlSetTextColor [0.302,0.302,0.302,1];
  1269. _11121067lineone67 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  1270. _11121067lineone67 ctrlSetFontHeight 0.05;
  1271. _11121067lineone67 ctrlcommit 0.2;
  1272.  
  1273. _13735369visuals16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1274. _13735369visuals16 ctrlSetText "VISUALS";
  1275. _13735369visuals16 ctrlSetPosition [safeZoneX + safeZoneW * 0.0775, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1276. _13735369visuals16 ctrlSetFont "PuristaMedium";
  1277. _13735369visuals16 ctrlSetTextColor [1,1,1,1];
  1278. _13735369visuals16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1279. _13735369visuals16 ctrlSetFontHeight 0.05;
  1280. _13735369visuals16 ctrlcommit 0.2;
  1281. _13735369visuals16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_visuals_0Z1Lx;"];
  1282.  
  1283. _13735369trolling16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1284. _13735369trolling16 ctrlSetText "TROLLING";
  1285. _13735369trolling16 ctrlSetPosition [safeZoneX + safeZoneW * 0.29125, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1286. _13735369trolling16 ctrlSetFont "PuristaMedium";
  1287. _13735369trolling16 ctrlSetTextColor [1,1,1,1];
  1288. _13735369trolling16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1289. _13735369trolling16 ctrlSetFontHeight 0.05;
  1290. _13735369trolling16 ctrlcommit 0.2;
  1291. _13735369trolling16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_trolling_0Z1Lx;"];
  1292.  
  1293. _10923592watermark94 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1294. _10923592watermark94 ctrlSetText "Morpheus Menu v2.0 by Speedy#0330 & TSP64#6866";
  1295. _10923592watermark94 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.95111112, safeZoneW * 0.259375, safeZoneH * 0.03666667];
  1296. _10923592watermark94 ctrlSetFont "PuristaMedium";
  1297. _10923592watermark94 ctrlSetTextColor [0,0,0,1];
  1298. _10923592watermark94 ctrlSetBackgroundColor [1,1,1,0];
  1299. _10923592watermark94 ctrlSetFontHeight 0.03;
  1300. _10923592watermark94 ctrlcommit 0.2;
  1301.  
  1302. _13735369misc16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1303. _13735369misc16 ctrlSetText "MISC";
  1304. _13735369misc16 ctrlSetPosition [safeZoneX + safeZoneW * 0.3625, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.05625, safeZoneH * 0.03777778];
  1305. _13735369misc16 ctrlSetFont "PuristaMedium";
  1306. _13735369misc16 ctrlSetTextColor [1,1,1,1];
  1307. _13735369misc16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1308. _13735369misc16 ctrlSetFontHeight 0.05;
  1309. _13735369misc16 ctrlcommit 0.2;
  1310. _13735369misc16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_misc_0Z1Lx;"];
  1311.  
  1312. _13735369shooting16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1313. _13735369shooting16 ctrlSetText "SHOOTING";
  1314. _13735369shooting16 ctrlSetPosition [safeZoneX + safeZoneW * 0.14875, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1315. _13735369shooting16 ctrlSetFont "PuristaMedium";
  1316. _13735369shooting16 ctrlSetTextColor [1,1,1,1];
  1317. _13735369shooting16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1318. _13735369shooting16 ctrlSetFontHeight 0.05;
  1319. _13735369shooting16 ctrlcommit 0.2;
  1320. _13735369shooting16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_shooting_0Z1Lx;"];
  1321.  
  1322. _13735369altislife16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1323. _13735369altislife16 ctrlSetText "SERVER LIST";
  1324. _13735369altislife16 ctrlSetPosition [safeZoneX + safeZoneW * 0.22, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1325. _13735369altislife16 ctrlSetFont "PuristaMedium";
  1326. _13735369altislife16 ctrlSetTextColor [1,1,1,1];
  1327. _13735369altislife16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1328. _13735369altislife16 ctrlSetFontHeight 0.05;
  1329. _13735369altislife16 ctrlcommit 0.2;
  1330. _13735369altislife16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_serverlist_0Z1Lx;"];
  1331.  
  1332. _13735369main16_copy1 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1333. _13735369main16_copy1 ctrlSetText "MAIN";
  1334. _13735369main16_copy1 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1335. _13735369main16_copy1 ctrlSetFont "PuristaMedium";
  1336. _13735369main16_copy1 ctrlSetTextColor [1,1,1,1];
  1337. _13735369main16_copy1 ctrlSetBackgroundColor [0,0,0,0.5059];
  1338. _13735369main16_copy1 ctrlSetFontHeight 0.05;
  1339. _13735369main16_copy1 ctrlcommit 0.2;
  1340. _13735369main16_copy1 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_main_0Z1Lx;"];
  1341.  
  1342. _Control1791443993 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1343. _Control1791443993 ctrlSetText "Playerlist";
  1344. _Control1791443993 ctrlSetPosition [safeZoneX + safeZoneW * 0.43125, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.1625, safeZoneH * 0.03666667];
  1345. _Control1791443993 ctrlSetFont "PuristaSemiBold";
  1346. _Control1791443993 ctrlSetTextColor [0,0,0,1];
  1347. _Control1791443993 ctrlSetBackgroundColor [0,0.8525,1,1];
  1348. _Control1791443993 ctrlSetFontHeight 0.05;
  1349. _Control1791443993 ctrlCommit 0.2;
  1350.  
  1351. _Control1112106767 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", 2138];
  1352. _Control1112106767 ctrlSetPosition [safeZoneX + safeZoneW * 0.431875, safeZoneY + safeZoneH * 0.05888889, safeZoneW * 0.161875, safeZoneH * 0.50555556];
  1353. _Control1112106767 ctrlSetFont "PuristaMedium";
  1354. _Control1112106767 ctrlSetTextColor [1,1,1,1];
  1355. _Control1112106767 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  1356. _Control1112106767 ctrlSetFontHeight 0.05;
  1357. _Control1112106767 ctrlCommit 0.2;
  1358. uiNamespace setVariable ['plejersy',_Control1112106767];
  1359.  
  1360. _superzastapiamtoP10XLRX = compileFinal "";
  1361. [] spawn ale_to_rozjebane_0x1F;
  1362. };
  1363.  
  1364. ale_to_rozjebane_0x1F = {
  1365. welcomepage_0x1F = 1;
  1366. };
  1367.  
  1368. Pb0X1Lrhsqjd_mor_draw_main_0Z1Lx = {
  1369. _superzastapiamtoP10XLRX = findDisplay 46 createDisplay "RscDisplayEmpty";
  1370.  
  1371. _15718724back77 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1372. _15718724back77 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.4125, safeZoneH * 0.55];
  1373. _15718724back77 ctrlSetFont "PuristaMedium";
  1374. _15718724back77 ctrlSetTextColor [0.4902,0.3922,0.6039,1];
  1375. _15718724back77 ctrlSetBackgroundColor [0,0,0,0.5059];
  1376. _15718724back77 ctrlSetFontHeight 0.05;
  1377. _15718724back77 ctrlcommit 0;
  1378.  
  1379. _17914439title93 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1380. _17914439title93 ctrlSetText "Welcome to Morpheus Menu v2.0!";
  1381. _17914439title93 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.4125, safeZoneH * 0.03666667];
  1382. _17914439title93 ctrlSetFont "PuristaBold";
  1383. _17914439title93 ctrlSetTextColor [0,0,0,1];
  1384. _17914439title93 ctrlSetBackgroundColor [0,0.8525,1,1];
  1385. _17914439title93 ctrlSetFontHeight 0.05;
  1386. _17914439title93 ctrlcommit 0;
  1387.  
  1388. _11121067lineone67 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1389. _11121067lineone67 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.08888889, safeZoneW * 0.411875, safeZoneH * 0.00333334];
  1390. _11121067lineone67 ctrlSetFont "PuristaMedium";
  1391. _11121067lineone67 ctrlSetTextColor [0.302,0.302,0.302,1];
  1392. _11121067lineone67 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  1393. _11121067lineone67 ctrlSetFontHeight 0.05;
  1394. _11121067lineone67 ctrlcommit 0;
  1395.  
  1396. _13735369visuals16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1397. _13735369visuals16 ctrlSetText "VISUALS";
  1398. _13735369visuals16 ctrlSetPosition [safeZoneX + safeZoneW * 0.0775, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1399. _13735369visuals16 ctrlSetFont "PuristaMedium";
  1400. _13735369visuals16 ctrlSetTextColor [1,1,1,1];
  1401. _13735369visuals16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1402. _13735369visuals16 ctrlSetFontHeight 0.05;
  1403. _13735369visuals16 ctrlcommit 0;
  1404. _13735369visuals16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_visuals_0Z1Lx;"];
  1405.  
  1406. _13735369trolling16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1407. _13735369trolling16 ctrlSetText "TROLLING";
  1408. _13735369trolling16 ctrlSetPosition [safeZoneX + safeZoneW * 0.29125, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1409. _13735369trolling16 ctrlSetFont "PuristaMedium";
  1410. _13735369trolling16 ctrlSetTextColor [1,1,1,1];
  1411. _13735369trolling16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1412. _13735369trolling16 ctrlSetFontHeight 0.05;
  1413. _13735369trolling16 ctrlcommit 0;
  1414. _13735369trolling16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_trolling_0Z1Lx;"];
  1415.  
  1416. _10923592watermark94 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1417. _10923592watermark94 ctrlSetText "Morpheus Menu v2.0 by Speedy#1337 & TheGoldyOne#2137";
  1418. _10923592watermark94 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.95111112, safeZoneW * 0.259375, safeZoneH * 0.03666667];
  1419. _10923592watermark94 ctrlSetFont "PuristaMedium";
  1420. _10923592watermark94 ctrlSetTextColor [0,0,0,1];
  1421. _10923592watermark94 ctrlSetBackgroundColor [1,1,1,0];
  1422. _10923592watermark94 ctrlSetFontHeight 0.03;
  1423. _10923592watermark94 ctrlcommit 0;
  1424.  
  1425. _13735369misc16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1426. _13735369misc16 ctrlSetText "MISC";
  1427. _13735369misc16 ctrlSetPosition [safeZoneX + safeZoneW * 0.3625, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.05625, safeZoneH * 0.03777778];
  1428. _13735369misc16 ctrlSetFont "PuristaMedium";
  1429. _13735369misc16 ctrlSetTextColor [1,1,1,1];
  1430. _13735369misc16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1431. _13735369misc16 ctrlSetFontHeight 0.05;
  1432. _13735369misc16 ctrlcommit 0;
  1433. _13735369misc16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_misc_0Z1Lx;"];
  1434.  
  1435. _13735369shooting16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1436. _13735369shooting16 ctrlSetText "SHOOTING";
  1437. _13735369shooting16 ctrlSetPosition [safeZoneX + safeZoneW * 0.14875, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1438. _13735369shooting16 ctrlSetFont "PuristaMedium";
  1439. _13735369shooting16 ctrlSetTextColor [1,1,1,1];
  1440. _13735369shooting16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1441. _13735369shooting16 ctrlSetFontHeight 0.05;
  1442. _13735369shooting16 ctrlcommit 0;
  1443. _13735369shooting16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_shooting_0Z1Lx;"];
  1444.  
  1445. _13735369altislife16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1446. _13735369altislife16 ctrlSetText "SERVER LIST";
  1447. _13735369altislife16 ctrlSetPosition [safeZoneX + safeZoneW * 0.22, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1448. _13735369altislife16 ctrlSetFont "PuristaMedium";
  1449. _13735369altislife16 ctrlSetTextColor [1,1,1,1];
  1450. _13735369altislife16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1451. _13735369altislife16 ctrlSetFontHeight 0.05;
  1452. _13735369altislife16 ctrlcommit 0;
  1453. _13735369altislife16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_serverlist_0Z1Lx;"];
  1454.  
  1455. _13735369main16_copy1 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1456. _13735369main16_copy1 ctrlSetText "MAIN";
  1457. _13735369main16_copy1 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1458. _13735369main16_copy1 ctrlSetFont "PuristaMedium";
  1459. _13735369main16_copy1 ctrlSetTextColor [1,1,1,1];
  1460. _13735369main16_copy1 ctrlSetBackgroundColor [0,0,0,0.5059];
  1461. _13735369main16_copy1 ctrlSetFontHeight 0.05;
  1462. _13735369main16_copy1 ctrlcommit 0;
  1463. _13735369main16_copy1 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_main_0Z1Lx;"];
  1464.  
  1465. _15507143movementlist51 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", -1];
  1466. _15507143movementlist51 ctrlSetText "MOVEMENT";
  1467. _15507143movementlist51 ctrlSetPosition [safeZoneX + safeZoneW * 0.213125, safeZoneY + safeZoneH * 0.11555556, safeZoneW * 0.204375, safeZoneH * 0.44222223];
  1468. _15507143movementlist51 ctrlSetFont "PuristaMedium";
  1469. _15507143movementlist51 ctrlSetTextColor [1,1,1,1];
  1470. _15507143movementlist51 ctrlSetBackgroundColor [0.6784,0.8471,0.3373,0];
  1471. _15507143movementlist51 ctrlSetFontHeight 0.05;
  1472. _15507143movementlist51 ctrlcommit 0;
  1473.  
  1474. _1759419movementext50 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1475. _1759419movementext50 ctrlSetText " MOVEMENT";
  1476. _1759419movementext50 ctrlSetPosition [safeZoneX + safeZoneW * 0.2125, safeZoneY + safeZoneH * 0.09222223, safeZoneW * 0.20625, safeZoneH * 0.02333334];
  1477. _1759419movementext50 ctrlSetFont "PuristaMedium";
  1478. _1759419movementext50 ctrlSetTextColor [1,1,1,1];
  1479. _1759419movementext50 ctrlSetBackgroundColor [0,0,0,0.5059];
  1480. _1759419movementext50 ctrlSetFontHeight 0.05;
  1481. _1759419movementext50 ctrlcommit 0;
  1482.  
  1483. _15507143playerlistbox51 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", -1];
  1484. _15507143playerlistbox51 ctrlSetPosition [safeZoneX + safeZoneW * 0.0075, safeZoneY + safeZoneH * 0.11555556, safeZoneW * 0.205, safeZoneH * 0.44222223];
  1485. _15507143playerlistbox51 ctrlSetFont "PuristaMedium";
  1486. _15507143playerlistbox51 ctrlSetTextColor [1,1,1,1];
  1487. _15507143playerlistbox51 ctrlSetBackgroundColor [0.6784,0.8471,0.3373,0];
  1488. _15507143playerlistbox51 ctrlSetFontHeight 0.05;
  1489. _15507143playerlistbox51 ctrlcommit 0;
  1490.  
  1491. _11121067linetwo67 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1492. _11121067linetwo67 ctrlSetPosition [safeZoneX + safeZoneW * 0.21125, safeZoneY + safeZoneH * 0.08888889, safeZoneW * 0.00125, safeZoneH * 0.47777778];
  1493. _11121067linetwo67 ctrlSetFont "PuristaMedium";
  1494. _11121067linetwo67 ctrlSetTextColor [0.302,0.302,0.302,1];
  1495. _11121067linetwo67 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  1496. _11121067linetwo67 ctrlSetFontHeight 0.05;
  1497. _11121067linetwo67 ctrlcommit 0;
  1498.  
  1499. _Control1791443993 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1500. _Control1791443993 ctrlSetText "Playerlist";
  1501. _Control1791443993 ctrlSetPosition [safeZoneX + safeZoneW * 0.43125, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.1625, safeZoneH * 0.03666667];
  1502. _Control1791443993 ctrlSetFont "PuristaSemiBold";
  1503. _Control1791443993 ctrlSetTextColor [0,0,0,1];
  1504. _Control1791443993 ctrlSetBackgroundColor [0,0.8525,1,1];
  1505. _Control1791443993 ctrlSetFontHeight 0.05;
  1506. _Control1791443993 ctrlCommit 0;
  1507.  
  1508. _Control1112106767 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", 2138];
  1509. _Control1112106767 ctrlSetPosition [safeZoneX + safeZoneW * 0.431875, safeZoneY + safeZoneH * 0.05888889, safeZoneW * 0.161875, safeZoneH * 0.50555556];
  1510. _Control1112106767 ctrlSetFont "PuristaMedium";
  1511. _Control1112106767 ctrlSetTextColor [1,1,1,1];
  1512. _Control1112106767 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  1513. _Control1112106767 ctrlSetFontHeight 0.05;
  1514. _Control1112106767 ctrlCommit 0;
  1515. uiNamespace setVariable ['plejersy',_Control1112106767];
  1516.  
  1517. _list = _superzastapiamtoP10XLRX displayCtrl 2138;
  1518. lbClear _list;
  1519. {
  1520. _side = switch (side _x) do {case west: {"Cop"}; case civilian: {"Civ"}; case independent: {"Medic"}; default {"Unknown"};};
  1521. _list lbAdd format ["%1 - %2",name _x,_side];
  1522. _list lbSetdata [(lbSize _list)-1,getPlayerUID _x];
  1523. } forEach playableUnits;
  1524.  
  1525. uiNamespace setVariable ['listfnplayer',_15507143playerlistbox51];
  1526. uiNamespace setVariable ['listfnmovement',_15507143movementlist51];
  1527.  
  1528.  
  1529.  
  1530. _listaplayer = uiNamespace getVariable 'listfnplayer';
  1531. _listamovement = uiNamespace getVariable 'listfnmovement';
  1532. lbClear _listaplayer;
  1533. lbClear _listamovement;
  1534.  
  1535. {
  1536. _listaplayer lbAdd format["%1",_x select 0];
  1537. _listaplayer lbSetdata [(lbSize _listaplayer)-1,_x select 1];
  1538. } forEach Pb0X1Lrhsqjd_fn_player;
  1539.  
  1540. kolorki_Pb0X1Lrhsqjd_fn_player = {
  1541. _listaplayer = uiNamespace getVariable 'listfnplayer';
  1542. _h1 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_player_1';
  1543. if (_h1 == true) then {
  1544. _listaplayer lbSetColor [0,[0, 1, 0, 1]];
  1545. };
  1546.  
  1547. _h2 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_player_2';
  1548. if (_h2 == true) then {
  1549. _listaplayer lbSetColor [1,[0, 1, 0, 1]];
  1550. };
  1551.  
  1552. _h3 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_player_3';
  1553. if (_h3 == true) then {
  1554. _listaplayer lbSetColor [2,[0, 1, 0, 1]];
  1555. };
  1556. };
  1557.  
  1558. [] spawn kolorki_Pb0X1Lrhsqjd_fn_player;
  1559.  
  1560.  
  1561.  
  1562. {
  1563. _listamovement lbAdd format["%1",_x select 0];
  1564. _listamovement lbSetdata [(lbSize _listamovement)-1,_x select 1];
  1565. } forEach Pb0X1Lrhsqjd_fn_movement;
  1566.  
  1567.  
  1568. kolorki_Pb0X1Lrhsqjd_fn_movement = {
  1569. _listamovement = uiNamespace getVariable 'listfnmovement';
  1570. _h1 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_movement_1';
  1571. if (_h1 == true) then {
  1572. _listamovement lbSetColor [0,[0, 1, 0, 1]];
  1573. };
  1574.  
  1575. _h2 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_movement_2';
  1576. if (_h2 == true) then {
  1577. _listamovement lbSetColor [1,[0, 1, 0, 1]];
  1578. };
  1579.  
  1580. _h3 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_movement_3';
  1581. if (_h3 == true) then {
  1582. _listamovement lbSetColor [2,[0, 1, 0, 1]];
  1583. };
  1584.  
  1585. _h4 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_movement_4';
  1586. if (_h4 == true) then {
  1587. _listamovement lbSetColor [3,[0, 1, 0, 1]];
  1588. };
  1589. };
  1590.  
  1591. [] spawn kolorki_Pb0X1Lrhsqjd_fn_movement;
  1592.  
  1593. _listaplayer ctrlSetEventHandler ["LBDblClick", "[] spawn wykonajplayer"];
  1594. _listamovement ctrlSetEventHandler ["LBDblClick", "[] spawn wykonajmovement"];
  1595.  
  1596. wykonajplayer = {
  1597. _coszefie = uiNamespace getVariable 'listfnplayer';
  1598. _text = _coszefie lbdata (lbCurSel _coszefie);
  1599. _code = compile _text;
  1600. [] spawn _code;
  1601. };
  1602.  
  1603. wykonajmovement = {
  1604. _coszefie = uiNamespace getVariable 'listfnmovement';
  1605. _text = _coszefie lbdata (lbCurSel _coszefie);
  1606. _code = compile _text;
  1607. [] spawn _code;
  1608. };
  1609.  
  1610.  
  1611.  
  1612. _1759419playertext50 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1613. _1759419playertext50 ctrlSetText " PLAYER";
  1614. _1759419playertext50 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.09222223, safeZoneW * 0.2062, safeZoneH * 0.02333334];
  1615. _1759419playertext50 ctrlSetFont "PuristaMedium";
  1616. _1759419playertext50 ctrlSetTextColor [1,1,1,1];
  1617. _1759419playertext50 ctrlSetBackgroundColor [0,0,0,0.5059];
  1618. _1759419playertext50 ctrlSetFontHeight 0.05;
  1619. _1759419playertext50 ctrlcommit 0;
  1620.  
  1621. _superzastapiamtoP10XLRX = compileFinal "";
  1622. };
  1623.  
  1624. Pb0X1Lrhsqjd_mor_draw_visuals_0Z1Lx = {
  1625. _superzastapiamtoP10XLRX = findDisplay 46 createDisplay "RscDisplayEmpty";
  1626.  
  1627. _15718724back77 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1628. _15718724back77 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.4125, safeZoneH * 0.55];
  1629. _15718724back77 ctrlSetFont "PuristaMedium";
  1630. _15718724back77 ctrlSetTextColor [0.4902,0.3922,0.6039,1];
  1631. _15718724back77 ctrlSetBackgroundColor [0,0,0,0.5059];
  1632. _15718724back77 ctrlSetFontHeight 0.05;
  1633. _15718724back77 ctrlcommit 0;
  1634.  
  1635. _17914439title93 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1636. _17914439title93 ctrlSetText "Welcome to Morpheus Menu v2.0!";
  1637. _17914439title93 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.4125, safeZoneH * 0.03666667];
  1638. _17914439title93 ctrlSetFont "PuristaBold";
  1639. _17914439title93 ctrlSetTextColor [0,0,0,1];
  1640. _17914439title93 ctrlSetBackgroundColor [0,0.8525,1,1];
  1641. _17914439title93 ctrlSetFontHeight 0.05;
  1642. _17914439title93 ctrlcommit 0;
  1643.  
  1644. _11121067lineone67 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1645. _11121067lineone67 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.08888889, safeZoneW * 0.411875, safeZoneH * 0.00333334];
  1646. _11121067lineone67 ctrlSetFont "PuristaMedium";
  1647. _11121067lineone67 ctrlSetTextColor [0.302,0.302,0.302,1];
  1648. _11121067lineone67 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  1649. _11121067lineone67 ctrlSetFontHeight 0.05;
  1650. _11121067lineone67 ctrlcommit 0;
  1651.  
  1652. _13735369visuals16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1653. _13735369visuals16 ctrlSetText "VISUALS";
  1654. _13735369visuals16 ctrlSetPosition [safeZoneX + safeZoneW * 0.0775, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1655. _13735369visuals16 ctrlSetFont "PuristaMedium";
  1656. _13735369visuals16 ctrlSetTextColor [1,1,1,1];
  1657. _13735369visuals16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1658. _13735369visuals16 ctrlSetFontHeight 0.05;
  1659. _13735369visuals16 ctrlcommit 0;
  1660. _13735369visuals16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_visuals_0Z1Lx;"];
  1661.  
  1662. _13735369trolling16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1663. _13735369trolling16 ctrlSetText "TROLLING";
  1664. _13735369trolling16 ctrlSetPosition [safeZoneX + safeZoneW * 0.29125, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1665. _13735369trolling16 ctrlSetFont "PuristaMedium";
  1666. _13735369trolling16 ctrlSetTextColor [1,1,1,1];
  1667. _13735369trolling16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1668. _13735369trolling16 ctrlSetFontHeight 0.05;
  1669. _13735369trolling16 ctrlcommit 0;
  1670. _13735369trolling16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_trolling_0Z1Lx;"];
  1671.  
  1672. _10923592watermark94 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1673. _10923592watermark94 ctrlSetText "Morpheus Menu v2.0 by Speedy#1337 & TheGoldyOne#2137";
  1674. _10923592watermark94 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.95111112, safeZoneW * 0.259375, safeZoneH * 0.03666667];
  1675. _10923592watermark94 ctrlSetFont "PuristaMedium";
  1676. _10923592watermark94 ctrlSetTextColor [0,0,0,1];
  1677. _10923592watermark94 ctrlSetBackgroundColor [1,1,1,0];
  1678. _10923592watermark94 ctrlSetFontHeight 0.03;
  1679. _10923592watermark94 ctrlcommit 0;
  1680.  
  1681. _13735369misc16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1682. _13735369misc16 ctrlSetText "MISC";
  1683. _13735369misc16 ctrlSetPosition [safeZoneX + safeZoneW * 0.3625, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.05625, safeZoneH * 0.03777778];
  1684. _13735369misc16 ctrlSetFont "PuristaMedium";
  1685. _13735369misc16 ctrlSetTextColor [1,1,1,1];
  1686. _13735369misc16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1687. _13735369misc16 ctrlSetFontHeight 0.05;
  1688. _13735369misc16 ctrlcommit 0;
  1689. _13735369misc16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_misc_0Z1Lx;"];
  1690.  
  1691. _13735369shooting16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1692. _13735369shooting16 ctrlSetText "SHOOTING";
  1693. _13735369shooting16 ctrlSetPosition [safeZoneX + safeZoneW * 0.14875, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1694. _13735369shooting16 ctrlSetFont "PuristaMedium";
  1695. _13735369shooting16 ctrlSetTextColor [1,1,1,1];
  1696. _13735369shooting16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1697. _13735369shooting16 ctrlSetFontHeight 0.05;
  1698. _13735369shooting16 ctrlcommit 0;
  1699. _13735369shooting16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_shooting_0Z1Lx;"];
  1700.  
  1701. _13735369altislife16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1702. _13735369altislife16 ctrlSetText "SERVER LIST";
  1703. _13735369altislife16 ctrlSetPosition [safeZoneX + safeZoneW * 0.22, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1704. _13735369altislife16 ctrlSetFont "PuristaMedium";
  1705. _13735369altislife16 ctrlSetTextColor [1,1,1,1];
  1706. _13735369altislife16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1707. _13735369altislife16 ctrlSetFontHeight 0.05;
  1708. _13735369altislife16 ctrlcommit 0;
  1709. _13735369altislife16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_serverlist_0Z1Lx;"];
  1710.  
  1711. _13735369main16_copy1 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1712. _13735369main16_copy1 ctrlSetText "MAIN";
  1713. _13735369main16_copy1 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1714. _13735369main16_copy1 ctrlSetFont "PuristaMedium";
  1715. _13735369main16_copy1 ctrlSetTextColor [1,1,1,1];
  1716. _13735369main16_copy1 ctrlSetBackgroundColor [0,0,0,0.5059];
  1717. _13735369main16_copy1 ctrlSetFontHeight 0.05;
  1718. _13735369main16_copy1 ctrlcommit 0;
  1719. _13735369main16_copy1 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_main_0Z1Lx;"];
  1720.  
  1721. _15507143movementlist51 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", -1];
  1722. _15507143movementlist51 ctrlSetText "MOVEMENT";
  1723. _15507143movementlist51 ctrlSetPosition [safeZoneX + safeZoneW * 0.213125, safeZoneY + safeZoneH * 0.11555556, safeZoneW * 0.204375, safeZoneH * 0.44222223];
  1724. _15507143movementlist51 ctrlSetFont "PuristaMedium";
  1725. _15507143movementlist51 ctrlSetTextColor [1,1,1,1];
  1726. _15507143movementlist51 ctrlSetBackgroundColor [0.6784,0.8471,0.3373,0];
  1727. _15507143movementlist51 ctrlSetFontHeight 0.05;
  1728. _15507143movementlist51 ctrlcommit 0;
  1729.  
  1730. _1759419movementext50 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1731. _1759419movementext50 ctrlSetText " WORLD";
  1732. _1759419movementext50 ctrlSetPosition [safeZoneX + safeZoneW * 0.2125, safeZoneY + safeZoneH * 0.09222223, safeZoneW * 0.20625, safeZoneH * 0.02333334];
  1733. _1759419movementext50 ctrlSetFont "PuristaMedium";
  1734. _1759419movementext50 ctrlSetTextColor [1,1,1,1];
  1735. _1759419movementext50 ctrlSetBackgroundColor [0,0,0,0.5059];
  1736. _1759419movementext50 ctrlSetFontHeight 0.05;
  1737. _1759419movementext50 ctrlcommit 0;
  1738.  
  1739. _15507143playerlistbox51 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", -1];
  1740. _15507143playerlistbox51 ctrlSetPosition [safeZoneX + safeZoneW * 0.0075, safeZoneY + safeZoneH * 0.11555556, safeZoneW * 0.205, safeZoneH * 0.44222223];
  1741. _15507143playerlistbox51 ctrlSetFont "PuristaMedium";
  1742. _15507143playerlistbox51 ctrlSetTextColor [1,1,1,1];
  1743. _15507143playerlistbox51 ctrlSetBackgroundColor [0.6784,0.8471,0.3373,0];
  1744. _15507143playerlistbox51 ctrlSetFontHeight 0.05;
  1745. _15507143playerlistbox51 ctrlcommit 0;
  1746.  
  1747. _11121067linetwo67 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1748. _11121067linetwo67 ctrlSetPosition [safeZoneX + safeZoneW * 0.21125, safeZoneY + safeZoneH * 0.08888889, safeZoneW * 0.00125, safeZoneH * 0.47777778];
  1749. _11121067linetwo67 ctrlSetFont "PuristaMedium";
  1750. _11121067linetwo67 ctrlSetTextColor [0.302,0.302,0.302,1];
  1751. _11121067linetwo67 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  1752. _11121067linetwo67 ctrlSetFontHeight 0.05;
  1753. _11121067linetwo67 ctrlcommit 0;
  1754.  
  1755. _1759419playertext50 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1756. _1759419playertext50 ctrlSetText " PLAYERS";
  1757. _1759419playertext50 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.09222223, safeZoneW * 0.2062, safeZoneH * 0.02333334];
  1758. _1759419playertext50 ctrlSetFont "PuristaMedium";
  1759. _1759419playertext50 ctrlSetTextColor [1,1,1,1];
  1760. _1759419playertext50 ctrlSetBackgroundColor [0,0,0,0.5059];
  1761. _1759419playertext50 ctrlSetFontHeight 0.05;
  1762. _1759419playertext50 ctrlcommit 0;
  1763.  
  1764. _Control1791443993 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1765. _Control1791443993 ctrlSetText "Playerlist";
  1766. _Control1791443993 ctrlSetPosition [safeZoneX + safeZoneW * 0.43125, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.1625, safeZoneH * 0.03666667];
  1767. _Control1791443993 ctrlSetFont "PuristaSemiBold";
  1768. _Control1791443993 ctrlSetTextColor [0,0,0,1];
  1769. _Control1791443993 ctrlSetBackgroundColor [0,0.8525,1,1];
  1770. _Control1791443993 ctrlSetFontHeight 0.05;
  1771. _Control1791443993 ctrlCommit 0;
  1772.  
  1773. _Control1112106767 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", 2138];
  1774. _Control1112106767 ctrlSetPosition [safeZoneX + safeZoneW * 0.431875, safeZoneY + safeZoneH * 0.05888889, safeZoneW * 0.161875, safeZoneH * 0.50555556];
  1775. _Control1112106767 ctrlSetFont "PuristaMedium";
  1776. _Control1112106767 ctrlSetTextColor [1,1,1,1];
  1777. _Control1112106767 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  1778. _Control1112106767 ctrlSetFontHeight 0.05;
  1779. _Control1112106767 ctrlCommit 0;
  1780. uiNamespace setVariable ['plejersy',_Control1112106767];
  1781.  
  1782. _list = _superzastapiamtoP10XLRX displayCtrl 2138;
  1783. lbClear _list;
  1784. {
  1785. _side = switch (side _x) do {case west: {"Cop"}; case civilian: {"Civ"}; case independent: {"Medic"}; default {"Unknown"};};
  1786. _list lbAdd format ["%1 - %2",name _x,_side];
  1787. _list lbSetdata [(lbSize _list)-1,getPlayerUID _x];
  1788. } forEach playableUnits;
  1789.  
  1790. uiNamespace setVariable ['listfnvisualsplayer',_15507143playerlistbox51];
  1791. uiNamespace setVariable ['listfnvisualsworld',_15507143movementlist51];
  1792.  
  1793.  
  1794.  
  1795. _listaplayer = uiNamespace getVariable 'listfnvisualsplayer';
  1796. _listamovement = uiNamespace getVariable 'listfnvisualsworld';
  1797. lbClear _listaplayer;
  1798. lbClear _listamovement;
  1799.  
  1800. {
  1801. _listaplayer lbAdd format["%1",_x select 0];
  1802. _listaplayer lbSetdata [(lbSize _listaplayer)-1,_x select 1];
  1803. } forEach Pb0X1Lrhsqjd_fn_visualsplayer;
  1804.  
  1805. kolorki_Pb0X1Lrhsqjd_fn_visualsplayer = {
  1806. _listaplayer = uiNamespace getVariable 'listfnvisualsplayer';
  1807. _h1 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_visualsplayer_1';
  1808. if (_h1 == true) then {
  1809. _listaplayer lbSetColor [0,[0, 1, 0, 1]];
  1810. };
  1811.  
  1812. _h2 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_visualsplayer_2';
  1813. if (_h2 == true) then {
  1814. _listaplayer lbSetColor [1,[0, 1, 0, 1]];
  1815. };
  1816.  
  1817. _h3 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_visualsplayer_3';
  1818. if (_h3 == true) then {
  1819. _listaplayer lbSetColor [2,[0, 1, 0, 1]];
  1820. };
  1821.  
  1822. _h4 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_visualsplayer_4';
  1823. if (_h4 == true) then {
  1824. _listaplayer lbSetColor [3,[0, 1, 0, 1]];
  1825. };
  1826.  
  1827. _h5 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_visualsplayer_5';
  1828. if (_h5 == true) then {
  1829. _listaplayer lbSetColor [4,[0, 1, 0, 1]];
  1830. };
  1831.  
  1832. _h6 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_visualsplayer_6';
  1833. if (_h6 == true) then {
  1834. _listaplayer lbSetColor [5,[0, 1, 0, 1]];
  1835. };
  1836.  
  1837. _h7 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_visualsplayer_7';
  1838. if (_h7 == true) then {
  1839. _listaplayer lbSetColor [6,[0, 1, 0, 1]];
  1840. };
  1841.  
  1842. _h8 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_visualsplayer_8';
  1843. if (_h8 == true) then {
  1844. _listaplayer lbSetColor [7,[0, 1, 0, 1]];
  1845. };
  1846.  
  1847. };
  1848.  
  1849. [] spawn kolorki_Pb0X1Lrhsqjd_fn_visualsplayer;
  1850.  
  1851. {
  1852. _listamovement lbAdd format["%1",_x select 0];
  1853. _listamovement lbSetdata [(lbSize _listamovement)-1,_x select 1];
  1854. } forEach Pb0X1Lrhsqjd_fn_visualsworld;
  1855.  
  1856.  
  1857. kolorki_Pb0X1Lrhsqjd_fn_visualsplayer = {
  1858. _listavisualsworld = uiNamespace getVariable 'listfnvisualsworld';
  1859. _h1 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_visualsworld_1';
  1860. if (_h1 == true) then {
  1861. _listavisualsworld lbSetColor [0,[0, 1, 0, 1]];
  1862. };
  1863.  
  1864. _h2 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_visualsworld_1';
  1865. if (_h2 == true) then {
  1866. _listavisualsworld lbSetColor [1,[0, 1, 0, 1]];
  1867. };
  1868. };
  1869.  
  1870. [] spawn kolorki_Pb0X1Lrhsqjd_fn_visualsplayer;
  1871.  
  1872.  
  1873.  
  1874. _listaplayer ctrlSetEventHandler ["LBDblClick", "[] spawn wykonajvisualsplayer"];
  1875. _listamovement ctrlSetEventHandler ["LBDblClick", "[] spawn wykonajvisualsworld"];
  1876.  
  1877. wykonajvisualsplayer = {
  1878. _coszefie = uiNamespace getVariable 'listfnvisualsplayer';
  1879. _text = _coszefie lbdata (lbCurSel _coszefie);
  1880. _code = compile _text;
  1881. [] spawn _code;
  1882. };
  1883.  
  1884. wykonajvisualsworld = {
  1885. _coszefie = uiNamespace getVariable 'listfnvisualsworld';
  1886. _text = _coszefie lbdata (lbCurSel _coszefie);
  1887. _code = compile _text;
  1888. [] spawn _code;
  1889. };
  1890.  
  1891.  
  1892.  
  1893. _superzastapiamtoP10XLRX = compileFinal "";
  1894. };
  1895.  
  1896. Pb0X1Lrhsqjd_mor_draw_shooting_0Z1Lx = {
  1897. _superzastapiamtoP10XLRX = findDisplay 46 createDisplay "RscDisplayEmpty";
  1898.  
  1899. _15718724back77 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1900. _15718724back77 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.4125, safeZoneH * 0.55];
  1901. _15718724back77 ctrlSetFont "PuristaMedium";
  1902. _15718724back77 ctrlSetTextColor [0.4902,0.3922,0.6039,1];
  1903. _15718724back77 ctrlSetBackgroundColor [0,0,0,0.5059];
  1904. _15718724back77 ctrlSetFontHeight 0.05;
  1905. _15718724back77 ctrlcommit 0;
  1906.  
  1907. _17914439title93 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1908. _17914439title93 ctrlSetText "Welcome to Morpheus Menu v2.0!";
  1909. _17914439title93 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.4125, safeZoneH * 0.03666667];
  1910. _17914439title93 ctrlSetFont "PuristaBold";
  1911. _17914439title93 ctrlSetTextColor [0,0,0,1];
  1912. _17914439title93 ctrlSetBackgroundColor [0,0.8525,1,1];
  1913. _17914439title93 ctrlSetFontHeight 0.05;
  1914. _17914439title93 ctrlcommit 0;
  1915.  
  1916. _11121067lineone67 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1917. _11121067lineone67 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.08888889, safeZoneW * 0.411875, safeZoneH * 0.00333334];
  1918. _11121067lineone67 ctrlSetFont "PuristaMedium";
  1919. _11121067lineone67 ctrlSetTextColor [0.302,0.302,0.302,1];
  1920. _11121067lineone67 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  1921. _11121067lineone67 ctrlSetFontHeight 0.05;
  1922. _11121067lineone67 ctrlcommit 0;
  1923.  
  1924. _13735369visuals16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1925. _13735369visuals16 ctrlSetText "VISUALS";
  1926. _13735369visuals16 ctrlSetPosition [safeZoneX + safeZoneW * 0.0775, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1927. _13735369visuals16 ctrlSetFont "PuristaMedium";
  1928. _13735369visuals16 ctrlSetTextColor [1,1,1,1];
  1929. _13735369visuals16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1930. _13735369visuals16 ctrlSetFontHeight 0.05;
  1931. _13735369visuals16 ctrlcommit 0;
  1932. _13735369visuals16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_visuals_0Z1Lx;"];
  1933.  
  1934. _13735369trolling16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1935. _13735369trolling16 ctrlSetText "TROLLING";
  1936. _13735369trolling16 ctrlSetPosition [safeZoneX + safeZoneW * 0.29125, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1937. _13735369trolling16 ctrlSetFont "PuristaMedium";
  1938. _13735369trolling16 ctrlSetTextColor [1,1,1,1];
  1939. _13735369trolling16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1940. _13735369trolling16 ctrlSetFontHeight 0.05;
  1941. _13735369trolling16 ctrlcommit 0;
  1942. _13735369trolling16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_trolling_0Z1Lx;"];
  1943.  
  1944. _10923592watermark94 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  1945. _10923592watermark94 ctrlSetText "Morpheus Menu v2.0 by Speedy#1337 & TheGoldyOne#2137";
  1946. _10923592watermark94 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.95111112, safeZoneW * 0.259375, safeZoneH * 0.03666667];
  1947. _10923592watermark94 ctrlSetFont "PuristaMedium";
  1948. _10923592watermark94 ctrlSetTextColor [0,0,0,1];
  1949. _10923592watermark94 ctrlSetBackgroundColor [1,1,1,0];
  1950. _10923592watermark94 ctrlSetFontHeight 0.03;
  1951. _10923592watermark94 ctrlcommit 0;
  1952.  
  1953. _13735369misc16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1954. _13735369misc16 ctrlSetText "MISC";
  1955. _13735369misc16 ctrlSetPosition [safeZoneX + safeZoneW * 0.3625, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.05625, safeZoneH * 0.03777778];
  1956. _13735369misc16 ctrlSetFont "PuristaMedium";
  1957. _13735369misc16 ctrlSetTextColor [1,1,1,1];
  1958. _13735369misc16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1959. _13735369misc16 ctrlSetFontHeight 0.05;
  1960. _13735369misc16 ctrlcommit 0;
  1961. _13735369misc16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_misc_0Z1Lx;"];
  1962.  
  1963. _13735369shooting16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1964. _13735369shooting16 ctrlSetText "SHOOTING";
  1965. _13735369shooting16 ctrlSetPosition [safeZoneX + safeZoneW * 0.14875, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1966. _13735369shooting16 ctrlSetFont "PuristaMedium";
  1967. _13735369shooting16 ctrlSetTextColor [1,1,1,1];
  1968. _13735369shooting16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1969. _13735369shooting16 ctrlSetFontHeight 0.05;
  1970. _13735369shooting16 ctrlcommit 0;
  1971. _13735369shooting16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_shooting_0Z1Lx;"];
  1972.  
  1973. _13735369altislife16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1974. _13735369altislife16 ctrlSetText "SERVER LIST";
  1975. _13735369altislife16 ctrlSetPosition [safeZoneX + safeZoneW * 0.22, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1976. _13735369altislife16 ctrlSetFont "PuristaMedium";
  1977. _13735369altislife16 ctrlSetTextColor [1,1,1,1];
  1978. _13735369altislife16 ctrlSetBackgroundColor [0,0,0,0.5059];
  1979. _13735369altislife16 ctrlSetFontHeight 0.05;
  1980. _13735369altislife16 ctrlcommit 0;
  1981. _13735369altislife16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_serverlist_0Z1Lx;"];
  1982.  
  1983. _13735369main16_copy1 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  1984. _13735369main16_copy1 ctrlSetText "MAIN";
  1985. _13735369main16_copy1 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  1986. _13735369main16_copy1 ctrlSetFont "PuristaMedium";
  1987. _13735369main16_copy1 ctrlSetTextColor [1,1,1,1];
  1988. _13735369main16_copy1 ctrlSetBackgroundColor [0,0,0,0.5059];
  1989. _13735369main16_copy1 ctrlSetFontHeight 0.05;
  1990. _13735369main16_copy1 ctrlcommit 0;
  1991. _13735369main16_copy1 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_main_0Z1Lx;"];
  1992.  
  1993. _15507143movementlist51 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", -1];
  1994. _15507143movementlist51 ctrlSetText "MOVEMENT";
  1995. _15507143movementlist51 ctrlSetPosition [safeZoneX + safeZoneW * 0.213125, safeZoneY + safeZoneH * 0.11555556, safeZoneW * 0.204375, safeZoneH * 0.44222223];
  1996. _15507143movementlist51 ctrlSetFont "PuristaMedium";
  1997. _15507143movementlist51 ctrlSetTextColor [1,1,1,1];
  1998. _15507143movementlist51 ctrlSetBackgroundColor [0.6784,0.8471,0.3373,0];
  1999. _15507143movementlist51 ctrlSetFontHeight 0.05;
  2000. _15507143movementlist51 ctrlcommit 0;
  2001.  
  2002. _1759419movementext50 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2003. _1759419movementext50 ctrlSetText " RAGE";
  2004. _1759419movementext50 ctrlSetPosition [safeZoneX + safeZoneW * 0.2125, safeZoneY + safeZoneH * 0.09222223, safeZoneW * 0.20625, safeZoneH * 0.02333334];
  2005. _1759419movementext50 ctrlSetFont "PuristaMedium";
  2006. _1759419movementext50 ctrlSetTextColor [1,1,1,1];
  2007. _1759419movementext50 ctrlSetBackgroundColor [0,0,0,0.5059];
  2008. _1759419movementext50 ctrlSetFontHeight 0.05;
  2009. _1759419movementext50 ctrlcommit 0;
  2010.  
  2011. _15507143playerlistbox51 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", -1];
  2012. _15507143playerlistbox51 ctrlSetPosition [safeZoneX + safeZoneW * 0.0075, safeZoneY + safeZoneH * 0.11555556, safeZoneW * 0.205, safeZoneH * 0.44222223];
  2013. _15507143playerlistbox51 ctrlSetFont "PuristaMedium";
  2014. _15507143playerlistbox51 ctrlSetTextColor [1,1,1,1];
  2015. _15507143playerlistbox51 ctrlSetBackgroundColor [0.6784,0.8471,0.3373,0];
  2016. _15507143playerlistbox51 ctrlSetFontHeight 0.05;
  2017. _15507143playerlistbox51 ctrlcommit 0;
  2018.  
  2019. _11121067linetwo67 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2020. _11121067linetwo67 ctrlSetPosition [safeZoneX + safeZoneW * 0.21125, safeZoneY + safeZoneH * 0.08888889, safeZoneW * 0.00125, safeZoneH * 0.47777778];
  2021. _11121067linetwo67 ctrlSetFont "PuristaMedium";
  2022. _11121067linetwo67 ctrlSetTextColor [0.302,0.302,0.302,1];
  2023. _11121067linetwo67 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  2024. _11121067linetwo67 ctrlSetFontHeight 0.05;
  2025. _11121067linetwo67 ctrlcommit 0;
  2026.  
  2027. _1759419playertext50 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2028. _1759419playertext50 ctrlSetText " SHOOTING ASSIST";
  2029. _1759419playertext50 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.09222223, safeZoneW * 0.2062, safeZoneH * 0.02333334];
  2030. _1759419playertext50 ctrlSetFont "PuristaMedium";
  2031. _1759419playertext50 ctrlSetTextColor [1,1,1,1];
  2032. _1759419playertext50 ctrlSetBackgroundColor [0,0,0,0.5059];
  2033. _1759419playertext50 ctrlSetFontHeight 0.05;
  2034. _1759419playertext50 ctrlcommit 0;
  2035.  
  2036. _Control1791443993 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2037. _Control1791443993 ctrlSetText "Playerlist";
  2038. _Control1791443993 ctrlSetPosition [safeZoneX + safeZoneW * 0.43125, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.1625, safeZoneH * 0.03666667];
  2039. _Control1791443993 ctrlSetFont "PuristaSemiBold";
  2040. _Control1791443993 ctrlSetTextColor [0,0,0,1];
  2041. _Control1791443993 ctrlSetBackgroundColor [0,0.8525,1,1];
  2042. _Control1791443993 ctrlSetFontHeight 0.05;
  2043. _Control1791443993 ctrlCommit 0;
  2044.  
  2045. _Control1112106767 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", 2138];
  2046. _Control1112106767 ctrlSetPosition [safeZoneX + safeZoneW * 0.431875, safeZoneY + safeZoneH * 0.05888889, safeZoneW * 0.161875, safeZoneH * 0.50555556];
  2047. _Control1112106767 ctrlSetFont "PuristaMedium";
  2048. _Control1112106767 ctrlSetTextColor [1,1,1,1];
  2049. _Control1112106767 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  2050. _Control1112106767 ctrlSetFontHeight 0.05;
  2051. _Control1112106767 ctrlCommit 0;
  2052. uiNamespace setVariable ['plejersy',_Control1112106767];
  2053.  
  2054. _Control1216995116 = _superzastapiamtoP10XLRX ctrlCreate["RscXSliderH", 38752389753];
  2055. _Control1216995116 ctrlSetPosition[safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.54444445, safeZoneW * 0.4125, safeZoneH * 0.01888889];
  2056. _Control1216995116 ctrlSetFont "PuristaMedium";
  2057. _Control1216995116 ctrlCommit 0;
  2058. _Control1216995116 ctrlSetFontHeight 0.05;
  2059. _Control1216995116 ctrlAddEventHandler['SliderPosChanged', 'call (findDisplay 0 getVariable ''tocomasliderabozarobic'');'];
  2060. _Control1216995116 ctrlShow false;
  2061. _Control1216995116 sliderSetPosition fovaimaeluwina_0x1pfke;
  2062. findDisplay 0 setVariable['tocomasliderabozarobic', {
  2063. fovaimaeluwina_0x1pfke = (_this select 1) / 1;
  2064. fovkoleczkaeluwina_0x1pfke = (_this select 1) / 0.04;
  2065. }];
  2066. uiNamespace setVariable ['jedynyslidermordo',_Control1216995116];
  2067.  
  2068. if (sliderpokazany == 1) then {
  2069. _Control1216995116 ctrlShow true;
  2070. } else {
  2071. _Control1216995116 ctrlShow false;
  2072. };
  2073.  
  2074. _list = _superzastapiamtoP10XLRX displayCtrl 2138;
  2075. lbClear _list;
  2076. {
  2077. _side = switch (side _x) do {case west: {"Cop"}; case civilian: {"Civ"}; case independent: {"Medic"}; default {"Unknown"};};
  2078. _list lbAdd format ["%1 - %2",name _x,_side];
  2079. _list lbSetdata [(lbSize _list)-1,getPlayerUID _x];
  2080. } forEach playableUnits;
  2081.  
  2082. uiNamespace setVariable ['listfnshootingassist',_15507143playerlistbox51];
  2083. uiNamespace setVariable ['listfnshootingrage',_15507143movementlist51];
  2084.  
  2085.  
  2086.  
  2087. _listaassist = uiNamespace getVariable 'listfnshootingassist';
  2088. _listarage = uiNamespace getVariable 'listfnshootingrage';
  2089. lbClear _listaassist;
  2090. lbClear _listarage;
  2091.  
  2092. {
  2093. _listaassist lbAdd format["%1",_x select 0];
  2094. _listaassist lbSetdata [(lbSize _listaassist)-1,_x select 1];
  2095. } forEach Pb0X1Lrhsqjd_fn_shootingassist;
  2096.  
  2097. kolorki_Pb0X1Lrhsqjd_fn_shootingassist = {
  2098. _listavisualsworld = uiNamespace getVariable 'listfnshootingassist';
  2099. _h1 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_shootingassist_1';
  2100. if (_h1 == true) then {
  2101. _listavisualsworld lbSetColor [0,[0, 1, 0, 1]];
  2102. };
  2103.  
  2104. _h2 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_shootingassist_2';
  2105. if (_h2 == true) then {
  2106. _listavisualsworld lbSetColor [1,[0, 1, 0, 1]];
  2107. };
  2108.  
  2109. _h3 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_shootingassist_3';
  2110. if (_h3 == true) then {
  2111. _listavisualsworld lbSetColor [2,[0, 1, 0, 1]];
  2112. };
  2113.  
  2114. _h4 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_shootingassist_4';
  2115. if (_h4 == true) then {
  2116. _listavisualsworld lbSetColor [3,[0, 1, 0, 1]];
  2117. };
  2118.  
  2119. _h5 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_shootingassist_5';
  2120. if (_h5 == true) then {
  2121. _listavisualsworld lbSetColor [4,[0, 1, 0, 1]];
  2122. };
  2123.  
  2124. };
  2125.  
  2126. [] spawn kolorki_Pb0X1Lrhsqjd_fn_shootingassist;
  2127.  
  2128. {
  2129. _listarage lbAdd format["%1",_x select 0];
  2130. _listarage lbSetdata [(lbSize _listarage)-1,_x select 1];
  2131. } forEach Pb0X1Lrhsqjd_fn_shootingrage;
  2132.  
  2133. kolorki_Pb0X1Lrhsqjd_fn_shootingrage = {
  2134. _listrage = uiNamespace getVariable 'listfnshootingrage';
  2135. _h1 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_shootingrage_1';
  2136. if (_h1 == true) then {
  2137. _listrage lbSetColor [0,[0, 1, 0, 1]];
  2138. };
  2139.  
  2140. _h2 = uiNamespace getVariable 'Pb0X1Lrhsqjd_fn_shootingrage_2';
  2141. if (_h2 == true) then {
  2142. _listrage lbSetColor [1,[0, 1, 0, 1]];
  2143. };
  2144. };
  2145.  
  2146. [] spawn kolorki_Pb0X1Lrhsqjd_fn_shootingrage;
  2147.  
  2148. _listaassist ctrlSetEventHandler ["LBDblClick", "[] spawn wykonajshootingassist"];
  2149. _listarage ctrlSetEventHandler ["LBDblClick", "[] spawn wykonajshootingrage"];
  2150.  
  2151. wykonajshootingassist = {
  2152. _coszefie = uiNamespace getVariable 'listfnshootingassist';
  2153. _text = _coszefie lbdata (lbCurSel _coszefie);
  2154. _code = compile _text;
  2155. [] spawn _code;
  2156. };
  2157.  
  2158. wykonajshootingrage = {
  2159. _coszefie = uiNamespace getVariable 'listfnshootingrage';
  2160. _text = _coszefie lbdata (lbCurSel _coszefie);
  2161. _code = compile _text;
  2162. [] spawn _code;
  2163. };
  2164.  
  2165. _superzastapiamtoP10XLRX = compileFinal "";
  2166. };
  2167.  
  2168. Pb0X1Lrhsqjd_mor_draw_serverlist_0Z1Lx = {
  2169. _superzastapiamtoP10XLRX = findDisplay 46 createDisplay "RscDisplayEmpty";
  2170.  
  2171. _15718724back77 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2172. _15718724back77 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.4125, safeZoneH * 0.55];
  2173. _15718724back77 ctrlSetFont "PuristaMedium";
  2174. _15718724back77 ctrlSetTextColor [0.4902,0.3922,0.6039,1];
  2175. _15718724back77 ctrlSetBackgroundColor [0,0,0,0.5059];
  2176. _15718724back77 ctrlSetFontHeight 0.05;
  2177. _15718724back77 ctrlcommit 0;
  2178.  
  2179. _17914439title93 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2180. _17914439title93 ctrlSetText "Welcome to Morpheus Menu v2.0!";
  2181. _17914439title93 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.4125, safeZoneH * 0.03666667];
  2182. _17914439title93 ctrlSetFont "PuristaBold";
  2183. _17914439title93 ctrlSetTextColor [0,0,0,1];
  2184. _17914439title93 ctrlSetBackgroundColor [0,0.8525,1,1];
  2185. _17914439title93 ctrlSetFontHeight 0.05;
  2186. _17914439title93 ctrlcommit 0;
  2187.  
  2188. _11121067lineone67 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2189. _11121067lineone67 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.08888889, safeZoneW * 0.411875, safeZoneH * 0.00333334];
  2190. _11121067lineone67 ctrlSetFont "PuristaMedium";
  2191. _11121067lineone67 ctrlSetTextColor [0.302,0.302,0.302,1];
  2192. _11121067lineone67 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  2193. _11121067lineone67 ctrlSetFontHeight 0.05;
  2194. _11121067lineone67 ctrlcommit 0;
  2195.  
  2196. _13735369visuals16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2197. _13735369visuals16 ctrlSetText "VISUALS";
  2198. _13735369visuals16 ctrlSetPosition [safeZoneX + safeZoneW * 0.0775, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  2199. _13735369visuals16 ctrlSetFont "PuristaMedium";
  2200. _13735369visuals16 ctrlSetTextColor [1,1,1,1];
  2201. _13735369visuals16 ctrlSetBackgroundColor [0,0,0,0.5059];
  2202. _13735369visuals16 ctrlSetFontHeight 0.05;
  2203. _13735369visuals16 ctrlcommit 0;
  2204. _13735369visuals16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_visuals_0Z1Lx;"];
  2205.  
  2206. _13735369trolling16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2207. _13735369trolling16 ctrlSetText "TROLLING";
  2208. _13735369trolling16 ctrlSetPosition [safeZoneX + safeZoneW * 0.29125, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  2209. _13735369trolling16 ctrlSetFont "PuristaMedium";
  2210. _13735369trolling16 ctrlSetTextColor [1,1,1,1];
  2211. _13735369trolling16 ctrlSetBackgroundColor [0,0,0,0.5059];
  2212. _13735369trolling16 ctrlSetFontHeight 0.05;
  2213. _13735369trolling16 ctrlcommit 0;
  2214. _13735369trolling16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_trolling_0Z1Lx;"];
  2215.  
  2216. _10923592watermark94 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2217. _10923592watermark94 ctrlSetText "Morpheus Menu v2.0 by Speedy#1337 & TheGoldyOne#2137";
  2218. _10923592watermark94 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.95111112, safeZoneW * 0.259375, safeZoneH * 0.03666667];
  2219. _10923592watermark94 ctrlSetFont "PuristaMedium";
  2220. _10923592watermark94 ctrlSetTextColor [0,0,0,1];
  2221. _10923592watermark94 ctrlSetBackgroundColor [1,1,1,0];
  2222. _10923592watermark94 ctrlSetFontHeight 0.03;
  2223. _10923592watermark94 ctrlcommit 0;
  2224.  
  2225. _13735369misc16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2226. _13735369misc16 ctrlSetText "MISC";
  2227. _13735369misc16 ctrlSetPosition [safeZoneX + safeZoneW * 0.3625, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.05625, safeZoneH * 0.03777778];
  2228. _13735369misc16 ctrlSetFont "PuristaMedium";
  2229. _13735369misc16 ctrlSetTextColor [1,1,1,1];
  2230. _13735369misc16 ctrlSetBackgroundColor [0,0,0,0.5059];
  2231. _13735369misc16 ctrlSetFontHeight 0.05;
  2232. _13735369misc16 ctrlcommit 0;
  2233. _13735369misc16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_misc_0Z1Lx;"];
  2234.  
  2235. _13735369shooting16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2236. _13735369shooting16 ctrlSetText "SHOOTING";
  2237. _13735369shooting16 ctrlSetPosition [safeZoneX + safeZoneW * 0.14875, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  2238. _13735369shooting16 ctrlSetFont "PuristaMedium";
  2239. _13735369shooting16 ctrlSetTextColor [1,1,1,1];
  2240. _13735369shooting16 ctrlSetBackgroundColor [0,0,0,0.5059];
  2241. _13735369shooting16 ctrlSetFontHeight 0.05;
  2242. _13735369shooting16 ctrlcommit 0;
  2243. _13735369shooting16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_shooting_0Z1Lx;"];
  2244.  
  2245. _13735369altislife16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2246. _13735369altislife16 ctrlSetText "SERVER LIST";
  2247. _13735369altislife16 ctrlSetPosition [safeZoneX + safeZoneW * 0.22, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  2248. _13735369altislife16 ctrlSetFont "PuristaMedium";
  2249. _13735369altislife16 ctrlSetTextColor [1,1,1,1];
  2250. _13735369altislife16 ctrlSetBackgroundColor [0,0,0,0.5059];
  2251. _13735369altislife16 ctrlSetFontHeight 0.05;
  2252. _13735369altislife16 ctrlcommit 0;
  2253. _13735369altislife16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_serverlist_0Z1Lx;"];
  2254.  
  2255. _13735369main16_copy1 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2256. _13735369main16_copy1 ctrlSetText "MAIN";
  2257. _13735369main16_copy1 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  2258. _13735369main16_copy1 ctrlSetFont "PuristaMedium";
  2259. _13735369main16_copy1 ctrlSetTextColor [1,1,1,1];
  2260. _13735369main16_copy1 ctrlSetBackgroundColor [0,0,0,0.5059];
  2261. _13735369main16_copy1 ctrlSetFontHeight 0.05;
  2262. _13735369main16_copy1 ctrlcommit 0;
  2263. _13735369main16_copy1 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_main_0Z1Lx;"];
  2264.  
  2265. _15507143playerlistbox51 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", -1];
  2266. _15507143playerlistbox51 ctrlSetPosition [safeZoneX + safeZoneW * 0.0075, safeZoneY + safeZoneH * 0.11555556, safeZoneW * 0.410, safeZoneH * 0.44222223];
  2267. _15507143playerlistbox51 ctrlSetFont "PuristaMedium";
  2268. _15507143playerlistbox51 ctrlSetTextColor [1,1,1,1];
  2269. _15507143playerlistbox51 ctrlSetBackgroundColor [0.6784,0.8471,0.3373,0];
  2270. _15507143playerlistbox51 ctrlSetFontHeight 0.05;
  2271. _15507143playerlistbox51 ctrlcommit 0;
  2272.  
  2273. _1759419playertext50 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2274. _1759419playertext50 ctrlSetText " SERVER LIST";
  2275. _1759419playertext50 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.09222223, safeZoneW * 0.4124, safeZoneH * 0.02333334];
  2276. _1759419playertext50 ctrlSetFont "PuristaMedium";
  2277. _1759419playertext50 ctrlSetTextColor [1,1,1,1];
  2278. _1759419playertext50 ctrlSetBackgroundColor [0,0,0,0.5059];
  2279. _1759419playertext50 ctrlSetFontHeight 0.05;
  2280. _1759419playertext50 ctrlcommit 0;
  2281.  
  2282. _Control1791443993 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2283. _Control1791443993 ctrlSetText "Playerlist";
  2284. _Control1791443993 ctrlSetPosition [safeZoneX + safeZoneW * 0.43125, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.1625, safeZoneH * 0.03666667];
  2285. _Control1791443993 ctrlSetFont "PuristaSemiBold";
  2286. _Control1791443993 ctrlSetTextColor [0,0,0,1];
  2287. _Control1791443993 ctrlSetBackgroundColor [0,0.8525,1,1];
  2288. _Control1791443993 ctrlSetFontHeight 0.05;
  2289. _Control1791443993 ctrlCommit 0;
  2290.  
  2291. _Control1112106767 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", 2138];
  2292. _Control1112106767 ctrlSetPosition [safeZoneX + safeZoneW * 0.431875, safeZoneY + safeZoneH * 0.05888889, safeZoneW * 0.161875, safeZoneH * 0.50555556];
  2293. _Control1112106767 ctrlSetFont "PuristaMedium";
  2294. _Control1112106767 ctrlSetTextColor [1,1,1,1];
  2295. _Control1112106767 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  2296. _Control1112106767 ctrlSetFontHeight 0.05;
  2297. _Control1112106767 ctrlCommit 0;
  2298. uiNamespace setVariable ['plejersy',_Control1112106767];
  2299.  
  2300. uiNamespace setVariable ['listserver',_15507143playerlistbox51];
  2301.  
  2302.  
  2303.  
  2304. _list = _superzastapiamtoP10XLRX displayCtrl 2138;
  2305. lbClear _list;
  2306. {
  2307. _side = switch (side _x) do {case west: {"Cop"}; case civilian: {"Civ"}; case independent: {"Medic"}; default {"Unknown"};};
  2308. _list lbAdd format ["%1 - %2",name _x,_side];
  2309. _list lbSetdata [(lbSize _list)-1,getPlayerUID _x];
  2310. } forEach playableUnits;
  2311.  
  2312.  
  2313.  
  2314. _listaserver = uiNamespace getVariable 'listserver';
  2315. lbClear _listaserver;
  2316.  
  2317. {
  2318. _listaserver lbAdd format["%1",_x select 0];
  2319. _listaserver lbSetdata [(lbSize _listaserver)-1,_x select 1];
  2320. } forEach Pb0X1Lrhsqjd_fn_serverlist;
  2321.  
  2322. _listaserver ctrlSetEventHandler ["LBDblClick", "[] spawn wykonajlisaserver"];
  2323.  
  2324. wykonajlisaserver = {
  2325. _coszefie = uiNamespace getVariable 'listserver';
  2326. _text = _coszefie lbdata (lbCurSel _coszefie);
  2327. _code = compile _text;
  2328. [] spawn _code;
  2329. };
  2330.  
  2331. _superzastapiamtoP10XLRX = compileFinal "";
  2332. };
  2333.  
  2334. Pb0X1Lrhsqjd_mor_draw_trolling_0Z1Lx = {
  2335. _superzastapiamtoP10XLRX = findDisplay 46 createDisplay "RscDisplayEmpty";
  2336.  
  2337. _15718724back77 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2338. _15718724back77 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.4125, safeZoneH * 0.55];
  2339. _15718724back77 ctrlSetFont "PuristaMedium";
  2340. _15718724back77 ctrlSetTextColor [0.4902,0.3922,0.6039,1];
  2341. _15718724back77 ctrlSetBackgroundColor [0,0,0,0.5059];
  2342. _15718724back77 ctrlSetFontHeight 0.05;
  2343. _15718724back77 ctrlcommit 0;
  2344.  
  2345. _17914439title93 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2346. _17914439title93 ctrlSetText "Welcome to Morpheus Menu v2.0!";
  2347. _17914439title93 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.4125, safeZoneH * 0.03666667];
  2348. _17914439title93 ctrlSetFont "PuristaBold";
  2349. _17914439title93 ctrlSetTextColor [0,0,0,1];
  2350. _17914439title93 ctrlSetBackgroundColor [0,0.8525,1,1];
  2351. _17914439title93 ctrlSetFontHeight 0.05;
  2352. _17914439title93 ctrlcommit 0;
  2353.  
  2354. _11121067lineone67 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2355. _11121067lineone67 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.08888889, safeZoneW * 0.411875, safeZoneH * 0.00333334];
  2356. _11121067lineone67 ctrlSetFont "PuristaMedium";
  2357. _11121067lineone67 ctrlSetTextColor [0.302,0.302,0.302,1];
  2358. _11121067lineone67 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  2359. _11121067lineone67 ctrlSetFontHeight 0.05;
  2360. _11121067lineone67 ctrlcommit 0;
  2361.  
  2362. _13735369visuals16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2363. _13735369visuals16 ctrlSetText "VISUALS";
  2364. _13735369visuals16 ctrlSetPosition [safeZoneX + safeZoneW * 0.0775, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  2365. _13735369visuals16 ctrlSetFont "PuristaMedium";
  2366. _13735369visuals16 ctrlSetTextColor [1,1,1,1];
  2367. _13735369visuals16 ctrlSetBackgroundColor [0,0,0,0.5059];
  2368. _13735369visuals16 ctrlSetFontHeight 0.05;
  2369. _13735369visuals16 ctrlcommit 0;
  2370. _13735369visuals16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_visuals_0Z1Lx;"];
  2371.  
  2372. _13735369trolling16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2373. _13735369trolling16 ctrlSetText "TROLLING";
  2374. _13735369trolling16 ctrlSetPosition [safeZoneX + safeZoneW * 0.29125, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  2375. _13735369trolling16 ctrlSetFont "PuristaMedium";
  2376. _13735369trolling16 ctrlSetTextColor [1,1,1,1];
  2377. _13735369trolling16 ctrlSetBackgroundColor [0,0,0,0.5059];
  2378. _13735369trolling16 ctrlSetFontHeight 0.05;
  2379. _13735369trolling16 ctrlcommit 0;
  2380. _13735369trolling16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_trolling_0Z1Lx;"];
  2381.  
  2382. _10923592watermark94 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2383. _10923592watermark94 ctrlSetText "Morpheus Menu v2.0 by Speedy#1337 & TheGoldyOne#2137";
  2384. _10923592watermark94 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.95111112, safeZoneW * 0.259375, safeZoneH * 0.03666667];
  2385. _10923592watermark94 ctrlSetFont "PuristaMedium";
  2386. _10923592watermark94 ctrlSetTextColor [0,0,0,1];
  2387. _10923592watermark94 ctrlSetBackgroundColor [1,1,1,0];
  2388. _10923592watermark94 ctrlSetFontHeight 0.03;
  2389. _10923592watermark94 ctrlcommit 0;
  2390.  
  2391. _13735369misc16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2392. _13735369misc16 ctrlSetText "MISC";
  2393. _13735369misc16 ctrlSetPosition [safeZoneX + safeZoneW * 0.3625, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.05625, safeZoneH * 0.03777778];
  2394. _13735369misc16 ctrlSetFont "PuristaMedium";
  2395. _13735369misc16 ctrlSetTextColor [1,1,1,1];
  2396. _13735369misc16 ctrlSetBackgroundColor [0,0,0,0.5059];
  2397. _13735369misc16 ctrlSetFontHeight 0.05;
  2398. _13735369misc16 ctrlcommit 0;
  2399. _13735369misc16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_misc_0Z1Lx;"];
  2400.  
  2401. _13735369shooting16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2402. _13735369shooting16 ctrlSetText "SHOOTING";
  2403. _13735369shooting16 ctrlSetPosition [safeZoneX + safeZoneW * 0.14875, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  2404. _13735369shooting16 ctrlSetFont "PuristaMedium";
  2405. _13735369shooting16 ctrlSetTextColor [1,1,1,1];
  2406. _13735369shooting16 ctrlSetBackgroundColor [0,0,0,0.5059];
  2407. _13735369shooting16 ctrlSetFontHeight 0.05;
  2408. _13735369shooting16 ctrlcommit 0;
  2409. _13735369shooting16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_shooting_0Z1Lx;"];
  2410.  
  2411. _13735369altislife16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2412. _13735369altislife16 ctrlSetText "SERVER LIST";
  2413. _13735369altislife16 ctrlSetPosition [safeZoneX + safeZoneW * 0.22, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  2414. _13735369altislife16 ctrlSetFont "PuristaMedium";
  2415. _13735369altislife16 ctrlSetTextColor [1,1,1,1];
  2416. _13735369altislife16 ctrlSetBackgroundColor [0,0,0,0.5059];
  2417. _13735369altislife16 ctrlSetFontHeight 0.05;
  2418. _13735369altislife16 ctrlcommit 0;
  2419. _13735369altislife16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_serverlist_0Z1Lx;"];
  2420.  
  2421. _13735369main16_copy1 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2422. _13735369main16_copy1 ctrlSetText "MAIN";
  2423. _13735369main16_copy1 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  2424. _13735369main16_copy1 ctrlSetFont "PuristaMedium";
  2425. _13735369main16_copy1 ctrlSetTextColor [1,1,1,1];
  2426. _13735369main16_copy1 ctrlSetBackgroundColor [0,0,0,0.5059];
  2427. _13735369main16_copy1 ctrlSetFontHeight 0.05;
  2428. _13735369main16_copy1 ctrlcommit 0;
  2429. _13735369main16_copy1 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_main_0Z1Lx;"];
  2430.  
  2431. _15507143movementlist51 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", -1];
  2432. _15507143movementlist51 ctrlSetText "MOVEMENT";
  2433. _15507143movementlist51 ctrlSetPosition [safeZoneX + safeZoneW * 0.213125, safeZoneY + safeZoneH * 0.11555556, safeZoneW * 0.204375, safeZoneH * 0.44222223];
  2434. _15507143movementlist51 ctrlSetFont "PuristaMedium";
  2435. _15507143movementlist51 ctrlSetTextColor [1,1,1,1];
  2436. _15507143movementlist51 ctrlSetBackgroundColor [0.6784,0.8471,0.3373,0];
  2437. _15507143movementlist51 ctrlSetFontHeight 0.05;
  2438. _15507143movementlist51 ctrlcommit 0;
  2439.  
  2440. _1759419movementext50 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2441. _1759419movementext50 ctrlSetText " SERVER";
  2442. _1759419movementext50 ctrlSetPosition [safeZoneX + safeZoneW * 0.2125, safeZoneY + safeZoneH * 0.09222223, safeZoneW * 0.20625, safeZoneH * 0.02333334];
  2443. _1759419movementext50 ctrlSetFont "PuristaMedium";
  2444. _1759419movementext50 ctrlSetTextColor [1,1,1,1];
  2445. _1759419movementext50 ctrlSetBackgroundColor [0,0,0,0.5059];
  2446. _1759419movementext50 ctrlSetFontHeight 0.05;
  2447. _1759419movementext50 ctrlcommit 0;
  2448.  
  2449. _15507143playerlistbox51 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", -1];
  2450. _15507143playerlistbox51 ctrlSetPosition [safeZoneX + safeZoneW * 0.0075, safeZoneY + safeZoneH * 0.11555556, safeZoneW * 0.205, safeZoneH * 0.44222223];
  2451. _15507143playerlistbox51 ctrlSetFont "PuristaMedium";
  2452. _15507143playerlistbox51 ctrlSetTextColor [1,1,1,1];
  2453. _15507143playerlistbox51 ctrlSetBackgroundColor [0.6784,0.8471,0.3373,0];
  2454. _15507143playerlistbox51 ctrlSetFontHeight 0.05;
  2455. _15507143playerlistbox51 ctrlcommit 0;
  2456.  
  2457. _11121067linetwo67 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2458. _11121067linetwo67 ctrlSetPosition [safeZoneX + safeZoneW * 0.21125, safeZoneY + safeZoneH * 0.08888889, safeZoneW * 0.00125, safeZoneH * 0.47777778];
  2459. _11121067linetwo67 ctrlSetFont "PuristaMedium";
  2460. _11121067linetwo67 ctrlSetTextColor [0.302,0.302,0.302,1];
  2461. _11121067linetwo67 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  2462. _11121067linetwo67 ctrlSetFontHeight 0.05;
  2463. _11121067linetwo67 ctrlcommit 0;
  2464.  
  2465. _1759419playertext50 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2466. _1759419playertext50 ctrlSetText " TARGET";
  2467. _1759419playertext50 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.09222223, safeZoneW * 0.2062, safeZoneH * 0.02333334];
  2468. _1759419playertext50 ctrlSetFont "PuristaMedium";
  2469. _1759419playertext50 ctrlSetTextColor [1,1,1,1];
  2470. _1759419playertext50 ctrlSetBackgroundColor [0,0,0,0.5059];
  2471. _1759419playertext50 ctrlSetFontHeight 0.05;
  2472. _1759419playertext50 ctrlcommit 0;
  2473.  
  2474. _Control1791443993 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2475. _Control1791443993 ctrlSetText "Playerlist";
  2476. _Control1791443993 ctrlSetPosition [safeZoneX + safeZoneW * 0.43125, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.1625, safeZoneH * 0.03666667];
  2477. _Control1791443993 ctrlSetFont "PuristaSemiBold";
  2478. _Control1791443993 ctrlSetTextColor [0,0,0,1];
  2479. _Control1791443993 ctrlSetBackgroundColor [0,0.8525,1,1];
  2480. _Control1791443993 ctrlSetFontHeight 0.05;
  2481. _Control1791443993 ctrlCommit 0;
  2482.  
  2483. _Control1112106767 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", 2138];
  2484. _Control1112106767 ctrlSetPosition [safeZoneX + safeZoneW * 0.431875, safeZoneY + safeZoneH * 0.05888889, safeZoneW * 0.161875, safeZoneH * 0.50555556];
  2485. _Control1112106767 ctrlSetFont "PuristaMedium";
  2486. _Control1112106767 ctrlSetTextColor [1,1,1,1];
  2487. _Control1112106767 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  2488. _Control1112106767 ctrlSetFontHeight 0.05;
  2489. _Control1112106767 ctrlCommit 0;
  2490. uiNamespace setVariable ['plejersy',_Control1112106767];
  2491.  
  2492. _list = _superzastapiamtoP10XLRX displayCtrl 2138;
  2493. lbClear _list;
  2494. {
  2495. _side = switch (side _x) do {case west: {"Cop"}; case civilian: {"Civ"}; case independent: {"Medic"}; default {"Unknown"};};
  2496. _list lbAdd format ["%1 - %2",name _x,_side];
  2497. _list lbSetdata [(lbSize _list)-1,getPlayerUID _x];
  2498. } forEach playableUnits;
  2499.  
  2500. uiNamespace setVariable ['listfntrolltarget',_15507143playerlistbox51];
  2501. uiNamespace setVariable ['listfntrollserver',_15507143movementlist51];
  2502.  
  2503.  
  2504.  
  2505. _listatarget = uiNamespace getVariable 'listfntrolltarget';
  2506. _listaserver = uiNamespace getVariable 'listfntrollserver';
  2507. lbClear _listatarget;
  2508. lbClear _listaserver;
  2509.  
  2510. {
  2511. _listatarget lbAdd format["%1",_x select 0];
  2512. _listatarget lbSetdata [(lbSize _listatarget)-1,_x select 1];
  2513. } forEach Pb0X1Lrhsqjd_fn_trolltarget;
  2514.  
  2515. {
  2516. _listaserver lbAdd format["%1",_x select 0];
  2517. _listaserver lbSetdata [(lbSize _listaserver)-1,_x select 1];
  2518. } forEach Pb0X1Lrhsqjd_fn_trollserver;
  2519.  
  2520. _listatarget ctrlSetEventHandler ["LBDblClick", "[] spawn wykonajtrolltarget"];
  2521. _listaserver ctrlSetEventHandler ["LBDblClick", "[] spawn wykonajtrollserver"];
  2522.  
  2523. wykonajtrolltarget = {
  2524. _coszefie = uiNamespace getVariable 'listfntrolltarget';
  2525. _text = _coszefie lbdata (lbCurSel _coszefie);
  2526. _code = compile _text;
  2527. [] spawn _code;
  2528. };
  2529.  
  2530. wykonajtrollserver = {
  2531. _coszefie = uiNamespace getVariable 'listfntrollserver';
  2532. _text = _coszefie lbdata (lbCurSel _coszefie);
  2533. _code = compile _text;
  2534. [] spawn _code;
  2535. };
  2536.  
  2537. _superzastapiamtoP10XLRX = compileFinal "";
  2538. };
  2539.  
  2540. Pb0X1Lrhsqjd_mor_draw_misc_0Z1Lx = {
  2541. _superzastapiamtoP10XLRX = findDisplay 46 createDisplay "RscDisplayEmpty";
  2542.  
  2543. _15718724back77 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2544. _15718724back77 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.4125, safeZoneH * 0.55];
  2545. _15718724back77 ctrlSetFont "PuristaMedium";
  2546. _15718724back77 ctrlSetTextColor [0.4902,0.3922,0.6039,1];
  2547. _15718724back77 ctrlSetBackgroundColor [0,0,0,0.5059];
  2548. _15718724back77 ctrlSetFontHeight 0.05;
  2549. _15718724back77 ctrlcommit 0;
  2550.  
  2551. _17914439title93 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2552. _17914439title93 ctrlSetText "Welcome to Morpheus Menu v2.0!";
  2553. _17914439title93 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.4125, safeZoneH * 0.03666667];
  2554. _17914439title93 ctrlSetFont "PuristaBold";
  2555. _17914439title93 ctrlSetTextColor [0,0,0,1];
  2556. _17914439title93 ctrlSetBackgroundColor [0,0.8525,1,1];
  2557. _17914439title93 ctrlSetFontHeight 0.05;
  2558. _17914439title93 ctrlcommit 0;
  2559.  
  2560. _11121067lineone67 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2561. _11121067lineone67 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.08888889, safeZoneW * 0.411875, safeZoneH * 0.00333334];
  2562. _11121067lineone67 ctrlSetFont "PuristaMedium";
  2563. _11121067lineone67 ctrlSetTextColor [0.302,0.302,0.302,1];
  2564. _11121067lineone67 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  2565. _11121067lineone67 ctrlSetFontHeight 0.05;
  2566. _11121067lineone67 ctrlcommit 0;
  2567.  
  2568. _13735369visuals16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2569. _13735369visuals16 ctrlSetText "VISUALS";
  2570. _13735369visuals16 ctrlSetPosition [safeZoneX + safeZoneW * 0.0775, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  2571. _13735369visuals16 ctrlSetFont "PuristaMedium";
  2572. _13735369visuals16 ctrlSetTextColor [1,1,1,1];
  2573. _13735369visuals16 ctrlSetBackgroundColor [0,0,0,0.5059];
  2574. _13735369visuals16 ctrlSetFontHeight 0.05;
  2575. _13735369visuals16 ctrlcommit 0;
  2576. _13735369visuals16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_visuals_0Z1Lx;"];
  2577.  
  2578. _13735369trolling16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2579. _13735369trolling16 ctrlSetText "TROLLING";
  2580. _13735369trolling16 ctrlSetPosition [safeZoneX + safeZoneW * 0.29125, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  2581. _13735369trolling16 ctrlSetFont "PuristaMedium";
  2582. _13735369trolling16 ctrlSetTextColor [1,1,1,1];
  2583. _13735369trolling16 ctrlSetBackgroundColor [0,0,0,0.5059];
  2584. _13735369trolling16 ctrlSetFontHeight 0.05;
  2585. _13735369trolling16 ctrlcommit 0;
  2586. _13735369trolling16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_trolling_0Z1Lx;"];
  2587.  
  2588. _10923592watermark94 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2589. _10923592watermark94 ctrlSetText "Morpheus Menu v2.0 by Speedy#1337 & TheGoldyOne#2137";
  2590. _10923592watermark94 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.95111112, safeZoneW * 0.259375, safeZoneH * 0.03666667];
  2591. _10923592watermark94 ctrlSetFont "PuristaMedium";
  2592. _10923592watermark94 ctrlSetTextColor [0,0,0,1];
  2593. _10923592watermark94 ctrlSetBackgroundColor [1,1,1,0];
  2594. _10923592watermark94 ctrlSetFontHeight 0.03;
  2595. _10923592watermark94 ctrlcommit 0;
  2596.  
  2597. _13735369misc16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2598. _13735369misc16 ctrlSetText "MISC";
  2599. _13735369misc16 ctrlSetPosition [safeZoneX + safeZoneW * 0.3625, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.05625, safeZoneH * 0.03777778];
  2600. _13735369misc16 ctrlSetFont "PuristaMedium";
  2601. _13735369misc16 ctrlSetTextColor [1,1,1,1];
  2602. _13735369misc16 ctrlSetBackgroundColor [0,0,0,0.5059];
  2603. _13735369misc16 ctrlSetFontHeight 0.05;
  2604. _13735369misc16 ctrlcommit 0;
  2605. _13735369misc16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_misc_0Z1Lx;"];
  2606.  
  2607. _13735369shooting16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2608. _13735369shooting16 ctrlSetText "SHOOTING";
  2609. _13735369shooting16 ctrlSetPosition [safeZoneX + safeZoneW * 0.14875, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  2610. _13735369shooting16 ctrlSetFont "PuristaMedium";
  2611. _13735369shooting16 ctrlSetTextColor [1,1,1,1];
  2612. _13735369shooting16 ctrlSetBackgroundColor [0,0,0,0.5059];
  2613. _13735369shooting16 ctrlSetFontHeight 0.05;
  2614. _13735369shooting16 ctrlcommit 0;
  2615. _13735369shooting16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_shooting_0Z1Lx;"];
  2616.  
  2617. _13735369altislife16 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2618. _13735369altislife16 ctrlSetText "SERVER LIST";
  2619. _13735369altislife16 ctrlSetPosition [safeZoneX + safeZoneW * 0.22, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  2620. _13735369altislife16 ctrlSetFont "PuristaMedium";
  2621. _13735369altislife16 ctrlSetTextColor [1,1,1,1];
  2622. _13735369altislife16 ctrlSetBackgroundColor [0,0,0,0.5059];
  2623. _13735369altislife16 ctrlSetFontHeight 0.05;
  2624. _13735369altislife16 ctrlcommit 0;
  2625. _13735369altislife16 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_serverlist_0Z1Lx;"];
  2626.  
  2627. _13735369main16_copy1 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2628. _13735369main16_copy1 ctrlSetText "MAIN";
  2629. _13735369main16_copy1 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.05111112, safeZoneW * 0.07125, safeZoneH * 0.03777778];
  2630. _13735369main16_copy1 ctrlSetFont "PuristaMedium";
  2631. _13735369main16_copy1 ctrlSetTextColor [1,1,1,1];
  2632. _13735369main16_copy1 ctrlSetBackgroundColor [0,0,0,0.5059];
  2633. _13735369main16_copy1 ctrlSetFontHeight 0.05;
  2634. _13735369main16_copy1 ctrlcommit 0;
  2635. _13735369main16_copy1 ctrlAddEventHandler ['ButtonClick', "[] spawn Pb0X1Lrhsqjd_mor_draw_main_0Z1Lx;"];
  2636.  
  2637. _15507143playerlistbox51 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", -1];
  2638. _15507143playerlistbox51 ctrlSetPosition [safeZoneX + safeZoneW * 0.0075, safeZoneY + safeZoneH * 0.11555556, safeZoneW * 0.410, safeZoneH * 0.44222223];
  2639. _15507143playerlistbox51 ctrlSetFont "PuristaMedium";
  2640. _15507143playerlistbox51 ctrlSetTextColor [1,1,1,1];
  2641. _15507143playerlistbox51 ctrlSetBackgroundColor [0.6784,0.8471,0.3373,0];
  2642. _15507143playerlistbox51 ctrlSetFontHeight 0.05;
  2643. _15507143playerlistbox51 ctrlcommit 0;
  2644.  
  2645. _1759419playertext50 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2646. _1759419playertext50 ctrlSetText " MISC";
  2647. _1759419playertext50 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.09222223, safeZoneW * 0.4124, safeZoneH * 0.02333334];
  2648. _1759419playertext50 ctrlSetFont "PuristaMedium";
  2649. _1759419playertext50 ctrlSetTextColor [1,1,1,1];
  2650. _1759419playertext50 ctrlSetBackgroundColor [0,0,0,0.5059];
  2651. _1759419playertext50 ctrlSetFontHeight 0.05;
  2652. _1759419playertext50 ctrlcommit 0;
  2653.  
  2654. _Control1791443993 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2655. _Control1791443993 ctrlSetText "Playerlist";
  2656. _Control1791443993 ctrlSetPosition [safeZoneX + safeZoneW * 0.43125, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.1625, safeZoneH * 0.03666667];
  2657. _Control1791443993 ctrlSetFont "PuristaSemiBold";
  2658. _Control1791443993 ctrlSetTextColor [0,0,0,1];
  2659. _Control1791443993 ctrlSetBackgroundColor [0,0.8525,1,1];
  2660. _Control1791443993 ctrlSetFontHeight 0.05;
  2661. _Control1791443993 ctrlCommit 0;
  2662.  
  2663. _Control1112106767 = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", 2138];
  2664. _Control1112106767 ctrlSetPosition [safeZoneX + safeZoneW * 0.431875, safeZoneY + safeZoneH * 0.05888889, safeZoneW * 0.161875, safeZoneH * 0.50555556];
  2665. _Control1112106767 ctrlSetFont "PuristaMedium";
  2666. _Control1112106767 ctrlSetTextColor [1,1,1,1];
  2667. _Control1112106767 ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  2668. _Control1112106767 ctrlSetFontHeight 0.05;
  2669. _Control1112106767 ctrlCommit 0;
  2670. uiNamespace setVariable ['plejersy',_Control1112106767];
  2671.  
  2672. _list = _superzastapiamtoP10XLRX displayCtrl 2138;
  2673. lbClear _list;
  2674. {
  2675. _side = switch (side _x) do {case west: {"Cop"}; case civilian: {"Civ"}; case independent: {"Medic"}; default {"Unknown"};};
  2676. _list lbAdd format ["%1 - %2",name _x,_side];
  2677. _list lbSetdata [(lbSize _list)-1,getPlayerUID _x];
  2678. } forEach playableUnits;
  2679.  
  2680. disableSerialization;
  2681. _control1381903907 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2682. _control1381903907 ctrlSetText "Morpheus MENU - SCRIPT EXECUTOR";
  2683. _control1381903907 ctrlSetPosition [safeZoneX + safeZoneW * 0.606875, safeZoneY + safeZoneH * 0.01444445, safeZoneW * 0.3425, safeZoneH * 0.03666667];
  2684. _control1381903907 ctrlSetFont "PuristaMedium";
  2685. _control1381903907 ctrlSetTextColor [0,0,0,1];
  2686. _control1381903907 ctrlSetBackgroundColor [0,0.8667,1,1];
  2687. _control1381903907 ctrlSetFontHeight 0.05;
  2688. _control1381903907 ctrlCommit 0;
  2689.  
  2690. uiNamespace setVariable ['Control1381903907',_control1381903907];
  2691.  
  2692.  
  2693. _Control2101262267 = _superzastapiamtoP10XLRX ctrlCreate ["RscEditMulti", -1];
  2694. _Control2101262267 ctrlSetPosition [safeZoneX + safeZoneW * 0.606875, safeZoneY + safeZoneH * 0.05888889, safeZoneW * 0.3425, safeZoneH * 0.45444445];
  2695. _Control2101262267 ctrlSetFont "PuristaMedium";
  2696. _Control2101262267 ctrlSetTextColor [1,1,1,1];
  2697. _Control2101262267 ctrlSetBackgroundColor [0,0,0,0.5059];
  2698. _Control2101262267 ctrlSetFontHeight 0.05;
  2699. _Control2101262267 ctrlCommit 0;
  2700. uiNamespace setVariable ['Control2101262267',_Control2101262267];
  2701.  
  2702. _Control840469639_copy1 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2703. _Control840469639_copy1 ctrlSetText "GLOBAL";
  2704. _Control840469639_copy1 ctrlSetPosition [safeZoneX + safeZoneW * 0.845, safeZoneY + safeZoneH * 0.51888889, safeZoneW * 0.104375, safeZoneH * 0.04333334];
  2705. _Control840469639_copy1 ctrlSetFont "PuristaMedium";
  2706. _Control840469639_copy1 ctrlSetTextColor [1,1,1,1];
  2707. _Control840469639_copy1 ctrlSetBackgroundColor [0,0,0,0.5059];
  2708. _Control840469639_copy1 ctrlSetFontHeight 0.05;
  2709. _Control840469639_copy1 ctrlCommit 0;
  2710. _Control840469639_copy1 ctrlAddEventHandler ['ButtonClick', "[] spawn wykonaj_global;"];
  2711. uiNamespace setVariable ['Control840469639_copy1',_Control840469639_copy1];
  2712.  
  2713. _Control840469639_copy1_copy1 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2714. _Control840469639_copy1_copy1 ctrlSetText "LOCAL";
  2715. _Control840469639_copy1_copy1 ctrlSetPosition [safeZoneX + safeZoneW * 0.7275, safeZoneY + safeZoneH * 0.51888889, safeZoneW * 0.104375, safeZoneH * 0.04333334];
  2716. _Control840469639_copy1_copy1 ctrlSetFont "PuristaMedium";
  2717. _Control840469639_copy1_copy1 ctrlSetTextColor [1,1,1,1];
  2718. _Control840469639_copy1_copy1 ctrlSetBackgroundColor [0,0,0,0.5059];
  2719. _Control840469639_copy1_copy1 ctrlSetFontHeight 0.05;
  2720. _Control840469639_copy1_copy1 ctrlCommit 0;
  2721. _Control840469639_copy1_copy1 ctrlAddEventHandler ['ButtonClick', "[] spawn wykonaj_local;"];
  2722. uiNamespace setVariable ['Control840469639_copy1_copy1',_Control840469639_copy1_copy1];
  2723.  
  2724. _Control840469639_copy1_copy2 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2725. _Control840469639_copy1_copy2 ctrlSetText "PLAYER";
  2726. _Control840469639_copy1_copy2 ctrlSetPosition [safeZoneX + safeZoneW * 0.6075, safeZoneY + safeZoneH * 0.51888889, safeZoneW * 0.104375, safeZoneH * 0.04333334];
  2727. _Control840469639_copy1_copy2 ctrlSetFont "PuristaMedium";
  2728. _Control840469639_copy1_copy2 ctrlSetTextColor [1,1,1,1];
  2729. _Control840469639_copy1_copy2 ctrlSetBackgroundColor [0,0,0,0.5059];
  2730. _Control840469639_copy1_copy2 ctrlSetFontHeight 0.05;
  2731. _Control840469639_copy1_copy2 ctrlCommit 0;
  2732. _Control840469639_copy1_copy2 ctrlAddEventHandler ['ButtonClick', "[] spawn wykonaj_target;"];
  2733. uiNamespace setVariable ['Control840469639_copy1_copy2',_Control840469639_copy1_copy2];
  2734.  
  2735. _Control17914439b1 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2736. _Control17914439b1 ctrlSetText "Morpheus MENU - SPAWNER";
  2737. _Control17914439b1 ctrlSetPosition [safeZoneX + safeZoneW * 0.00625, safeZoneY + safeZoneH * 0.57666667, safeZoneW * 0.413125, safeZoneH * 0.03666667];
  2738. _Control17914439b1 ctrlSetFont "PuristaSemiBold";
  2739. _Control17914439b1 ctrlSetTextColor [0,0,0,1];
  2740. _Control17914439b1 ctrlSetBackgroundColor [0,0.8525,1,1];
  2741. _Control17914439b1 ctrlSetFontHeight 0.05;
  2742. _Control17914439b1 ctrlCommit 0;
  2743. uiNamespace setVariable ['_Control17914439b1',_Control17914439b1];
  2744.  
  2745. _Control11121067ab = _superzastapiamtoP10XLRX ctrlCreate ["RscListBox", 2138];
  2746. _Control11121067ab ctrlSetPosition [safeZoneX + safeZoneW * 0.006875, safeZoneY + safeZoneH * 0.61777778, safeZoneW * 0.4125, safeZoneH * 0.21222223];
  2747. _Control11121067ab ctrlSetFont "PuristaMedium";
  2748. _Control11121067ab ctrlSetTextColor [1,1,1,1];
  2749. _Control11121067ab ctrlSetBackgroundColor [0.302,0.302,0.302,1];
  2750. _Control11121067ab ctrlSetFontHeight 0.05;
  2751. _Control11121067ab ctrlCommit 0;
  2752. uiNamespace setVariable ['_Control11121067ab',_Control11121067ab];
  2753.  
  2754.  
  2755. _Control1381903907 ctrlShow false;
  2756. _Control2101262267 ctrlShow false;
  2757. _Control840469639_copy1 ctrlShow false;
  2758. _Control840469639_copy1_copy1 ctrlShow false;
  2759. _Control840469639_copy1_copy2 ctrlShow false;
  2760. _Control17914439b1 ctrlShow false;
  2761. _Control11121067ab ctrlShow false;
  2762.  
  2763. uiNamespace setVariable ['listmisc',_15507143playerlistbox51];
  2764.  
  2765. listadoodejbania = [];
  2766. _configabozatylkosieniepomyl = configFile >> "cfgWeapons";
  2767. _Control11121067ab ctrlSetEventHandler ["LBDblClick", "[] spawn Pb0X1Lrhsqjd_mor_spawnerfunc"];
  2768.  
  2769.  
  2770. for "_i" from 0 to (count _configabozatylkosieniepomyl)-1 do {
  2771. _bronkaaaaaaaaaaaa55 = _configabozatylkosieniepomyl select _i;
  2772.  
  2773. if (isClass _bronkaaaaaaaaaaaa55) then {
  2774. _nazwaacomyslales = configName _bronkaaaaaaaaaaaa55;
  2775. _grandlifebedziewysadzany157 = toArray _nazwaacomyslales;
  2776. _grandlifebedziewysadzany157 resize 7;
  2777. _grandlifebedziewysadzany157 = toString _grandlifebedziewysadzany157;
  2778.  
  2779. if ((_grandlifebedziewysadzany157 != "ItemKey") and (getNumber (_bronkaaaaaaaaaaaa55 >> "scope") == 2) and ((getText (configFile >> "cfgWeapons" >> _nazwaacomyslales >> "picture")) != "")) then {
  2780. listadoodejbania = listadoodejbania + [_nazwaacomyslales];
  2781. };
  2782. };
  2783. };
  2784.  
  2785. for "_i" from 0 to (count listadoodejbania)-1 do {
  2786. _bronkaaaaaaaaaaaa55 = listadoodejbania select _i;
  2787. _Control11121067ab lbAdd _bronkaaaaaaaaaaaa55;
  2788. _Control11121067ab lbSetPicture [_i, (getText (configFile >> "cfgWeapons" >> _bronkaaaaaaaaaaaa55 >> "picture"))];
  2789. };
  2790.  
  2791. lbSort _Control11121067ab;
  2792.  
  2793. Pb0X1Lrhsqjd_mor_spawnerfunc = {
  2794.  
  2795. ahhhtekurwy = _this select 0;
  2796. _taktakttak34464 = _this select 1;
  2797. _wyb847fj = ahhhtekurwy lbText _taktakttak34464;
  2798.  
  2799.  
  2800. _dijnsu3 = toArray _wyb847fj;
  2801. _dijnsu3 resize 2;
  2802. _dijnsu3 = toString _dijnsu3;
  2803.  
  2804.  
  2805. _chujsu84 = toArray _wyb847fj;
  2806. _chujsu84 resize 3;
  2807. _chujsu84 = toString _chujsu84;
  2808.  
  2809. _jeszczejakjp2gmd = getArray(configFile >> "cfgWeapons" >> _wyb847fj >> "magazines");
  2810. _ammo = _jeszczejakjp2gmd select 0;
  2811.  
  2812.  
  2813. if (_dijnsu3 == "H_") then {
  2814. player addHeadgear _wyb847fj;
  2815. };
  2816. if (_dijnsu3 == "V_") then {
  2817. player addVest _wyb847fj;
  2818. };
  2819. if (_dijnsu3 == "U_") then {
  2820. player forceAddUniform _wyb847fj;
  2821. };
  2822. if (_dijnsu3 != "H_" && _dijnsu3 != "V_" && _dijnsu3 != "U_") then {
  2823. player addWeapon _wyb847fj;
  2824. player addMagazines [_ammo, 12];
  2825. };
  2826. if (_dijnsu3 == "op" || _dijnsu3 == "ac" || _chujsu84 == "bip" || _chujsu84 == "muz") then {
  2827. player addPrimaryWeaponItem _wyb847fj;
  2828. };
  2829.  
  2830. };
  2831.  
  2832. _listamisc = uiNamespace getVariable 'listmisc';
  2833. lbClear _listamisc;
  2834.  
  2835. {
  2836. _listamisc lbAdd format["%1",_x select 0];
  2837. _listamisc lbSetdata [(lbSize _listamisc)-1,_x select 1];
  2838. } forEach Pb0X1Lrhsqjd_fn_misc;
  2839.  
  2840. _listamisc ctrlSetEventHandler ["LBDblClick", "[] spawn wykonajlisaserver"];
  2841.  
  2842. wykonajlisaserver = {
  2843. _coszefie = uiNamespace getVariable 'listmisc';
  2844. _text = _coszefie lbdata (lbCurSel _coszefie);
  2845. _code = compile _text;
  2846. [] spawn _code;
  2847. };
  2848.  
  2849. _superzastapiamtoP10XLRX = compileFinal "";
  2850. };
  2851.  
  2852. pokaexeca_Pb0X1Lrhsqjd_mor_0x1PrL = {
  2853. if (isnil "Pb0X1Lrhsqjd_mor_exec_toogle") then {Pb0X1Lrhsqjd_mor_exec_toogle = false;};
  2854. if (Pb0X1Lrhsqjd_mor_exec_toogle) then {
  2855. _Control1381903907 = uiNamespace getVariable 'Control1381903907';
  2856. _Control1381903907 ctrlShow false;
  2857. _Control2101262267 = uiNamespace getVariable 'Control2101262267';
  2858. _Control2101262267 ctrlShow false;
  2859. _Control840469639_copy1 = uiNamespace getVariable 'Control840469639_copy1';
  2860. _Control840469639_copy1 ctrlShow false;
  2861. _Control840469639_copy1_copy1 = uiNamespace getVariable 'Control840469639_copy1_copy1';
  2862. _Control840469639_copy1_copy1 ctrlShow false;
  2863. _Control840469639_copy1_copy2 = uiNamespace getVariable 'Control840469639_copy1_copy2';
  2864. _Control840469639_copy1_copy2 ctrlShow false;
  2865. Pb0X1Lrhsqjd_mor_exec_toogle = false;
  2866. } else {
  2867. _Control1381903907 = uiNamespace getVariable 'Control1381903907';
  2868. _Control1381903907 ctrlShow true;
  2869. _Control2101262267 = uiNamespace getVariable 'Control2101262267';
  2870. _Control2101262267 ctrlShow true;
  2871. _Control840469639_copy1 = uiNamespace getVariable 'Control840469639_copy1';
  2872. _Control840469639_copy1 ctrlShow true;
  2873. _Control840469639_copy1_copy1 = uiNamespace getVariable 'Control840469639_copy1_copy1';
  2874. _Control840469639_copy1_copy1 ctrlShow true;
  2875. _Control840469639_copy1_copy2 = uiNamespace getVariable 'Control840469639_copy1_copy2';
  2876. _Control840469639_copy1_copy2 ctrlShow true;
  2877. Pb0X1Lrhsqjd_mor_exec_toogle = true;
  2878. };
  2879. };
  2880.  
  2881. pokaslidera_Pb0X1Lrhsqjd_mor_0x1PrL = {
  2882. if (isnil "Pb0X1Lrhsqjd_mor_slider_toogle") then {Pb0X1Lrhsqjd_mor_slider_toogle = false;};
  2883. if (Pb0X1Lrhsqjd_mor_slider_toogle) then {
  2884. _Control1216995116 = uiNamespace getVariable 'jedynyslidermordo';
  2885. _Control1216995116 ctrlShow false;
  2886. Pb0X1Lrhsqjd_mor_slider_toogle = false;
  2887. } else {
  2888. _Control1216995116 = uiNamespace getVariable 'jedynyslidermordo';
  2889. _Control1216995116 ctrlShow true;
  2890. Pb0X1Lrhsqjd_mor_slider_toogle = true;
  2891. };
  2892. };
  2893.  
  2894. pokaspawner_Pb0X1Lrhsqjd_mor_0x1PrL = {
  2895. if (isnil "Pb0X1Lrhsqjd_mor_spawner_toogle") then {Pb0X1Lrhsqjd_mor_spawner_toogle = false;};
  2896. if (Pb0X1Lrhsqjd_mor_spawner_toogle) then {
  2897. _Control17914439b1 = uiNamespace getVariable '_Control17914439b1';
  2898. _Control11121067ab = uiNamespace getVariable '_Control11121067ab';
  2899. _Control17914439b1 ctrlShow false;
  2900. _Control11121067ab ctrlShow false;
  2901. Pb0X1Lrhsqjd_mor_spawner_toogle = false;
  2902. } else {
  2903. _Control17914439b1 = uiNamespace getVariable '_Control17914439b1';
  2904. _Control11121067ab = uiNamespace getVariable '_Control11121067ab';
  2905. _Control17914439b1 ctrlShow true;
  2906. _Control11121067ab ctrlShow true;
  2907. _Control11121067ab ctrlSetEventHandler ["LbDBlClick","call Pb0X1Lrhsqjd_mor_spawnerfunc;"];
  2908. Pb0X1Lrhsqjd_mor_spawner_toogle = true;
  2909. };
  2910. };
  2911.  
  2912. Pb0X1Lrhsqjd_mor_dawajammo = {
  2913. _jdmfweqf = currentWeapon player;
  2914. _pdkfwj = getArray(configFile >> 'CfgWeapons' >> _jdmfweqf >> 'magazines');
  2915. _tpsnl = _pdkfwj select 0;
  2916. player addMagazine _tpsnl;
  2917. player addMagazine _tpsnl;
  2918. player addMagazine _tpsnl;
  2919. player addMagazine _tpsnl;
  2920. player addMagazine _tpsnl;
  2921. };
  2922.  
  2923. pokakase_Pb0X1Lrhsqjd_mor_0x1PrL = {
  2924. _superzastapiamtoP10XLRX = findDisplay 46 createDisplay "RscDisplayEmpty";
  2925.  
  2926. _Control1617946459 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2927. _Control1617946459 ctrlSetText "SELECT AN AMOUNT";
  2928. _Control1617946459 ctrlSetPosition [safeZoneX + safeZoneW * 0.436875, safeZoneY + safeZoneH * 0.37444445, safeZoneW * 0.1575, safeZoneH * 0.03222223];
  2929. _Control1617946459 ctrlSetFont "PuristaMedium";
  2930. _Control1617946459 ctrlSetTextColor [0,0,0,1];
  2931. _Control1617946459 ctrlSetBackgroundColor [0,0.8667,1,1];
  2932. _Control1617946459 ctrlSetFontHeight 0.04;
  2933. _Control1617946459 ctrlCommit 0;
  2934.  
  2935. _Control102535724 = _superzastapiamtoP10XLRX ctrlCreate ["RscText", -1];
  2936. _Control102535724 ctrlSetPosition [safeZoneX + safeZoneW * 0.436875, safeZoneY + safeZoneH * 0.40666667, safeZoneW * 0.158125, safeZoneH * 0.10666667];
  2937. _Control102535724 ctrlSetFont "PuristaMedium";
  2938. _Control102535724 ctrlSetTextColor [0.8078,0.5647,0.1451,1];
  2939. _Control102535724 ctrlSetBackgroundColor [0,0,0,0.5059];
  2940. _Control102535724 ctrlSetFontHeight 0.05;
  2941. _Control102535724 ctrlCommit 0;
  2942.  
  2943. _Control2114841567 = _superzastapiamtoP10XLRX ctrlCreate ["RscButton", -1];
  2944. _Control2114841567 ctrlSetText "EXEC";
  2945. _Control2114841567 ctrlSetPosition [safeZoneX + safeZoneW * 0.4375, safeZoneY + safeZoneH * 0.47666667, safeZoneW * 0.156875, safeZoneH * 0.03555556];
  2946. _Control2114841567 ctrlSetFont "PuristaMedium";
  2947. _Control2114841567 ctrlSetTextColor [1,1,1,1];
  2948. _Control2114841567 ctrlSetBackgroundColor [0.8,0.6,0.2,0];
  2949. _Control2114841567 ctrlSetFontHeight 0.05;
  2950. _Control2114841567 ctrlCommit 0;
  2951. _Control2114841567 buttonSetAction "[] spawn sprawdzserwer_kasa_0x1lpo9xyz;";
  2952.  
  2953. _Control1305809245 = _superzastapiamtoP10XLRX ctrlCreate ["RscEdit", -1];
  2954. _Control1305809245 ctrlSetPosition [safeZoneX + safeZoneW * 0.4375, safeZoneY + safeZoneH * 0.40777778, safeZoneW * 0.1575, safeZoneH * 0.06333334];
  2955. _Control1305809245 ctrlSetFont "PuristaMedium";
  2956. _Control1305809245 ctrlSetTextColor [1,1,1,1];
  2957. _Control1305809245 ctrlSetBackgroundColor [0,0,0,0.2588];
  2958. _Control1305809245 ctrlSetFontHeight 0.05;
  2959. _Control1305809245 ctrlCommit 0;
  2960. uiNamespace setVariable ['_Control1305809245',_Control1305809245];
  2961. };
  2962.  
  2963. REeeeee = {
  2964. _91 = (typeOf player) createVehicle[0, 0, 0];
  2965. _91 addMPEventHandler["MPKilled", _this select 0];
  2966. _91 setDamage 1;
  2967. };
  2968.  
  2969. wykonaj_local = {
  2970. _skrypta = uiNamespace getVariable 'Control2101262267';
  2971. _value = ctrlText _skrypta;
  2972. if (_value == "") exitWith {
  2973. hint parseText "<t color='#FF0000'>Script can't be empty</t>";
  2974. };
  2975. _command = compile _value;
  2976. [] spawn _command;
  2977. };
  2978.  
  2979. wykonaj_global = {
  2980. _skrypta = uiNamespace getVariable 'Control2101262267';
  2981. _nice = ctrlText _skrypta;
  2982. if (_nice == "") exitWith {
  2983. hint parseText "<t color='#FF0000'>Script can't be empty</t>";
  2984. };
  2985. [_nice] call REeeeee;
  2986. };
  2987.  
  2988.  
  2989. wykonaj_target = {
  2990. _skrypta = uiNamespace getVariable 'Control2101262267';
  2991. _nice = ctrlText _skrypta;
  2992. _plejersy = uiNamespace getVariable 'plejersy';
  2993. _typ = _plejersy lbdata (lbCurSel _plejersy);
  2994. if (_nice == "") exitWith {
  2995. hint parseText "<t color='#FF0000'>Script can't be empty</t>";
  2996. };
  2997. _nice = format['if ((getPlayerUID player) == "%1") exitWith {%2}',_typ,_nice];
  2998. [_nice] call REeeeee;
  2999. };
  3000.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement