Guest User

Scroll

a guest
Dec 20th, 2014
448
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.32 KB | None | 0 0
  1. _randvar3 = compileFinal "";
  2. _AH_MAIN_BLOCK = compileFinal "";
  3. _RunOnClients = compileFinal "";
  4. _AHrunCheck = compileFinal "";
  5. _AH_AnnounceAdmin = compileFinal "";
  6. _AHKickOFF = compileFinal "";
  7. _AH_RunCheck = compileFinal "";
  8. _AH_RunCheck2 = compileFinal "";
  9. _FiredCheck = compileFinal "";
  10. _TMPBAN = compileFinal "";
  11. _randvar29 = compileFinal "";
  12. _randvar30 = compileFinal "";
  13. _massMessage = compileFinal "";
  14. _AHpos = compileFinal "";
  15. _adjust = compileFinal "";
  16. _fnc_RandomGen = compileFinal "";
  17. _badVariables = compileFinal "";
  18. _validMenus = compileFinal "";
  19. _puid = compileFinal "";
  20. _name = compileFinal "";
  21. _commandingMenu = compileFinal "";
  22. _admins = compileFinal "";
  23. _mPos = compileFinal "";
  24. _oVeh = compileFinal "";
  25. _BM = compileFinal "";
  26. _BW = compileFinal "";
  27.  
  28. [] spawn {
  29. hint parseText format["
  30. <t font='puristaMedium' color='#2E9AFE' size='2'>Biggie's Menu</t><br/>
  31. <t font='puristaMedium' color='#2E9AFE' size='1.5'>Keybinds</t>
  32. <t font='puristaMedium' color='#2E9AFE'>Numpad 0 - Reopen Menu</t>
  33. <t font='puristaMedium' color='#2E9AFE'>Numpad 1 - Script Executor</t><br/>
  34. <t font='puristaMedium' color='#2E9AFE' size='1.5'>Updates</t>
  35. <t font='puristaMedium' color='#2E9AFE'>* Added new hint when loaded</t>
  36. <t font='puristaMedium' color='#2E9AFE'>* Added player list to execute scripts on players</t>
  37. <t font='puristaMedium' color='#2E9AFE'>* Added scripts to give all players cash</t>
  38. <t font='puristaMedium' color='#2E9AFE'>* Added new options in spawn menu</t>
  39. <t font='puristaMedium' color='#2E9AFE'>* Added troll menu</t>
  40. <t font='puristaMedium' color='#2E9AFE'>* Added server menu</t>
  41. <t font='puristaMedium' color='#2E9AFE'>* Added developer menu</t>
  42. <t font='puristaMedium' color='#2E9AFE'>* Added script executor (f1 or in menu)</t>
  43. <t font='puristaMedium' color='#2E9AFE'>* Fixed public variable restrictions</t>
  44. <t font='puristaMedium' color='#2E9AFE'>* Fixed script restriction issues</t>
  45. <t font='puristaMedium' color='#2E9AFE'>* Changed menu styles</t>
  46. <t font='puristaMedium' color='#2E9AFE'>* Removed useless scripts</t><br/>
  47. <t font='puristaMedium' color='#2E9AFE'>http://www.dxbridge.com</t>
  48. ", "name player"];
  49. sleep 0.1;
  50. []spawn biggies_menu_open;
  51.  
  52. (findDisplay 46) displayAddEventHandler['KeyDown', 'if ((_this select 1) == 0x52) then {
  53. [] spawn biggies_menu_open;
  54. true
  55. }'];
  56.  
  57. (findDisplay 46) displayAddEventHandler['KeyDown', 'if ((_this select 1) == 0x4F) then {
  58. [] spawn biggies_command_scriptexec;
  59. true
  60. }'];
  61. };
  62.  
  63. biggies_menu_close = {
  64. removeAllActions player;
  65. };
  66.  
  67. biggies_pro_re = {
  68. biggies_gucci_prada = 'O_Soldier_F'createUnit[[0,0,0],(createGroup east),(_this select 0),0.5,"CORPORAL"];
  69. };
  70.  
  71. biggies_menu_open = {
  72. removeAllActions player;
  73. player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
  74. player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
  75. player addAction ["<t color='#00FF00'>+ Main Menu +", {[]spawn biggies_menu_main}];
  76. player addAction ["<t color='#00FF00'>+ Player Menu +</t>", {[]spawn biggies_menu_player}];
  77. player addAction ["<t color='#00FF00'>+ Target Menu +</t>", {[]spawn biggies_menu_target}];
  78. player addAction ["<t color='#00FF00'>+ Spawn Menu +</t>", {[]spawn biggies_menu_spawn}];
  79. player addAction ["<t color='#00FF00'>+ Troll Menu +</t>", {[]spawn biggies_menu_troll}];
  80. player addAction ["<t color='#00FF00'>+ Server Menu +</t>", {[]spawn biggies_menu_server}];
  81. player addAction ["<t color='#00FF00'>+ Developer Menu +</t>", {[]spawn biggies_menu_developer}];
  82. player addAction ["<t color='#00FF00'>Refresh</t>", {execVM "malloc_1e52.sqf"}];
  83. player addAction ["<t color='#FF6600'>Close</t>", {[]spawn biggies_menu_close}];
  84. };
  85.  
  86. biggies_menu_main = {
  87. removeAllActions player;
  88. player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
  89. player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
  90. player addAction ["<t color='#E43Ef3'>Teleport</t>", {[]spawn biggies_command_ptp}];
  91. if(isNil "biggies_command_pesp_tog") then {
  92. player addAction ["<t color='#FF0000'>Player ESP - Off</t>", {[]spawn biggies_command_pesp}];
  93. } else {
  94. if!(biggies_command_pesp_tog) then {
  95. player addAction ["<t color='#FF0000'>Player ESP - Off</t>", {[]spawn biggies_command_pesp}];
  96. } else {
  97. player addAction ["<t color='#00FF00'>Player ESP - On</t>", {[]spawn biggies_command_pesp}];
  98. };
  99. };
  100. if(isNil "biggies_command_vgod_tog") then {
  101. player addAction ["<t color='#FF0000'>Vehicle God Mode - Off</t>", {[]spawn biggies_command_vgod}];
  102. } else {
  103. if!(biggies_command_vgod_tog) then {
  104. player addAction ["<t color='#FF0000'>Vehicle God Mode - Off</t>", {[]spawn biggies_command_vgod}];
  105. } else {
  106. player addAction ["<t color='#00FF00'>Vehicle God Mode - On</t>", {[]spawn biggies_command_vgod}];
  107. };
  108. };
  109. if(isNil "biggies_command_pgod_tog") then {
  110. player addAction ["<t color='#FF0000'>Player God Mode - Off</t>", {[]spawn biggies_command_pgod}];
  111. } else {
  112. if!(biggies_command_pgod_tog) then {
  113. player addAction ["<t color='#FF0000'>Player God Mode - Off</t>", {[]spawn biggies_command_pgod}];
  114. } else {
  115. player addAction ["<t color='#00FF00'>Player God Mode - On</t>", {[]spawn biggies_command_pgod}];
  116. };
  117. };
  118. if(isNil "biggies_command_unlim_tog") then {
  119. player addAction ["<t color='#FF0000'>Unlimited Ammo - Off</t>", {[]spawn biggies_command_unlim}];
  120. } else {
  121. if!(biggies_command_unlim_tog) then {
  122. player addAction ["<t color='#FF0000'>Unlimited Ammo - Off</t>", {[]spawn biggies_command_unlim}];
  123. } else {
  124. player addAction ["<t color='#00FF00'>Unlimited Ammo - On</t>", {[]spawn biggies_command_unlim}];
  125. };
  126. };
  127. player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_open}];
  128. };
  129.  
  130. biggies_menu_player = {
  131. removeAllActions player;
  132. player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
  133. player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
  134. player addAction ["<t color='#00FF00'>+ License Menu +</t>", {[]spawn biggies_menu_license}];
  135. player addAction ["<t color='#2E9AFE'>Cash 100k</t>", {[]spawn biggies_command_altiscash100k}];
  136. player addAction ["<t color='#2E9AFE'>Cash 1m</t>", {[]spawn biggies_command_altiscash1m}];
  137. player addAction ["<t color='#2E9AFE'>Unrestrain Self</t>", {[]spawn biggies_command_unrestrain}];
  138. player addAction ["<t color='#2E9AFE'>Stop Escort Self</t>", {[]spawn biggies_command_stopescort}];
  139. player addAction ["<t color='#2E9AFE'>Escape Jail</t>", {[]spawn biggies_command_escapejail}];
  140. player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_open}];
  141. };
  142.  
  143. biggies_menu_target = {
  144. removeAllActions player;
  145. player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
  146. player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
  147. player addAction ["<t color='#00FF00'>+ Select Player +</t>", {[]spawn biggies_menu_playerlist}];
  148. player addAction ["<t color='#2E9AFE'>Kill</t>", {[]spawn biggies_command_kill_target}];
  149. player addAction ["<t color='#2E9AFE'>[CURSOR] Revive</t>", {[]spawn biggies_command_revive_target}];
  150. player addAction ["<t color='#2E9AFE'>[CURSOR] Unrestrain</t>", {[]spawn biggies_command_unrestrain_target}];
  151. player addAction ["<t color='#2E9AFE'>[CURSOR] Restrain</t>", {[]spawn biggies_command_restrain_target}];
  152. player addAction ["<t color='#2E9AFE'>[CURSOR] Escort</t>", {[]spawn biggies_command_escort_target}];
  153. player addAction ["<t color='#2E9AFE'>[CURSOR] Stop Escort</t>", {[]spawn biggies_command_stopescort_target}];
  154. player addAction ["<t color='#2E9AFE'>[CURSOR] Get Keys</t>", {[]spawn biggies_command_getkeys_target}];
  155. player addAction ["<t color='#2E9AFE'>[CURSOR] Impound</t>", {[]spawn biggies_command_impound_target}];
  156. player addAction ["<t color='#2E9AFE'>[CURSOR] Jail</t>", {[]spawn biggies_command_jail_target}];
  157. player addAction ["<t color='#2E9AFE'>[CURSOR] Delete</t>", {[]spawn biggies_command_delete_target}];
  158. player addAction ["<t color='#2E9AFE'>[CURSOR] Drive</t>", {[]spawn biggies_command_drive_target}];
  159. player addAction ["<t color='#2E9AFE'>[CURSOR] Exit Veh</t>", {[]spawn biggies_command_leavevehicle}];
  160. player addAction ["<t color='#2E9AFE'>[CURSOR] Delete Clothes</t>", {[]spawn biggies_command_deleteclothes_target}];
  161. player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_open}];
  162. };
  163.  
  164. biggies_menu_spawn = {
  165. removeAllActions player;
  166. player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
  167. player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
  168. player addAction ["<t color='#00FF00'>+ Weapons Menu +</t>", {[]spawn biggies_menu_weapon}];
  169. player addAction ["<t color='#00FF00'>+ Gear Menu +</t>", {[]spawn biggies_menu_gear}];
  170. player addAction ["<t color='#00FF00'>+ Land Vehicle Menu +</t>", {[]spawn biggies_menu_landvehicle}];
  171. player addAction ["<t color='#00FF00'>+ Air Vehicle Menu +</t>", {[]spawn biggies_menu_airvehicle}];
  172. player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_open}];
  173. };
  174.  
  175. biggies_menu_troll = {
  176. removeAllActions player;
  177. player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
  178. player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
  179. player addAction ["<t color='#2E9AFE'>Set All VR Entities</t>", {[]spawn biggies_command_vrplayer}];
  180. player addAction ["<t color='#2E9AFE'>Self VR Entities</t>", {[]spawn biggies_command_vrself}];
  181. player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_open}];
  182. };
  183.  
  184. biggies_menu_server = {
  185. removeAllActions player;
  186. player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
  187. player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
  188. player addAction ["<t color='#2E9AFE'>Give All 100k</t>", {[]spawn biggies_command_give100kall}];
  189. player addAction ["<t color='#2E9AFE'>Give All 1m</t>", {[]spawn biggies_command_give1mall}];
  190. player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
  191. player addAction ["<t color='#2E9AFE'>Cash 100k - GSN Altis</t>", {[]spawn biggies_command_gsnaltis100k}];
  192. player addAction ["<t color='#2E9AFE'>Cash 1m - GSN Altis</t>", {[]spawn biggies_command_gsnaltis1m}];
  193. player addAction ["<t color='#2E9AFE'>Give All 100k - GSN Altis</t>", {[]spawn biggies_command_give100kallgsn}];
  194. player addAction ["<t color='#2E9AFE'>Give All 1m - GSN Altis</t>", {[]spawn biggies_command_give1mallgsn}];
  195. player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
  196. player addAction ["<t color='#2E9AFE'>Cash 100k - GTAltis</t>", {[]spawn biggies_command_gtaaltis100k}];
  197. player addAction ["<t color='#2E9AFE'>Cash 1m - GTAltis</t>", {[]spawn biggies_command_gtaaltis1m}];
  198. player addAction ["<t color='#2E9AFE'>Give All 100k - GTAltis</t>", {[]spawn biggies_command_give100kallgta}];
  199. player addAction ["<t color='#2E9AFE'>Give All 1m - GTAltis</t>", {[]spawn biggies_command_give1mallgta}];
  200. player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
  201. player addAction ["<t color='#2E9AFE'>Cash 100k - POA</t>", {[]spawn biggies_command_poaaltis100k}];
  202. player addAction ["<t color='#2E9AFE'>Cash 1m - POA</t>", {[]spawn biggies_command_poaaltis1m}];
  203. player addAction ["<t color='#2E9AFE'>Give All 100k - POA</t>", {[]spawn biggies_command_give100kallpoa}];
  204. player addAction ["<t color='#2E9AFE'>Give All 1m - POA</t>", {[]spawn biggies_command_give1mallpoa}];
  205. player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_open}];
  206. };
  207.  
  208. biggies_menu_developer = {
  209. removeAllActions player;
  210. player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
  211. player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
  212. player addAction ["<t color='#2E9AFE'>Script Executor</t>", {[]spawn biggies_command_scriptexec}];
  213. player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_open}];
  214. };
  215.  
  216. biggies_menu_playerlist = {
  217. removeAllActions player;
  218. player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
  219. player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
  220. player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_target}];
  221. _AllUnits = playableUnits;
  222. _CountAllUnits = count _AllUnits;
  223. _Selected = 0;
  224. biggies_command_selectplayer = {
  225. {if ((isPlayer _x) && (alive _x)) then {
  226. player addAction [format["<t color='#F02EE9'>%1</t>", name _x], {
  227. _player = (_this select 3);
  228. selectedPlayer = _player;
  229. hint format ["Selected player: %1", name selectedPlayer];
  230. }, _x]
  231. };} forEach (playableUnits);
  232. };
  233. [] call biggies_command_selectplayer;
  234. };
  235.  
  236. biggies_menu_license = {
  237. removeAllActions player;
  238. player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
  239. player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
  240. player addAction[format["<t color='#2E9AFE'>%1 ($%2)</t>",["license_civ_driver"] call life_fnc_varToStr,[(["driver"] call life_fnc_licensePrice)] call life_fnc_numberText],life_fnc_buyLicense,"driver",0,false,false,"",' !license_civ_driver && playerSide == civilian '];
  241. player addAction[format["<t color='#2E9AFE'>%1 ($%2)</t>",["license_civ_boat"] call life_fnc_varToStr,[(["boat"] call life_fnc_licensePrice)] call life_fnc_numberText],life_fnc_buyLicense,"boat",0,false,false,"",' !license_civ_boat && playerSide == civilian '];
  242. player addAction[format["<t color='#2E9AFE'>%1 ($%2)</t>",["license_civ_air"] call life_fnc_varToStr,[(["pilot"] call life_fnc_licensePrice)] call life_fnc_numberText],life_fnc_buyLicense,"pilot",0,false,false,"",' !license_civ_air && playerSide == civilian '];
  243. player addAction[format["<t color='#2E9AFE'>%1 ($%2)</t>",["license_civ_truck"] call life_fnc_varToStr,[(["truck"] call life_fnc_licensePrice)] call life_fnc_numberText],life_fnc_buyLicense,"truck",0,false,false,"",' !license_civ_truck && playerSide == civilian '];
  244. player addAction[format["<t color='#2E9AFE'>%1 ($%2)</t>",["license_civ_gun"] call life_fnc_varToStr,[(["gun"] call life_fnc_licensePrice)] call life_fnc_numberText],life_fnc_buyLicense,"gun",0,false,false,"",' !license_civ_gun && playerSide == civilian '];
  245. player addAction[format["<t color='#2E9AFE'>%1 ($%2)</t>",["license_civ_salt"] call life_fnc_varToStr,[(["salt"] call life_fnc_licensePrice)] call life_fnc_numberText],life_fnc_buyLicense,"salt",0,false,false,"",' !license_civ_salt && playerSide == civilian '];
  246. player addAction[format["<t color='#2E9AFE'>%1 ($%2)</t>",["license_civ_marijuana"] call life_fnc_varToStr,[(["marijuana"] call life_fnc_licensePrice)] call life_fnc_numberText],life_fnc_buyLicense,"marijuana",0,false,false,"",' !license_civ_marijuana && playerSide == civilian '];
  247. player addAction[format["<t color='#2E9AFE'>%1 ($%2)</t>",["license_civ_diamond"] call life_fnc_varToStr,[(["diamond"] call life_fnc_licensePrice)] call life_fnc_numberText],life_fnc_buyLicense,"diamond",0,false,false,"",' !license_civ_diamond && playerSide == civilian '];
  248. player addAction[format["<t color='#2E9AFE'>%1 ($%2)</t>",["license_civ_iron"] call life_fnc_varToStr,[(["iron"] call life_fnc_licensePrice)] call life_fnc_numberText],life_fnc_buyLicense,"iron",0,false,false,"",' !license_civ_iron && playerSide == civilian '];
  249. player addAction[format["<t color='#2E9AFE'>%1 ($%2)</t>",["license_civ_copper"] call life_fnc_varToStr,[(["copper"] call life_fnc_licensePrice)] call life_fnc_numberText],life_fnc_buyLicense,"copper",0,false,false,"",' !license_civ_copper && playerSide == civilian '];
  250. player addAction[format["<t color='#2E9AFE'>%1 ($%2)</t>",["license_civ_dive"] call life_fnc_varToStr,[(["dive"] call life_fnc_licensePrice)] call life_fnc_numberText],life_fnc_buyLicense,"dive",0,false,false,"",' !license_civ_dive && playerSide == civilian '];
  251. player addAction[format["<t color='#2E9AFE'>%1 ($%2)</t>",["license_civ_coke"] call life_fnc_varToStr,[(["cocaine"] call life_fnc_licensePrice)] call life_fnc_numberText],life_fnc_buyLicense,"cocaine",0,false,false,"",' !license_civ_coke && playerSide == civilian '];
  252. player addAction[format["<t color='#2E9AFE'>%1 ($%2)</t>",["license_civ_cement"] call life_fnc_varToStr,[(["cement"] call life_fnc_licensePrice)] call life_fnc_numberText],life_fnc_buyLicense,"cement",0,false,false,"",' !license_civ_cement && playerSide == civilian '];
  253. player addAction[format["<t color='#2E9AFE'>%1 ($%2)</t>",["license_civ_heroin"] call life_fnc_varToStr,[(["heroin"] call life_fnc_licensePrice)] call life_fnc_numberText],life_fnc_buyLicense,"heroin",0,false,false,"",' !license_civ_heroin && playerSide == civilian '];
  254. player addAction[format["<t color='#2E9AFE'>%1 ($%2)</t>",["license_civ_rebel"] call life_fnc_varToStr,[(["rebel"] call life_fnc_licensePrice)] call life_fnc_numberText],life_fnc_buyLicense,"rebel",0,false,false,"",' !license_civ_rebel && playerSide == civilian '];
  255. player addAction[format["<t color='#2E9AFE'>%1 ($%2)</t>",["license_civ_sand"] call life_fnc_varToStr,[(["sand"] call life_fnc_licensePrice)] call life_fnc_numberText],life_fnc_buyLicense,"sand",0,false,false,"",' !license_civ_sand && playerSide == civilian '];
  256. player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_player}];
  257. };
  258.  
  259. //----------------------------------------------------------------------------------------------------------------------------//
  260. // //
  261. // //
  262. // From this point on it is all command scripts and shit... so yeah, don't touch shit up there! //
  263. // //
  264. // //
  265. //----------------------------------------------------------------------------------------------------------------------------//
  266.  
  267. biggies_command_ptp = {
  268. closeDialog 0;
  269. if !("ItemMap" in items player) then {
  270. _biggies_mano_le_tough = player;
  271. (unitBackpack _biggies_mano_le_tough) additemCargo["ItemMap", 1];
  272. };
  273. openMap[true, false];
  274. hint parseText "<t color='#FFFFFF' font='puristaMedium' size='1' align='center'>Click Map</t>";
  275. onMapSingleClick 'player setpos _pos;openMap[false,false];onMapSingleClick "";false';
  276. };
  277.  
  278. biggies_command_scriptexec = {
  279. [] spawn {
  280. sleep 0.1;
  281. closedialog 0;
  282. sleep 0.1;
  283. createdialog 'RscDisplayInsertMarker';
  284. sleep 0.1;
  285. disableSerialization;
  286.  
  287. _ctrl = (findDisplay 54) displayCtrl 101;
  288. _ctrl ctrlSetFont "PuristaBold";
  289. _ctrl ctrlSetTextColor[1,1,1,1];
  290. _ctrl ctrlCommit 0;
  291.  
  292. _ctrl = (findDisplay 54) displayCtrl 1;
  293. _ctrl ctrlSetFont "PuristaBold";
  294. _ctrl ctrlSetTextColor[1,1,1,1];
  295. _ctrl ctrlSetText "Execute";
  296. _ctrl buttonSetAction "_scriptexec_code = (ctrlText 101);[] spawn compile _scriptexec_code;";
  297. _ctrl ctrlCommit 0;
  298.  
  299. _ctrl = (findDisplay 54) displayCtrl 2;
  300. _ctrl ctrlSetFont "PuristaBold";
  301. _ctrl ctrlSetText "CLEAR";
  302. _ctrl ctrlSetTextColor [1,1,1,1];
  303. _ctrl buttonSetAction "ctrlsetText[101,''''];";
  304. _ctrl ctrlCommit 0;
  305.  
  306. _ctrl = (findDisplay 54) displayCtrl 1001;
  307. _ctrl ctrlSetFont "PuristaBold";
  308. _ctrl ctrlSetText "Script Executor";
  309. _ctrl ctrlSetTextColor [0,0,0,1];
  310. _ctrl ctrlSetBackgroundColor [0,0.7,1,1];
  311. _ctrl buttonSetAction "ctrlsetText[101,''''];";
  312. _ctrl ctrlCommit 0;
  313.  
  314. _ctrl = (findDisplay 54) displayCtrl 1100;
  315. _ctrl ctrlSetFont "PuristaBold";
  316. _ctrl ctrlSettext "Code:";
  317. _ctrl ctrlSetTextColor [1,1,1,1];
  318. _ctrl ctrlCommit 0;
  319.  
  320. _ctrl = (findDisplay 54) displayCtrl 2400;
  321. _ctrl ctrlSetFont "PuristaBold";
  322. _ctrl ctrlSettext "Help";
  323. _ctrl ctrlSetTextColor [1,1,1,1];
  324. _ctrl ctrlCommit 0;
  325.  
  326. _ctrl = (findDisplay 54) displayCtrl 1101;
  327. _ctrl ctrlSetFont "PuristaBold";
  328. _ctrl ctrlSettext 'Example Commands:\n hint "I like cock.";\n execVM "init.sqf";\n execVM "scripts\init.sqf";\n life_cash=life_cash+5000;\n player setDamage 1;';
  329. _ctrl ctrlSetTextColor [1,1,1,1];
  330. _ctrl ctrlCommit 0;
  331.  
  332. _ctrl = (findDisplay 54) displayCtrl 1081;
  333. _ctrl ctrlSetBackgroundColor [0,0,0,0.5];
  334. _ctrl ctrlCommit 0;
  335. };
  336. };
  337.  
  338. biggies_command_give100kallgsn = {
  339. _biggies_give100kallgsn = format['gsn_lifeatm_cash = gsn_lifeatm_cash + 100000;'];
  340. [_biggies_give100kallgsn] call biggies_pro_re;
  341. };
  342.  
  343. biggies_command_give1mallgsn = {
  344. _biggies_give1mallgsn = format['gsn_lifeatm_cash = gsn_lifeatm_cash + 1000000;'];
  345. [_biggies_give1mallgsn] call biggies_pro_re;
  346. };
  347.  
  348. biggies_command_gsnaltis100k = {
  349. gsn_lifeatm_cash = gsn_lifeatm_cash + 100000;
  350. };
  351.  
  352. biggies_command_gsnaltis1m = {
  353. gsn_lifeatm_cash = gsn_lifeatm_cash + 1000000;
  354. };
  355.  
  356. biggies_command_gtaaltis100k = {
  357. life_gta_cash = life_gta_cash + 100000;
  358. };
  359.  
  360. biggies_command_gtaaltis1mall = {
  361. life_gta_cash = life_gta_cash + 1000000;
  362. };
  363.  
  364. biggies_command_give100kallgta = {
  365. _biggies_give100kallgta = format['life_gta_cash = life_gta_cash + 100000;'];
  366. [_biggies_give100kallgta] call biggies_pro_re;
  367. };
  368.  
  369. biggies_command_give1mallgta = {
  370. _biggies_give1mallgta = format['life_gta_cash = life_gta_cash + 1000000;'];
  371. [_biggies_give1mallgta] call biggies_pro_re;
  372. };
  373.  
  374. biggies_command_give100kall = {
  375. _biggies_give100kall = format['life_cash = life_cash + 100000;'];
  376. [_biggies_give100kall] call biggies_pro_re;
  377. };
  378.  
  379. biggies_command_give1mall = {
  380. _biggies_give1mall = format['life_cash = life_cash + 1000000;'];
  381. [_biggies_give1mall] call biggies_pro_re;
  382. };
  383.  
  384. biggies_command_poaaltis100k = {
  385. life_atmcash_pirates = life_atmcash_pirates + 100000;
  386. };
  387.  
  388. biggies_command_poaaltis1mall = {
  389. life_atmcash_pirates = life_atmcash_pirates + 1000000;
  390. };
  391.  
  392. biggies_command_give100kallpoa = {
  393. _biggies_give100kallpoa = format['life_atmcash_pirates = life_atmcash_pirates + 100000;'];
  394. [_biggies_give100kallpoa] call biggies_pro_re;
  395. };
  396.  
  397. biggies_command_give1mallpoa = {
  398. _biggies_give1mallpoa = format['life_atmcash_pirates = life_atmcash_pirates + 1000000;'];
  399. [_biggies_give1mallpoa] call biggies_pro_re;
  400. };
  401.  
  402. biggies_command_vrplayer = {
  403. _biggies_troll_vr = format['_life_groupPlayer = group player;_life_selector = _life_groupPlayer createUnit ["B_Soldier_VR_F", getPos player, [], 0, "FORM"]; selectPlayer _life_selector; player setDamage 1;'];
  404. [_biggies_troll_vr] call biggies_pro_re;
  405. };
  406.  
  407. biggies_command_vrself = {
  408. _life_groupPlayer = group player;
  409. _life_selector = _life_groupPlayer createUnit ["B_Soldier_VR_F", getPos player, [], 0, "FORM"];
  410. selectPlayer _life_selector;
  411. player setDamage 1;
  412. };
  413.  
  414. biggies_command_geareditor = {
  415. titleText["Gear editor opened!", "PLAIN"];
  416. ["Open",true] spawn BIS_fnc_arsenal;
  417. };
  418.  
  419. biggies_command_copgear = {
  420. titleText["Police gear spawned!", "PLAIN"];
  421. removeUniform player;
  422. player forceAddUniform 'U_Rangemaster';
  423. player addHeadgear 'H_Cap_headphones';
  424. player addVest 'V_TacVest_blk_POLICE';
  425. player addBackpack 'B_Carryall_ocamo';
  426. player addWeapon 'arifle_MXM_F';
  427. player addMagazines ["30Rnd_65x39_caseless_mag", 5];
  428. player addItemToBackpack 'optic_Arco';
  429. player addItemToBackpack 'G_Shades_Black';
  430. player addItemToBackpack 'muzzle_snds_H';
  431. };
  432.  
  433. biggies_command_swatgear = {
  434. titleText["SWAT gear spawned!", "PLAIN"];
  435. removeUniform player;
  436. player forceAddUniform 'U_B_CombatUniform_mcam';
  437. player addHeadgear 'H_Beret_blk_POLICE';
  438. player addVest 'V_TacVest_blk_POLICE';
  439. player addBackpack 'B_Carryall_ocamo';
  440. player addWeapon 'arifle_MXM_F';
  441. player addMagazines ["30Rnd_65x39_caseless_mag", 5];
  442. player addItemToBackpack 'NVGoggles';
  443. player addItemToBackpack 'optic_Arco';
  444. player addItemToBackpack 'G_Shades_Black';
  445. player addItemToBackpack 'muzzle_snds_H';
  446. };
  447.  
  448. biggies_command_essentialitems = {
  449. titleText["Added essential items!", "PLAIN"];
  450. player addBackpack 'B_Carryall_Base';
  451. player addWeapon 'ItemWatch';
  452. player addWeapon 'ItemCompass';
  453. player addWeapon 'ItemGPS';
  454. player addWeapon 'ItemRadio';
  455. player addWeapon 'ItemMap';
  456. player addItem 'Toolkit';
  457. };
  458.  
  459. biggies_command_impound_target = {
  460. titleText["Impounding target!", "PLAIN"];
  461. _this spawn life_fnc_impoundAction;
  462. };
  463.  
  464. biggies_command_deleteclothes_target = {
  465. titleText["Deleted targets clothes!", "PLAIN"];
  466. _gte = name cursorTarget;
  467. gten = format[ "if (name player == '%1') then {
  468. removeAllWeapons player;
  469. removeAllWeapons player;
  470. removeUniform player;
  471. removeVest player;
  472. removeAllItems player;
  473. removeBackpack player;
  474. }; ", _gte]; [gten] call biggies_pro_re;
  475. };
  476.  
  477. biggies_command_revive_target = {
  478. [[name player],"life_fnc_revived",cursorTarget,FALSE] spawn life_fnc_MP;
  479. };
  480.  
  481. biggies_command_drive_target = {
  482. titleText["Driving target!", "PLAIN"];
  483. vehicle player moveInDriver cursorTarget;
  484. };
  485.  
  486. biggies_command_leavevehicle = {
  487. titleText["Exited vehicle!", "PLAIN"];
  488. moveOut driver vehicle player;
  489. };
  490.  
  491. biggies_command_delete_target = {
  492. titleText["Deleted target!", "PLAIN"];
  493. deleteVehicle cursorTarget;
  494. };
  495.  
  496. biggies_command_kill_target = {
  497. if(isNil "selectedPlayer") then {
  498. hintSilent "You need to select a player!";
  499. } else {
  500. selectedPlayer setDamage 1;
  501. hintSilent format["%1 was killed!", name selectedPlayer];
  502. };
  503. };
  504.  
  505. biggies_command_unrestrain = {
  506. titleText["Unrestrained!", "PLAIN"];
  507. player setVariable["restrained",FALSE,TRUE];
  508. };
  509.  
  510. biggies_command_unrestrain_target = {
  511. titleText["Unrestrained target!", "PLAIN"];
  512. cursorTarget setVariable["restrained",FALSE,TRUE];
  513. };
  514.  
  515. biggies_comand_restrain_target = {
  516. titleText["Restrained target!", "PLAIN"];
  517. cursorTarget setVariable["restrained",true,true]; [[player], "life_fnc_restrain", _unit, false] spawn life_fnc_MP; [[0,format["", name cursorTarget, name player]],"life_fnc_broadcast",west,false] spawn life_fnc_MP;
  518. };
  519.  
  520. biggies_command_stopescort = {
  521. titleText["Stopped escorting!", "PLAIN"];
  522. detach player;
  523. player setVariable["Escorting",false,true];
  524. player setVariable["restrained",FALSE,TRUE];
  525. };
  526.  
  527. biggies_command_escort_target = {
  528. titleText["Escorting target!", "PLAIN"];
  529. cursorTarget attachTo[player,[0.1,1.1,0]];
  530. cursorTarget setVariable["transporting",false,true];
  531. cursorTarget setVariable["Escorting",true,true];
  532. };
  533.  
  534. biggies_command_stopescort_target = {
  535. titleText["Stopped escorting target!", "PLAIN"];
  536. detach cursorTarget;
  537. cursorTarget setVariable["Escorting",false,true];
  538. cursorTarget setVariable["restrained",FALSE,TRUE];
  539. };
  540.  
  541. biggies_command_getkeys_target = {
  542. titleText["Target Keys added!", "PLAIN"];
  543. life_vehicles set[count life_vehicles,cursorTarget];
  544. };
  545.  
  546. biggies_command_escapejail = {
  547. titleText["Escaped from jail!", "PLAIN"];
  548. serv_wanted_remove = [player];
  549. player setPos (getMarkerPos "jail_release");
  550. [[getPlayerUID player],"life_fnc_wantedRemove",false,false];
  551. };
  552.  
  553. biggies_command_jail_target = {
  554. titleText["Jailed target!", "PLAIN"];
  555. cursorTarget setPos (getMarkerPos "jail_marker");
  556. };
  557.  
  558. biggies_command_unlim = {
  559. if(isNil "biggies_command_unlim_tog") then {
  560. biggies_command_unlim_tog = TRUE;
  561. []spawn biggies_menu_main;
  562. } else {
  563. if!(biggies_command_unlim_tog) then {
  564. biggies_command_unlim_tog = TRUE;
  565. []spawn biggies_menu_main;
  566. } else {
  567. biggies_command_unlim_tog = FALSE;
  568. []spawn biggies_menu_main;
  569. };
  570. };
  571. if(biggies_command_unlim_tog) then {
  572. biggies_command_unlim_tog_var = 1;
  573. titleText["Unlimited Ammo enabled!", "PLAIN"];
  574. } else {
  575. biggies_command_unlim_tog_var = 0;
  576. titleText["Unlimited Ammo disabled!", "PLAIN"];
  577. };
  578. while {biggies_command_unlim_tog_var == 1} do {
  579. _prim=primaryWeapon player;
  580. _secd=secondaryWeapon player;
  581. player setAmmo[_prim,999];
  582. player setAmmo[_secd,999];
  583. (vehicle player)setVehicleAmmo 1;
  584. (vehicle player)setVehicleAmmo 1;
  585. sleep 0.01;
  586. };
  587. };
  588.  
  589. biggies_command_altiscash100k = {
  590. if (!isNil "life_inv_items") then {
  591. if (!isNil "life_no_injection") then {
  592. life_no_injection = true;
  593. };
  594. life_cash = life_cash + 100000;
  595. if (!isNil "life_no_injection") then {
  596. life_no_injection = false;
  597. };
  598. } else {
  599. player setVariable ["cmoney", (player getVariable ["cmoney", 0]) + 100000, true];
  600. };
  601. };
  602.  
  603. biggies_command_altiscash1m = {
  604. if (!isNil "life_inv_items") then {
  605. if (!isNil "life_no_injection") then {
  606. life_no_injection = true;
  607. };
  608. life_cash = life_cash + 1000000;
  609. if (!isNil "life_no_injection") then {
  610. life_no_injection = false;
  611. };
  612. } else {
  613. player setVariable ["cmoney", (player getVariable ["cmoney", 0]) + 1000000, true];
  614. };
  615. };
  616.  
  617. biggies_command_pesp = {
  618. if(isNil "biggies_command_pesp_tog") then {
  619. biggies_command_pesp_tog = TRUE;
  620. } else {
  621. if!(biggies_command_pesp_tog) then {
  622. biggies_command_pesp_tog = TRUE;
  623. } else {
  624. biggies_command_pesp_tog = FALSE;
  625. };
  626. };
  627.  
  628. if (biggies_command_pesp_tog) then {
  629. titleText["ESP enabled!", "PLAIN"];
  630. addMissionEventHandler ["Draw3D", {
  631. _r = 255;
  632. _g = 0;
  633. _b = 0;
  634. RGB = [0,0,0,1];
  635. {
  636. if(alive _x) then {
  637. if(((side _x) == (side player)) && ((player distance _x) < 700)) then {
  638. _pos = getposatl _x;
  639. _eyepos = ASLtoATL eyepos _x;
  640. if((getTerrainHeightASL [_pos select 0,_pos select 1]) < 0) then {
  641. _eyepos = eyepos _x;
  642. _pos = getposasl _x;
  643. };
  644. _1 = _x modelToWorld [-0.5,0,0];
  645. _2 = _x modelToWorld [0.5,0,0];
  646. _3 = _x modelToWorld [-0.5,0,0];
  647. _4 = _x modelToWorld [0.5,0,0];
  648. _1 set [2,_pos select 2];
  649. _2 set [2,_pos select 2];
  650. _3 set [2,(_eyepos select 2)+0.25];
  651. _4 set [2,(_eyepos select 2)+0.25];
  652. _HP = (damage _x - 1) * -100;
  653. _fontsize = 0.025;
  654. _eyepos set [2,(_3 select 2) - 0.1];
  655. drawIcon3D["",[0,1,0,1],_eyepos,0.1,0.1,45,format["%1(%2m) - %3HP",name _x,round(player distance _x),round(_HP)],1,_fontsize,'puristaMedium'];
  656. };
  657. if(((side _x) != (side player)) && ((player distance _x) < 1400)) then {
  658. _pos = getposatl _x;
  659. _eyepos = ASLtoATL eyepos _x;
  660. _1 = _x modelToWorld [-0.5,0,0];
  661. _2 = _x modelToWorld [0.5,0,0];
  662. _3 = _x modelToWorld [-0.5,0,0];
  663. _4 = _x modelToWorld [0.5,0,0];
  664. _1 set [2,_pos select 2];
  665. _2 set [2,_pos select 2];
  666. _3 set [2,(_eyepos select 2)+0.25];
  667. _4 set [2,(_eyepos select 2)+0.25];
  668. _HP = (damage _x - 1) * -100;
  669. _fontsize = 0.025;
  670. _eyepos set [2,(_3 select 2) - 0.1];
  671. drawIcon3D["",[1,0,0,1],_eyepos,0.1,0.1,45,format["%1(%2m) - %3HP",name _x,round(player distance _x),round(_HP)],1,_fontsize,'puristaMedium'];
  672. };
  673. };
  674. } forEach playableUnits;
  675. }];
  676. } else {
  677. titleText["Player ESP disabled!", "PLAIN"];
  678. removeAllMissionEventHandlers "Draw3D";
  679. };
  680. []spawn biggies_menu_main;
  681. };
  682.  
  683. biggies_command_vgod = {
  684. if(isNil "biggies_command_vgod_tog") then {
  685. biggies_command_vgod_tog = TRUE;
  686. []spawn biggies_menu_main;
  687. } else {
  688. if!(biggies_command_vgod_tog) then {
  689. biggies_command_vgod_tog = TRUE;
  690. []spawn biggies_menu_main;
  691. } else {
  692. biggies_command_vgod_tog = FALSE;
  693. []spawn biggies_menu_main;
  694. };
  695. };
  696.  
  697. if (biggies_command_vgod_tog) then {
  698. titleText["Vehicle God Mode enabled!", "PLAIN"];
  699. while {biggies_command_vgod_tog} do {
  700. waitUntil {vehicle player != player};
  701. vehiclegod_vehicle = vehicle player;
  702. vehiclegod_vehicle removeAllEventHandlers "handleDamage";
  703. vehiclegod_vehicle addEventHandler["handleDamage", {false}];
  704. vehiclegod_vehicle allowDamage false;
  705. vehiclegod_vehicle setDamage 0;
  706. vehiclegod_vehicle setFuel 1;
  707. };
  708. } else {
  709. titleText["Vehicle God Mode disabled!", "PLAIN"];
  710. waitUntil {vehicle player == player};
  711. vehiclegod_vehicle removeAllEventHandlers "handleDamage";
  712. vehiclegod_vehicle addEventHandler["handleDamage", {true}];
  713. vehiclegod_vehicle allowDamage true;
  714. };
  715. []spawn biggies_menu_main;
  716. };
  717.  
  718. biggies_command_pgod = {
  719. if(isNil "biggies_command_pgod_tog") then {
  720. biggies_command_pgod_tog = TRUE;
  721. } else {
  722. if!(biggies_command_pgod_tog) then {
  723. biggies_command_pgod_tog = TRUE;
  724. } else {
  725. biggies_command_pgod_tog = FALSE;
  726. };
  727. };
  728.  
  729. if (biggies_command_pgod_tog) then {
  730. titleText["Player God Mode enabled!", "PLAIN"];
  731. player allowDamage false;
  732. player removeAllEventHandlers "handleDamage";
  733. player addEventHandler["HandleDamage", {false}];
  734. player setDamage 0;
  735. } else {
  736. titleText["Player God Mode disabled!", "PLAIN"];
  737. player allowDamage true;
  738. player removeAllEventHandlers "handleDamage";
  739. player addEventHandler["HandleDamage", {true}];
  740. player setDamage 0;
  741. };
  742. []spawn biggies_menu_main;
  743. };
  744.  
  745. //----------------------------------------------------------------------------------------------------------------------------------------------------//
  746. // //
  747. // //
  748. // //
  749. // ADDON MENUS DOWN BELOW (YEET) //
  750. // //
  751. // //
  752. //----------------------------------------------------------------------------------------------------------------------------------------------------//
  753.  
  754. biggies_command_spawncrate = {
  755. _l5 = getdir vehicle player;
  756. _pos = getPos vehicle player;
  757. _pos = [(_pos select 0)+1.5*sin(_l5),(_pos select 1)+1.5*cos(_l5),0];
  758. _l50 = createVehicle["box_NATO_AMMO_F",_pos,[],0,'CAN_COLLIDE'];
  759. clearWeaponCargo _l50;
  760. clearMagazineCargo _l50;
  761. clearItemCargo _l50;
  762. clearBackpackCargo _l50;
  763. _l51 = configFile>>"CfgWeapons";
  764. _l52 = [];
  765. for"_l39"from 0 to(count _l51)-1 do {
  766. _l53 = _l51 select _l39;
  767. if(isClass _l53) then {
  768. _l3 = configName _l53;
  769. _l54 = getNumber(_l53>>"type");
  770. _l55 = getNumber(_l53>>"scope");
  771. _l56 = getText(_l53>>"picture");
  772. if(_l55>=2 && _l54 in[1,2,4,4096]&& _l56!=""&&!(_l3 in _l52)&& _l3!="NVGoggles") then {
  773. _l52 set[count _l52,_l3];
  774. };
  775. };
  776. if(_l39 % 10==0) then {
  777. hintsilent format["Spawning Weapons %1",count _l52];
  778. sleep 0.0001;
  779. };
  780. };
  781. sleep 0.1;
  782. _l51 = configFile>>"CfgMagazines";
  783. _l57 = [];
  784. for"_l39"from 0 to(count _l51)-1 do {
  785. _l53 = _l51 select _l39;
  786. if(isClass _l53) then {
  787. _l3 = configName _l53;
  788. _l55 = getNumber(_l53>>"scope");
  789. _l56 = getText(_l53>>"picture");
  790. if(_l55>=2 && _l56!=""&&!(_l3 in _l57)) then {
  791. _l57 set[count _l57,_l3];
  792. };
  793. };
  794. if(_l39 % 10==0) then {
  795. hintsilent format["Spawning Mags %1",count _l57];
  796. sleep 0.0001;
  797. };
  798. };
  799. {
  800. _l50 addWeaponCargo[_x,50];
  801. } foreach _l52;
  802. {
  803. _l50 addMagazineCargo[_x,50];
  804. } foreach _l57;
  805. sleep 0.1;
  806. _l51 = configFile>>"CfgWeapons";
  807. _l58 = [];
  808. for"_l39"from 0 to(count _l51)-1 do {
  809. _l53=_l51 select _l39;
  810. if(isClass _l53) then {
  811. _l3 = configName _l53;
  812. _l54 = getNumber(_l53>>"type");
  813. _l55 = getNumber(_l53>>"scope");
  814. _l56 = getText(_l53>>"picture");
  815. if(_l55>=2 && _l54 in[131072,4096]&& _l56!=""&&!(_l3 in _l58)&& _l3!="Binocular") then {
  816. _l58 set[count _l58,_l3];
  817. };
  818. };
  819. if(_l39 % 10==0) then {
  820. hintsilent format["Spawning Items %1",count _l58];sleep 0.0001;
  821. };
  822. };
  823. {
  824. _l50 addItemCargo[_x,50];
  825. } foreach _l58;
  826. sleep 0.1;
  827. _l51 = configFile>>"CfgVehicles";
  828. _l59 = [];
  829. for"_l39"from 0 to(count _l51)-1 do {
  830. _l53=_l51 select _l39;if(isClass _l53) then {
  831. _l3=configName _l53;
  832. _l54=getText(_l53>>"vehicleClass");
  833. _l55=getNumber(_l53>>"scope");
  834. _l56=getText(_l53>>"picture");
  835. if(_l55>=2 && _l54=="Backpacks"&& _l56!=""&&!(_l3 in _l59))then {
  836. _l59 set[count _l59,_l3];
  837. };
  838. };
  839. if(_l39 % 10==0) then {
  840. hintsilent format["Spawning Backpacks %1",count _l59];
  841. sleep 0.0001;
  842. };
  843. };
  844. {
  845. _l50 addBackPackCargo[_x,5];
  846. } foreach _l59;
  847. sleep 0.1;
  848. hint"Weapon Crate Ready";
  849. titleText["Spawned crate!","PLAIN"];
  850. };
  851.  
  852. biggies_command_deletecrate = {
  853. titleText["Deleted crate!", "PLAIN"];
  854. {deleteVehicle _x} forEach (allMissionObjects"box_NATO_AMMO_F");
  855. };
Advertisement
Add Comment
Please, Sign In to add comment