Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _randvar3 = compileFinal "";
- _AH_MAIN_BLOCK = compileFinal "";
- _RunOnClients = compileFinal "";
- _AHrunCheck = compileFinal "";
- _AH_AnnounceAdmin = compileFinal "";
- _AHKickOFF = compileFinal "";
- _AH_RunCheck = compileFinal "";
- _AH_RunCheck2 = compileFinal "";
- _FiredCheck = compileFinal "";
- _TMPBAN = compileFinal "";
- _randvar29 = compileFinal "";
- _randvar30 = compileFinal "";
- _massMessage = compileFinal "";
- _AHpos = compileFinal "";
- _adjust = compileFinal "";
- _fnc_RandomGen = compileFinal "";
- _badVariables = compileFinal "";
- _validMenus = compileFinal "";
- _puid = compileFinal "";
- _name = compileFinal "";
- _commandingMenu = compileFinal "";
- _admins = compileFinal "";
- _mPos = compileFinal "";
- _oVeh = compileFinal "";
- _BM = compileFinal "";
- _BW = compileFinal "";
- [] spawn {
- hint parseText format["
- <t font='puristaMedium' color='#2E9AFE' size='2'>Biggie's Menu</t><br/>
- <t font='puristaMedium' color='#2E9AFE' size='1.5'>Keybinds</t>
- <t font='puristaMedium' color='#2E9AFE'>Numpad 0 - Reopen Menu</t>
- <t font='puristaMedium' color='#2E9AFE'>Numpad 1 - Script Executor</t><br/>
- <t font='puristaMedium' color='#2E9AFE' size='1.5'>Updates</t>
- <t font='puristaMedium' color='#2E9AFE'>* Added new hint when loaded</t>
- <t font='puristaMedium' color='#2E9AFE'>* Added player list to execute scripts on players</t>
- <t font='puristaMedium' color='#2E9AFE'>* Added scripts to give all players cash</t>
- <t font='puristaMedium' color='#2E9AFE'>* Added new options in spawn menu</t>
- <t font='puristaMedium' color='#2E9AFE'>* Added troll menu</t>
- <t font='puristaMedium' color='#2E9AFE'>* Added server menu</t>
- <t font='puristaMedium' color='#2E9AFE'>* Added developer menu</t>
- <t font='puristaMedium' color='#2E9AFE'>* Added script executor (f1 or in menu)</t>
- <t font='puristaMedium' color='#2E9AFE'>* Fixed public variable restrictions</t>
- <t font='puristaMedium' color='#2E9AFE'>* Fixed script restriction issues</t>
- <t font='puristaMedium' color='#2E9AFE'>* Changed menu styles</t>
- <t font='puristaMedium' color='#2E9AFE'>* Removed useless scripts</t><br/>
- <t font='puristaMedium' color='#2E9AFE'>http://www.dxbridge.com</t>
- ", "name player"];
- sleep 0.1;
- []spawn biggies_menu_open;
- (findDisplay 46) displayAddEventHandler['KeyDown', 'if ((_this select 1) == 0x52) then {
- [] spawn biggies_menu_open;
- true
- }'];
- (findDisplay 46) displayAddEventHandler['KeyDown', 'if ((_this select 1) == 0x4F) then {
- [] spawn biggies_command_scriptexec;
- true
- }'];
- };
- biggies_menu_close = {
- removeAllActions player;
- };
- biggies_pro_re = {
- biggies_gucci_prada = 'O_Soldier_F'createUnit[[0,0,0],(createGroup east),(_this select 0),0.5,"CORPORAL"];
- };
- biggies_menu_open = {
- removeAllActions player;
- player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
- player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
- player addAction ["<t color='#00FF00'>+ Main Menu +", {[]spawn biggies_menu_main}];
- player addAction ["<t color='#00FF00'>+ Player Menu +</t>", {[]spawn biggies_menu_player}];
- player addAction ["<t color='#00FF00'>+ Target Menu +</t>", {[]spawn biggies_menu_target}];
- player addAction ["<t color='#00FF00'>+ Spawn Menu +</t>", {[]spawn biggies_menu_spawn}];
- player addAction ["<t color='#00FF00'>+ Troll Menu +</t>", {[]spawn biggies_menu_troll}];
- player addAction ["<t color='#00FF00'>+ Server Menu +</t>", {[]spawn biggies_menu_server}];
- player addAction ["<t color='#00FF00'>+ Developer Menu +</t>", {[]spawn biggies_menu_developer}];
- player addAction ["<t color='#00FF00'>Refresh</t>", {execVM "malloc_1e52.sqf"}];
- player addAction ["<t color='#FF6600'>Close</t>", {[]spawn biggies_menu_close}];
- };
- biggies_menu_main = {
- removeAllActions player;
- player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
- player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
- player addAction ["<t color='#E43Ef3'>Teleport</t>", {[]spawn biggies_command_ptp}];
- if(isNil "biggies_command_pesp_tog") then {
- player addAction ["<t color='#FF0000'>Player ESP - Off</t>", {[]spawn biggies_command_pesp}];
- } else {
- if!(biggies_command_pesp_tog) then {
- player addAction ["<t color='#FF0000'>Player ESP - Off</t>", {[]spawn biggies_command_pesp}];
- } else {
- player addAction ["<t color='#00FF00'>Player ESP - On</t>", {[]spawn biggies_command_pesp}];
- };
- };
- if(isNil "biggies_command_vgod_tog") then {
- player addAction ["<t color='#FF0000'>Vehicle God Mode - Off</t>", {[]spawn biggies_command_vgod}];
- } else {
- if!(biggies_command_vgod_tog) then {
- player addAction ["<t color='#FF0000'>Vehicle God Mode - Off</t>", {[]spawn biggies_command_vgod}];
- } else {
- player addAction ["<t color='#00FF00'>Vehicle God Mode - On</t>", {[]spawn biggies_command_vgod}];
- };
- };
- if(isNil "biggies_command_pgod_tog") then {
- player addAction ["<t color='#FF0000'>Player God Mode - Off</t>", {[]spawn biggies_command_pgod}];
- } else {
- if!(biggies_command_pgod_tog) then {
- player addAction ["<t color='#FF0000'>Player God Mode - Off</t>", {[]spawn biggies_command_pgod}];
- } else {
- player addAction ["<t color='#00FF00'>Player God Mode - On</t>", {[]spawn biggies_command_pgod}];
- };
- };
- if(isNil "biggies_command_unlim_tog") then {
- player addAction ["<t color='#FF0000'>Unlimited Ammo - Off</t>", {[]spawn biggies_command_unlim}];
- } else {
- if!(biggies_command_unlim_tog) then {
- player addAction ["<t color='#FF0000'>Unlimited Ammo - Off</t>", {[]spawn biggies_command_unlim}];
- } else {
- player addAction ["<t color='#00FF00'>Unlimited Ammo - On</t>", {[]spawn biggies_command_unlim}];
- };
- };
- player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_open}];
- };
- biggies_menu_player = {
- removeAllActions player;
- player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
- player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
- player addAction ["<t color='#00FF00'>+ License Menu +</t>", {[]spawn biggies_menu_license}];
- player addAction ["<t color='#2E9AFE'>Cash 100k</t>", {[]spawn biggies_command_altiscash100k}];
- player addAction ["<t color='#2E9AFE'>Cash 1m</t>", {[]spawn biggies_command_altiscash1m}];
- player addAction ["<t color='#2E9AFE'>Unrestrain Self</t>", {[]spawn biggies_command_unrestrain}];
- player addAction ["<t color='#2E9AFE'>Stop Escort Self</t>", {[]spawn biggies_command_stopescort}];
- player addAction ["<t color='#2E9AFE'>Escape Jail</t>", {[]spawn biggies_command_escapejail}];
- player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_open}];
- };
- biggies_menu_target = {
- removeAllActions player;
- player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
- player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
- player addAction ["<t color='#00FF00'>+ Select Player +</t>", {[]spawn biggies_menu_playerlist}];
- player addAction ["<t color='#2E9AFE'>Kill</t>", {[]spawn biggies_command_kill_target}];
- player addAction ["<t color='#2E9AFE'>[CURSOR] Revive</t>", {[]spawn biggies_command_revive_target}];
- player addAction ["<t color='#2E9AFE'>[CURSOR] Unrestrain</t>", {[]spawn biggies_command_unrestrain_target}];
- player addAction ["<t color='#2E9AFE'>[CURSOR] Restrain</t>", {[]spawn biggies_command_restrain_target}];
- player addAction ["<t color='#2E9AFE'>[CURSOR] Escort</t>", {[]spawn biggies_command_escort_target}];
- player addAction ["<t color='#2E9AFE'>[CURSOR] Stop Escort</t>", {[]spawn biggies_command_stopescort_target}];
- player addAction ["<t color='#2E9AFE'>[CURSOR] Get Keys</t>", {[]spawn biggies_command_getkeys_target}];
- player addAction ["<t color='#2E9AFE'>[CURSOR] Impound</t>", {[]spawn biggies_command_impound_target}];
- player addAction ["<t color='#2E9AFE'>[CURSOR] Jail</t>", {[]spawn biggies_command_jail_target}];
- player addAction ["<t color='#2E9AFE'>[CURSOR] Delete</t>", {[]spawn biggies_command_delete_target}];
- player addAction ["<t color='#2E9AFE'>[CURSOR] Drive</t>", {[]spawn biggies_command_drive_target}];
- player addAction ["<t color='#2E9AFE'>[CURSOR] Exit Veh</t>", {[]spawn biggies_command_leavevehicle}];
- player addAction ["<t color='#2E9AFE'>[CURSOR] Delete Clothes</t>", {[]spawn biggies_command_deleteclothes_target}];
- player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_open}];
- };
- biggies_menu_spawn = {
- removeAllActions player;
- player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
- player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
- player addAction ["<t color='#00FF00'>+ Weapons Menu +</t>", {[]spawn biggies_menu_weapon}];
- player addAction ["<t color='#00FF00'>+ Gear Menu +</t>", {[]spawn biggies_menu_gear}];
- player addAction ["<t color='#00FF00'>+ Land Vehicle Menu +</t>", {[]spawn biggies_menu_landvehicle}];
- player addAction ["<t color='#00FF00'>+ Air Vehicle Menu +</t>", {[]spawn biggies_menu_airvehicle}];
- player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_open}];
- };
- biggies_menu_troll = {
- removeAllActions player;
- player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
- player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
- player addAction ["<t color='#2E9AFE'>Set All VR Entities</t>", {[]spawn biggies_command_vrplayer}];
- player addAction ["<t color='#2E9AFE'>Self VR Entities</t>", {[]spawn biggies_command_vrself}];
- player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_open}];
- };
- biggies_menu_server = {
- removeAllActions player;
- player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
- player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
- player addAction ["<t color='#2E9AFE'>Give All 100k</t>", {[]spawn biggies_command_give100kall}];
- player addAction ["<t color='#2E9AFE'>Give All 1m</t>", {[]spawn biggies_command_give1mall}];
- player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
- player addAction ["<t color='#2E9AFE'>Cash 100k - GSN Altis</t>", {[]spawn biggies_command_gsnaltis100k}];
- player addAction ["<t color='#2E9AFE'>Cash 1m - GSN Altis</t>", {[]spawn biggies_command_gsnaltis1m}];
- player addAction ["<t color='#2E9AFE'>Give All 100k - GSN Altis</t>", {[]spawn biggies_command_give100kallgsn}];
- player addAction ["<t color='#2E9AFE'>Give All 1m - GSN Altis</t>", {[]spawn biggies_command_give1mallgsn}];
- player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
- player addAction ["<t color='#2E9AFE'>Cash 100k - GTAltis</t>", {[]spawn biggies_command_gtaaltis100k}];
- player addAction ["<t color='#2E9AFE'>Cash 1m - GTAltis</t>", {[]spawn biggies_command_gtaaltis1m}];
- player addAction ["<t color='#2E9AFE'>Give All 100k - GTAltis</t>", {[]spawn biggies_command_give100kallgta}];
- player addAction ["<t color='#2E9AFE'>Give All 1m - GTAltis</t>", {[]spawn biggies_command_give1mallgta}];
- player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
- player addAction ["<t color='#2E9AFE'>Cash 100k - POA</t>", {[]spawn biggies_command_poaaltis100k}];
- player addAction ["<t color='#2E9AFE'>Cash 1m - POA</t>", {[]spawn biggies_command_poaaltis1m}];
- player addAction ["<t color='#2E9AFE'>Give All 100k - POA</t>", {[]spawn biggies_command_give100kallpoa}];
- player addAction ["<t color='#2E9AFE'>Give All 1m - POA</t>", {[]spawn biggies_command_give1mallpoa}];
- player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_open}];
- };
- biggies_menu_developer = {
- removeAllActions player;
- player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
- player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
- player addAction ["<t color='#2E9AFE'>Script Executor</t>", {[]spawn biggies_command_scriptexec}];
- player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_open}];
- };
- biggies_menu_playerlist = {
- removeAllActions player;
- player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
- player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
- player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_target}];
- _AllUnits = playableUnits;
- _CountAllUnits = count _AllUnits;
- _Selected = 0;
- biggies_command_selectplayer = {
- {if ((isPlayer _x) && (alive _x)) then {
- player addAction [format["<t color='#F02EE9'>%1</t>", name _x], {
- _player = (_this select 3);
- selectedPlayer = _player;
- hint format ["Selected player: %1", name selectedPlayer];
- }, _x]
- };} forEach (playableUnits);
- };
- [] call biggies_command_selectplayer;
- };
- biggies_menu_license = {
- removeAllActions player;
- player addAction ["<t color='#FF6600'>-====- Biggie's Menu -====-</t>", {}];
- player addAction ["<t color='#190707'>----------------------------------------------</t>", {}];
- 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 '];
- 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 '];
- 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 '];
- 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 '];
- 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 '];
- 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 '];
- 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 '];
- 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 '];
- 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 '];
- 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 '];
- 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 '];
- 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 '];
- 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 '];
- 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 '];
- 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 '];
- 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 '];
- player addAction ["<t color='#FF6600'>Back</t>", {[]spawn biggies_menu_player}];
- };
- //----------------------------------------------------------------------------------------------------------------------------//
- // //
- // //
- // From this point on it is all command scripts and shit... so yeah, don't touch shit up there! //
- // //
- // //
- //----------------------------------------------------------------------------------------------------------------------------//
- biggies_command_ptp = {
- closeDialog 0;
- if !("ItemMap" in items player) then {
- _biggies_mano_le_tough = player;
- (unitBackpack _biggies_mano_le_tough) additemCargo["ItemMap", 1];
- };
- openMap[true, false];
- hint parseText "<t color='#FFFFFF' font='puristaMedium' size='1' align='center'>Click Map</t>";
- onMapSingleClick 'player setpos _pos;openMap[false,false];onMapSingleClick "";false';
- };
- biggies_command_scriptexec = {
- [] spawn {
- sleep 0.1;
- closedialog 0;
- sleep 0.1;
- createdialog 'RscDisplayInsertMarker';
- sleep 0.1;
- disableSerialization;
- _ctrl = (findDisplay 54) displayCtrl 101;
- _ctrl ctrlSetFont "PuristaBold";
- _ctrl ctrlSetTextColor[1,1,1,1];
- _ctrl ctrlCommit 0;
- _ctrl = (findDisplay 54) displayCtrl 1;
- _ctrl ctrlSetFont "PuristaBold";
- _ctrl ctrlSetTextColor[1,1,1,1];
- _ctrl ctrlSetText "Execute";
- _ctrl buttonSetAction "_scriptexec_code = (ctrlText 101);[] spawn compile _scriptexec_code;";
- _ctrl ctrlCommit 0;
- _ctrl = (findDisplay 54) displayCtrl 2;
- _ctrl ctrlSetFont "PuristaBold";
- _ctrl ctrlSetText "CLEAR";
- _ctrl ctrlSetTextColor [1,1,1,1];
- _ctrl buttonSetAction "ctrlsetText[101,''''];";
- _ctrl ctrlCommit 0;
- _ctrl = (findDisplay 54) displayCtrl 1001;
- _ctrl ctrlSetFont "PuristaBold";
- _ctrl ctrlSetText "Script Executor";
- _ctrl ctrlSetTextColor [0,0,0,1];
- _ctrl ctrlSetBackgroundColor [0,0.7,1,1];
- _ctrl buttonSetAction "ctrlsetText[101,''''];";
- _ctrl ctrlCommit 0;
- _ctrl = (findDisplay 54) displayCtrl 1100;
- _ctrl ctrlSetFont "PuristaBold";
- _ctrl ctrlSettext "Code:";
- _ctrl ctrlSetTextColor [1,1,1,1];
- _ctrl ctrlCommit 0;
- _ctrl = (findDisplay 54) displayCtrl 2400;
- _ctrl ctrlSetFont "PuristaBold";
- _ctrl ctrlSettext "Help";
- _ctrl ctrlSetTextColor [1,1,1,1];
- _ctrl ctrlCommit 0;
- _ctrl = (findDisplay 54) displayCtrl 1101;
- _ctrl ctrlSetFont "PuristaBold";
- _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;';
- _ctrl ctrlSetTextColor [1,1,1,1];
- _ctrl ctrlCommit 0;
- _ctrl = (findDisplay 54) displayCtrl 1081;
- _ctrl ctrlSetBackgroundColor [0,0,0,0.5];
- _ctrl ctrlCommit 0;
- };
- };
- biggies_command_give100kallgsn = {
- _biggies_give100kallgsn = format['gsn_lifeatm_cash = gsn_lifeatm_cash + 100000;'];
- [_biggies_give100kallgsn] call biggies_pro_re;
- };
- biggies_command_give1mallgsn = {
- _biggies_give1mallgsn = format['gsn_lifeatm_cash = gsn_lifeatm_cash + 1000000;'];
- [_biggies_give1mallgsn] call biggies_pro_re;
- };
- biggies_command_gsnaltis100k = {
- gsn_lifeatm_cash = gsn_lifeatm_cash + 100000;
- };
- biggies_command_gsnaltis1m = {
- gsn_lifeatm_cash = gsn_lifeatm_cash + 1000000;
- };
- biggies_command_gtaaltis100k = {
- life_gta_cash = life_gta_cash + 100000;
- };
- biggies_command_gtaaltis1mall = {
- life_gta_cash = life_gta_cash + 1000000;
- };
- biggies_command_give100kallgta = {
- _biggies_give100kallgta = format['life_gta_cash = life_gta_cash + 100000;'];
- [_biggies_give100kallgta] call biggies_pro_re;
- };
- biggies_command_give1mallgta = {
- _biggies_give1mallgta = format['life_gta_cash = life_gta_cash + 1000000;'];
- [_biggies_give1mallgta] call biggies_pro_re;
- };
- biggies_command_give100kall = {
- _biggies_give100kall = format['life_cash = life_cash + 100000;'];
- [_biggies_give100kall] call biggies_pro_re;
- };
- biggies_command_give1mall = {
- _biggies_give1mall = format['life_cash = life_cash + 1000000;'];
- [_biggies_give1mall] call biggies_pro_re;
- };
- biggies_command_poaaltis100k = {
- life_atmcash_pirates = life_atmcash_pirates + 100000;
- };
- biggies_command_poaaltis1mall = {
- life_atmcash_pirates = life_atmcash_pirates + 1000000;
- };
- biggies_command_give100kallpoa = {
- _biggies_give100kallpoa = format['life_atmcash_pirates = life_atmcash_pirates + 100000;'];
- [_biggies_give100kallpoa] call biggies_pro_re;
- };
- biggies_command_give1mallpoa = {
- _biggies_give1mallpoa = format['life_atmcash_pirates = life_atmcash_pirates + 1000000;'];
- [_biggies_give1mallpoa] call biggies_pro_re;
- };
- biggies_command_vrplayer = {
- _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;'];
- [_biggies_troll_vr] call biggies_pro_re;
- };
- biggies_command_vrself = {
- _life_groupPlayer = group player;
- _life_selector = _life_groupPlayer createUnit ["B_Soldier_VR_F", getPos player, [], 0, "FORM"];
- selectPlayer _life_selector;
- player setDamage 1;
- };
- biggies_command_geareditor = {
- titleText["Gear editor opened!", "PLAIN"];
- ["Open",true] spawn BIS_fnc_arsenal;
- };
- biggies_command_copgear = {
- titleText["Police gear spawned!", "PLAIN"];
- removeUniform player;
- player forceAddUniform 'U_Rangemaster';
- player addHeadgear 'H_Cap_headphones';
- player addVest 'V_TacVest_blk_POLICE';
- player addBackpack 'B_Carryall_ocamo';
- player addWeapon 'arifle_MXM_F';
- player addMagazines ["30Rnd_65x39_caseless_mag", 5];
- player addItemToBackpack 'optic_Arco';
- player addItemToBackpack 'G_Shades_Black';
- player addItemToBackpack 'muzzle_snds_H';
- };
- biggies_command_swatgear = {
- titleText["SWAT gear spawned!", "PLAIN"];
- removeUniform player;
- player forceAddUniform 'U_B_CombatUniform_mcam';
- player addHeadgear 'H_Beret_blk_POLICE';
- player addVest 'V_TacVest_blk_POLICE';
- player addBackpack 'B_Carryall_ocamo';
- player addWeapon 'arifle_MXM_F';
- player addMagazines ["30Rnd_65x39_caseless_mag", 5];
- player addItemToBackpack 'NVGoggles';
- player addItemToBackpack 'optic_Arco';
- player addItemToBackpack 'G_Shades_Black';
- player addItemToBackpack 'muzzle_snds_H';
- };
- biggies_command_essentialitems = {
- titleText["Added essential items!", "PLAIN"];
- player addBackpack 'B_Carryall_Base';
- player addWeapon 'ItemWatch';
- player addWeapon 'ItemCompass';
- player addWeapon 'ItemGPS';
- player addWeapon 'ItemRadio';
- player addWeapon 'ItemMap';
- player addItem 'Toolkit';
- };
- biggies_command_impound_target = {
- titleText["Impounding target!", "PLAIN"];
- _this spawn life_fnc_impoundAction;
- };
- biggies_command_deleteclothes_target = {
- titleText["Deleted targets clothes!", "PLAIN"];
- _gte = name cursorTarget;
- gten = format[ "if (name player == '%1') then {
- removeAllWeapons player;
- removeAllWeapons player;
- removeUniform player;
- removeVest player;
- removeAllItems player;
- removeBackpack player;
- }; ", _gte]; [gten] call biggies_pro_re;
- };
- biggies_command_revive_target = {
- [[name player],"life_fnc_revived",cursorTarget,FALSE] spawn life_fnc_MP;
- };
- biggies_command_drive_target = {
- titleText["Driving target!", "PLAIN"];
- vehicle player moveInDriver cursorTarget;
- };
- biggies_command_leavevehicle = {
- titleText["Exited vehicle!", "PLAIN"];
- moveOut driver vehicle player;
- };
- biggies_command_delete_target = {
- titleText["Deleted target!", "PLAIN"];
- deleteVehicle cursorTarget;
- };
- biggies_command_kill_target = {
- if(isNil "selectedPlayer") then {
- hintSilent "You need to select a player!";
- } else {
- selectedPlayer setDamage 1;
- hintSilent format["%1 was killed!", name selectedPlayer];
- };
- };
- biggies_command_unrestrain = {
- titleText["Unrestrained!", "PLAIN"];
- player setVariable["restrained",FALSE,TRUE];
- };
- biggies_command_unrestrain_target = {
- titleText["Unrestrained target!", "PLAIN"];
- cursorTarget setVariable["restrained",FALSE,TRUE];
- };
- biggies_comand_restrain_target = {
- titleText["Restrained target!", "PLAIN"];
- 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;
- };
- biggies_command_stopescort = {
- titleText["Stopped escorting!", "PLAIN"];
- detach player;
- player setVariable["Escorting",false,true];
- player setVariable["restrained",FALSE,TRUE];
- };
- biggies_command_escort_target = {
- titleText["Escorting target!", "PLAIN"];
- cursorTarget attachTo[player,[0.1,1.1,0]];
- cursorTarget setVariable["transporting",false,true];
- cursorTarget setVariable["Escorting",true,true];
- };
- biggies_command_stopescort_target = {
- titleText["Stopped escorting target!", "PLAIN"];
- detach cursorTarget;
- cursorTarget setVariable["Escorting",false,true];
- cursorTarget setVariable["restrained",FALSE,TRUE];
- };
- biggies_command_getkeys_target = {
- titleText["Target Keys added!", "PLAIN"];
- life_vehicles set[count life_vehicles,cursorTarget];
- };
- biggies_command_escapejail = {
- titleText["Escaped from jail!", "PLAIN"];
- serv_wanted_remove = [player];
- player setPos (getMarkerPos "jail_release");
- [[getPlayerUID player],"life_fnc_wantedRemove",false,false];
- };
- biggies_command_jail_target = {
- titleText["Jailed target!", "PLAIN"];
- cursorTarget setPos (getMarkerPos "jail_marker");
- };
- biggies_command_unlim = {
- if(isNil "biggies_command_unlim_tog") then {
- biggies_command_unlim_tog = TRUE;
- []spawn biggies_menu_main;
- } else {
- if!(biggies_command_unlim_tog) then {
- biggies_command_unlim_tog = TRUE;
- []spawn biggies_menu_main;
- } else {
- biggies_command_unlim_tog = FALSE;
- []spawn biggies_menu_main;
- };
- };
- if(biggies_command_unlim_tog) then {
- biggies_command_unlim_tog_var = 1;
- titleText["Unlimited Ammo enabled!", "PLAIN"];
- } else {
- biggies_command_unlim_tog_var = 0;
- titleText["Unlimited Ammo disabled!", "PLAIN"];
- };
- while {biggies_command_unlim_tog_var == 1} do {
- _prim=primaryWeapon player;
- _secd=secondaryWeapon player;
- player setAmmo[_prim,999];
- player setAmmo[_secd,999];
- (vehicle player)setVehicleAmmo 1;
- (vehicle player)setVehicleAmmo 1;
- sleep 0.01;
- };
- };
- biggies_command_altiscash100k = {
- if (!isNil "life_inv_items") then {
- if (!isNil "life_no_injection") then {
- life_no_injection = true;
- };
- life_cash = life_cash + 100000;
- if (!isNil "life_no_injection") then {
- life_no_injection = false;
- };
- } else {
- player setVariable ["cmoney", (player getVariable ["cmoney", 0]) + 100000, true];
- };
- };
- biggies_command_altiscash1m = {
- if (!isNil "life_inv_items") then {
- if (!isNil "life_no_injection") then {
- life_no_injection = true;
- };
- life_cash = life_cash + 1000000;
- if (!isNil "life_no_injection") then {
- life_no_injection = false;
- };
- } else {
- player setVariable ["cmoney", (player getVariable ["cmoney", 0]) + 1000000, true];
- };
- };
- biggies_command_pesp = {
- if(isNil "biggies_command_pesp_tog") then {
- biggies_command_pesp_tog = TRUE;
- } else {
- if!(biggies_command_pesp_tog) then {
- biggies_command_pesp_tog = TRUE;
- } else {
- biggies_command_pesp_tog = FALSE;
- };
- };
- if (biggies_command_pesp_tog) then {
- titleText["ESP enabled!", "PLAIN"];
- addMissionEventHandler ["Draw3D", {
- _r = 255;
- _g = 0;
- _b = 0;
- RGB = [0,0,0,1];
- {
- if(alive _x) then {
- if(((side _x) == (side player)) && ((player distance _x) < 700)) then {
- _pos = getposatl _x;
- _eyepos = ASLtoATL eyepos _x;
- if((getTerrainHeightASL [_pos select 0,_pos select 1]) < 0) then {
- _eyepos = eyepos _x;
- _pos = getposasl _x;
- };
- _1 = _x modelToWorld [-0.5,0,0];
- _2 = _x modelToWorld [0.5,0,0];
- _3 = _x modelToWorld [-0.5,0,0];
- _4 = _x modelToWorld [0.5,0,0];
- _1 set [2,_pos select 2];
- _2 set [2,_pos select 2];
- _3 set [2,(_eyepos select 2)+0.25];
- _4 set [2,(_eyepos select 2)+0.25];
- _HP = (damage _x - 1) * -100;
- _fontsize = 0.025;
- _eyepos set [2,(_3 select 2) - 0.1];
- 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'];
- };
- if(((side _x) != (side player)) && ((player distance _x) < 1400)) then {
- _pos = getposatl _x;
- _eyepos = ASLtoATL eyepos _x;
- _1 = _x modelToWorld [-0.5,0,0];
- _2 = _x modelToWorld [0.5,0,0];
- _3 = _x modelToWorld [-0.5,0,0];
- _4 = _x modelToWorld [0.5,0,0];
- _1 set [2,_pos select 2];
- _2 set [2,_pos select 2];
- _3 set [2,(_eyepos select 2)+0.25];
- _4 set [2,(_eyepos select 2)+0.25];
- _HP = (damage _x - 1) * -100;
- _fontsize = 0.025;
- _eyepos set [2,(_3 select 2) - 0.1];
- 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'];
- };
- };
- } forEach playableUnits;
- }];
- } else {
- titleText["Player ESP disabled!", "PLAIN"];
- removeAllMissionEventHandlers "Draw3D";
- };
- []spawn biggies_menu_main;
- };
- biggies_command_vgod = {
- if(isNil "biggies_command_vgod_tog") then {
- biggies_command_vgod_tog = TRUE;
- []spawn biggies_menu_main;
- } else {
- if!(biggies_command_vgod_tog) then {
- biggies_command_vgod_tog = TRUE;
- []spawn biggies_menu_main;
- } else {
- biggies_command_vgod_tog = FALSE;
- []spawn biggies_menu_main;
- };
- };
- if (biggies_command_vgod_tog) then {
- titleText["Vehicle God Mode enabled!", "PLAIN"];
- while {biggies_command_vgod_tog} do {
- waitUntil {vehicle player != player};
- vehiclegod_vehicle = vehicle player;
- vehiclegod_vehicle removeAllEventHandlers "handleDamage";
- vehiclegod_vehicle addEventHandler["handleDamage", {false}];
- vehiclegod_vehicle allowDamage false;
- vehiclegod_vehicle setDamage 0;
- vehiclegod_vehicle setFuel 1;
- };
- } else {
- titleText["Vehicle God Mode disabled!", "PLAIN"];
- waitUntil {vehicle player == player};
- vehiclegod_vehicle removeAllEventHandlers "handleDamage";
- vehiclegod_vehicle addEventHandler["handleDamage", {true}];
- vehiclegod_vehicle allowDamage true;
- };
- []spawn biggies_menu_main;
- };
- biggies_command_pgod = {
- if(isNil "biggies_command_pgod_tog") then {
- biggies_command_pgod_tog = TRUE;
- } else {
- if!(biggies_command_pgod_tog) then {
- biggies_command_pgod_tog = TRUE;
- } else {
- biggies_command_pgod_tog = FALSE;
- };
- };
- if (biggies_command_pgod_tog) then {
- titleText["Player God Mode enabled!", "PLAIN"];
- player allowDamage false;
- player removeAllEventHandlers "handleDamage";
- player addEventHandler["HandleDamage", {false}];
- player setDamage 0;
- } else {
- titleText["Player God Mode disabled!", "PLAIN"];
- player allowDamage true;
- player removeAllEventHandlers "handleDamage";
- player addEventHandler["HandleDamage", {true}];
- player setDamage 0;
- };
- []spawn biggies_menu_main;
- };
- //----------------------------------------------------------------------------------------------------------------------------------------------------//
- // //
- // //
- // //
- // ADDON MENUS DOWN BELOW (YEET) //
- // //
- // //
- //----------------------------------------------------------------------------------------------------------------------------------------------------//
- biggies_command_spawncrate = {
- _l5 = getdir vehicle player;
- _pos = getPos vehicle player;
- _pos = [(_pos select 0)+1.5*sin(_l5),(_pos select 1)+1.5*cos(_l5),0];
- _l50 = createVehicle["box_NATO_AMMO_F",_pos,[],0,'CAN_COLLIDE'];
- clearWeaponCargo _l50;
- clearMagazineCargo _l50;
- clearItemCargo _l50;
- clearBackpackCargo _l50;
- _l51 = configFile>>"CfgWeapons";
- _l52 = [];
- for"_l39"from 0 to(count _l51)-1 do {
- _l53 = _l51 select _l39;
- if(isClass _l53) then {
- _l3 = configName _l53;
- _l54 = getNumber(_l53>>"type");
- _l55 = getNumber(_l53>>"scope");
- _l56 = getText(_l53>>"picture");
- if(_l55>=2 && _l54 in[1,2,4,4096]&& _l56!=""&&!(_l3 in _l52)&& _l3!="NVGoggles") then {
- _l52 set[count _l52,_l3];
- };
- };
- if(_l39 % 10==0) then {
- hintsilent format["Spawning Weapons %1",count _l52];
- sleep 0.0001;
- };
- };
- sleep 0.1;
- _l51 = configFile>>"CfgMagazines";
- _l57 = [];
- for"_l39"from 0 to(count _l51)-1 do {
- _l53 = _l51 select _l39;
- if(isClass _l53) then {
- _l3 = configName _l53;
- _l55 = getNumber(_l53>>"scope");
- _l56 = getText(_l53>>"picture");
- if(_l55>=2 && _l56!=""&&!(_l3 in _l57)) then {
- _l57 set[count _l57,_l3];
- };
- };
- if(_l39 % 10==0) then {
- hintsilent format["Spawning Mags %1",count _l57];
- sleep 0.0001;
- };
- };
- {
- _l50 addWeaponCargo[_x,50];
- } foreach _l52;
- {
- _l50 addMagazineCargo[_x,50];
- } foreach _l57;
- sleep 0.1;
- _l51 = configFile>>"CfgWeapons";
- _l58 = [];
- for"_l39"from 0 to(count _l51)-1 do {
- _l53=_l51 select _l39;
- if(isClass _l53) then {
- _l3 = configName _l53;
- _l54 = getNumber(_l53>>"type");
- _l55 = getNumber(_l53>>"scope");
- _l56 = getText(_l53>>"picture");
- if(_l55>=2 && _l54 in[131072,4096]&& _l56!=""&&!(_l3 in _l58)&& _l3!="Binocular") then {
- _l58 set[count _l58,_l3];
- };
- };
- if(_l39 % 10==0) then {
- hintsilent format["Spawning Items %1",count _l58];sleep 0.0001;
- };
- };
- {
- _l50 addItemCargo[_x,50];
- } foreach _l58;
- sleep 0.1;
- _l51 = configFile>>"CfgVehicles";
- _l59 = [];
- for"_l39"from 0 to(count _l51)-1 do {
- _l53=_l51 select _l39;if(isClass _l53) then {
- _l3=configName _l53;
- _l54=getText(_l53>>"vehicleClass");
- _l55=getNumber(_l53>>"scope");
- _l56=getText(_l53>>"picture");
- if(_l55>=2 && _l54=="Backpacks"&& _l56!=""&&!(_l3 in _l59))then {
- _l59 set[count _l59,_l3];
- };
- };
- if(_l39 % 10==0) then {
- hintsilent format["Spawning Backpacks %1",count _l59];
- sleep 0.0001;
- };
- };
- {
- _l50 addBackPackCargo[_x,5];
- } foreach _l59;
- sleep 0.1;
- hint"Weapon Crate Ready";
- titleText["Spawned crate!","PLAIN"];
- };
- biggies_command_deletecrate = {
- titleText["Deleted crate!", "PLAIN"];
- {deleteVehicle _x} forEach (allMissionObjects"box_NATO_AMMO_F");
- };
Advertisement
Add Comment
Please, Sign In to add comment