Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Download: http://adf.ly/rt5Ic
- //PwN3D
- //Modmenu.cs
- using System;
- using System.Threading;
- namespace MW3_Mod_Menu
- {/*
- * °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
- * °°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°
- ____ __ __ __ __ __ ____
- /\ _`\ /\ \ __/\ \/\ \/\ \ /'__`\ /\ _`\
- \ \ \L\ \ \ \/\ \ \ \ \ `\\ \/\_\L\ \\ \ \/\ \
- \ \ ,__/\ \ \ \ \ \ \ \ , ` \/_/_\_<_\ \ \ \ \
- \ \ \/ \ \ \_/ \_\ \ \ \`\ \/\ \L\ \\ \ \_\ \
- \ \_\ \ `\___x___/\ \_\ \_\ \____/ \ \____/
- \/_/ '\/__//__/ \/_/\/_/\/___/ \/___/
- * _ _ _
- / /\ /\ \ /\_\ _
- / / \\ \ \ / / //\_\
- / / /\ \\ \ \_/ / / \/_/
- / / /\ \ \\ \___/ /
- / / /\ \_\ \\ \ \_/
- / / /\ \ \___\\ \ \
- / / / \ \ \__/ \ \ \ _
- / / /____\_\ \ \ \ \ /_/\
- / / /__________\ \ \_\ \_\/
- \/_____________/ \/_/
- °
- _____ _____ _____ _____ _____ _____ _______ _____
- /\ \ /\ \ /\ \ /\ \ /\ \ /\ \ ______ /::\ \ /\ \
- /::\ \ /::\ \ /::\ \ /::\ \ /::\____\ /::\ \ |::| | /::::\ \ /::\ \
- /::::\ \ /::::\ \ /::::\ \ /::::\ \ /:::/ / /::::\ \ |::| | /::::::\ \ /::::\ \
- /::::::\ \ /::::::\ \ /::::::\ \ /::::::\ \ /:::/ / /::::::\ \ |::| | /::::::::\ \ /::::::\ \
- /:::/\:::\ \ /:::/\:::\ \ /:::/\:::\ \ /:::/\:::\ \ /:::/ / /:::/\:::\ \ |::| | /:::/~~\:::\ \ /:::/\:::\ \
- /:::/__\:::\ \ /:::/__\:::\ \ /:::/__\:::\ \ /:::/__\:::\ \ /:::/____/ /:::/__\:::\ \ |::| | /:::/ \:::\ \ /:::/__\:::\ \
- /::::\ \:::\ \ /::::\ \:::\ \ \:::\ \:::\ \ \:::\ \:::\ \ /::::\ \ /::::\ \:::\ \ |::| | /:::/ / \:::\ \ /::::\ \:::\ \
- /::::::\ \:::\ \ /::::::\ \:::\ \ ___\:::\ \:::\ \ ___\:::\ \:::\ \ /::::::\ \ _____ /::::::\ \:::\ \ |::| | /:::/____/ \:::\____\ /::::::\ \:::\ \
- /:::/\:::\ \:::\ ___\ /:::/\:::\ \:::\ \ /\ \:::\ \:::\ \ /\ \:::\ \:::\ \ /:::/\:::\ \ /\ \ /:::/\:::\ \:::\ \ ______|::|___|___ ____ |:::| | |:::| | /:::/\:::\ \:::\____\
- /:::/__\:::\ \:::| |/:::/ \:::\ \:::\____\/::\ \:::\ \:::\____\/::\ \:::\ \:::\____\/:::/ \:::\ /::\____\/:::/ \:::\ \:::\____\|:::::::::::::::::| ||:::|____| |:::| |/:::/ \:::\ \:::| |
- \:::\ \:::\ /:::|____|\::/ \:::\ /:::/ /\:::\ \:::\ \::/ /\:::\ \:::\ \::/ /\::/ \:::\ /:::/ /\::/ \:::\ /:::/ /|:::::::::::::::::|____| \:::\ \ /:::/ / \::/ |::::\ /:::|____|
- \:::\ \:::\/:::/ / \/____/ \:::\/:::/ / \:::\ \:::\ \/____/ \:::\ \:::\ \/____/ \/____/ \:::\/:::/ / \/____/ \:::\/:::/ / ~~~~~~|::|~~~|~~~ \:::\ \ /:::/ / \/____|:::::\/:::/ /
- \:::\ \::::::/ / \::::::/ / \:::\ \:::\ \ \:::\ \:::\ \ \::::::/ / \::::::/ / |::| | \:::\ /:::/ / |:::::::::/ /
- \:::\ \::::/ / \::::/ / \:::\ \:::\____\ \:::\ \:::\____\ \::::/ / \::::/ / |::| | \:::\__/:::/ / |::|\::::/ /
- \:::\ /:::/ / /:::/ / \:::\ /:::/ / \:::\ /:::/ / /:::/ / /:::/ / |::| | \::::::::/ / |::| \::/____/
- \:::\/:::/ / /:::/ / \:::\/:::/ / \:::\/:::/ / /:::/ / /:::/ / |::| | \::::::/ / |::| ~|
- \::::::/ / /:::/ / \::::::/ / \::::::/ / /:::/ / /:::/ / |::| | \::::/ / |::| |
- \::::/ / /:::/ / \::::/ / \::::/ / /:::/ / /:::/ / |::| | \::/____/ \::| |
- \::/____/ \::/ / \::/ / \::/ / \::/ / \::/ / |::|___| ~~ \:| |
- ~~ \/____/ \/____/ \/____/ \/____/ \/____/ ~~ \|___|
- *
- *
- Yb dP 8 w .d88b. w w dP"Yb
- Yb db dP 8d8b. .d88 w8ww YPwww. .d88b .d8b 8 8 8d8b w w8ww Yb dP " d8
- YbdPYbdP 8P Y8 8 8 8 d8 8.dP' 8 8b d8 8P 8 8 YbdP dP
- YP YP 8 8 `Y88 Y8P `Y88P' `Y88P `Y8P `Y8P8 8 8 Y8P dP w
- dP
- *
- *
- ::: ::::::::
- :+: :+: :+:
- +:+ +:+
- +#+ +#++:
- +#+ +#+
- #+# #+# #+#
- ### ######## _ _ _
- | | | | | |
- _ _ _ __ ___ _ __ ___ _ __ _ _ _ __ | |_ ___ __| | | |__ ___ ___ __ _ _ _ ___ ___ __ _____ ___ __ _ _ __ ___
- | | | | '_ \ / _ \ '_ \ / __| '__| | | | '_ \| __/ _ \/ _` | | '_ \ / _ \/ __/ _` | | | / __|/ _ \ \ \ /\ / / _ \ / __/ _` | '__/ _ \
- | |_| | | | | __/ | | | (__| | | |_| | |_) | || __/ (_| | | |_) | __/ (_| (_| | |_| \__ \ __/ \ V V / __/ | (_| (_| | | | __/
- \__,_|_| |_|\___|_| |_|\___|_| \__, | .__/ \__\___|\__,_| |_.__/ \___|\___\__,_|\__,_|___/\___| \_/\_/ \___| \___\__,_|_| \___|
- __/ | |
- |___/|_|
- ::: ::::::::
- :+: :+: :+:
- +:+ +:+
- +#+ +#++:
- +#+ +#+
- #+# #+# #+#
- ### ########
- */
- internal class ModMenu
- {
- public class SubMenus
- {
- public static string MainMenu = "Account Menu\nVisions Menu\nWeapons Menu\nBullet Menu\nModels Menu\nAimbot Menu\nModifications\nFun Menu\nTeleport Menu\nPlayers Menu\nAll Players\nHost Menu\nGame Settings\nGametype Menu\nTheme Selector";
- public static string AccountMenu = "Suicide\nColor Classes\nClan Tag Editor\nThird Person\n15 Custom Classes\nUnlock All\nLevel 80\nChoose Prestige";
- public static string VisionMenu = "Default\nThermal\nChaplin Night\nCobra Sunset\nAC-130\nCheat Inverted\nOilrig\nWaterfall";
- public static string WeaponsMenu = "Default Weapon\nAC-130 105mm\nAC-130 40mm\nAC-130 25mm\nG Launcher\nMW2 AUG\nDesert Eagle\nNaked Barrett\nNaked MSR";
- public static string ModelMenu = "Normal\nCarepackage\nNeutral Flag\nAC-130\nDev Sphere\nRed Dev Sphere\nJuggernaut\nChicken (Seatown)";
- public static string BulletMenu = "Harrier Missles\nHarrier 20mm\nCobra 20mm\nLittlebird 20mm\nOsprey Bullets\nIMS Bullets\nAGR Missles";
- public static string Modifications = "Unlimited Ammo\nUFO Mode\nNoclip\nToggle FOV\nAll Perks\nNight Vision\nWallhack\nExplosive Bullets\nClone\nJetpack\nJavi Rain";
- public static string FunMenu = "Forge Mode\nEdit Dvar\nToggle Team\nLeft Gun\nDouble Jump\nDolphin Dive\nMake Gun Gold\nCycle Camo\nSpin Mode\nDrugs";
- public static string GameOptions = "Doheart\nNewsbar\nRestart\nUnlimited\nForce Host\nToggle Join\nJump Height\nRun Speed\nGravity\nTimescale\nBig XP";
- public static string Gametypes = "Team Deathmatch\nFree For All\nSearch & Destroy\nDomination\nCapture The Flag\nDemolition\nKill Confirmed\nGun Game\nOne In The Chamber\nOne Flag CTF\nArena";
- public static string Players = "";
- public static string AimbotMenu = "Fair Aimbot\nAiming Required\nUnfair Aimbot";
- public static string Teleport = "Teleport To Sky\nAll To Sky\nTeleport To Me\nTeleport To Nearest\nTeleport Nearest To Me\nSave Position\nLoad Position";
- public static string Stats = "Insane Stats\nHigh Stats\nModerate Stats\nLegit Stats\nLow Stats\nReset Account";
- public static string AllPlayers = "UFO Mode\nUnlimited Ammo\nAll Perks\nDrugs\nSpin Mode\nKick\nFake Derank\nFake Rank Up";
- public static string PlayersMods = "UFO Mode\nUnlimited Ammo\nAll Perks\nDrugs\nSpin Mode\nKick\nFake Derank\nFake Rank Up\nGive V.I.P\nGive Admin\nGive Co-Host";
- public static string Host = "God Mode\nInvisible\nMelee Range\nRed Boxes\nLaser\nChrome Players\nNo Recoil\nRapid Fire\nSpeed X2\nAdvertise\nChange Name";
- public static string Theme = "NextGenUpdate Theme\nSe7ensins Theme\nTree Patch Theme\nToggle Scroller Color\nToggle Shader Color\nReset Theme";
- }
- public static bool[] DoubleJump = new bool[Functions.GetActiveClients()];
- public static bool[] FairAimbot = new bool[Functions.GetActiveClients()];
- public static bool[] UnfairAimbot = new bool[Functions.GetActiveClients()];
- public static bool[] AimingRequired = new bool[Functions.GetActiveClients()];
- public static bool[] Jetpack = new bool[Functions.GetActiveClients()];
- public static bool[] DrugsMode = new bool[Functions.GetActiveClients()];
- public static bool[] SpinMode = new bool[Functions.GetActiveClients()];
- public static bool[] ForgeMode = new bool[Functions.GetActiveClients()];
- public static bool[] CycleCamo = new bool[Functions.GetActiveClients()];
- public static bool[] MenuOpen = new bool[Functions.GetActiveClients()];
- public static int[] Scroll = new int[Functions.GetActiveClients()];
- public static int[] MaxScroll = new int[Functions.GetActiveClients()];
- public static int[] Ver = new int[Functions.GetActiveClients()];
- public static int[] SelectedClient = new int[Functions.GetActiveClients()];
- public static int[] Back = new int[Functions.GetActiveClients()];
- public static string[] SubMenu = new string[Functions.GetActiveClients()];
- public static uint[] BG = new uint[Functions.GetActiveClients()];
- public static uint[] Scroller = new uint[Functions.GetActiveClients()];
- public static uint[] Title = new uint[Functions.GetActiveClients()];
- public static uint[] Text = new uint[Functions.GetActiveClients()];
- public static uint[] Controls = new uint[Functions.GetActiveClients()];
- public static uint[] Line = new uint[Functions.GetActiveClients()];
- public static void BooleanToggle(int client, bool[] Mod, string ModName)
- {
- if (!Mod[client])
- {
- Mod[client] = true;
- Functions.iPrintln(client, ModName + ": ^2On");
- }
- else
- {
- Mod[client] = false;
- Functions.iPrintln(client, ModName + ": ^1Off");
- }
- }
- public static string Key_IsDown(int client)
- {
- byte[] value = new byte[3];
- PS3.GetMemory((uint)(17880545 + 14720 * client), ref value);
- string text = BitConverter.ToString(value);
- string text2 = text.Replace("-", "");
- string text3 = text2.Replace(" ", "");
- string text4 = text3;
- string result;
- if (text4 == "000000")
- {
- result = "NONE";
- }
- else
- {
- if (text4 == "000400")
- {
- result = "X";
- }
- else
- {
- if (text4 == "000020")
- {
- result = "[ ]";
- }
- else
- {
- if (text4 == "000200")
- {
- result = "Crouch";
- }
- else
- {
- if (text4 == "000100")
- {
- result = "Prone";
- }
- else
- {
- if (text4 == "000400")
- {
- result = "X";
- }
- else
- {
- if (text4 == "000004")
- {
- result = "R3";
- }
- else
- {
- if (text4 == "002002")
- {
- result = "L3";
- }
- else
- {
- if (text4 == "004000")
- {
- result = "R2";
- }
- else
- {
- if (text4 == "008000")
- {
- result = "L2";
- }
- else
- {
- if (text4 == "080800")
- {
- result = "L1";
- }
- else
- {
- if (text4 == "000001")
- {
- result = "R1";
- }
- else
- {
- if (text4 == "002006")
- {
- result = "R3 + L3";
- }
- else
- {
- if (text4 == "000204")
- {
- result = "R3";
- }
- else
- {
- if (text4 == "002202")
- {
- result = "L3";
- }
- else
- {
- if (text4 == "004200")
- {
- result = "R2";
- }
- else
- {
- if (text4 == "008200")
- {
- result = "L2";
- }
- else
- {
- if (text4 == "00C100")
- {
- result = "Prone + R2 + L2";
- }
- else
- {
- if (text4 == "00C000")
- {
- result = "R2 + L2";
- }
- else
- {
- result = text4;
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- return result;
- }
- public static void StoreMenu(int client)
- {
- if (Functions.cl_ingame())
- {
- ModMenu.BG[client] = HudElems.SetShader(client, 2, 300f, 1000f, 470f, 0f, 0, 0, 0, 0);
- ModMenu.Scroller[client] = HudElems.SetShader(client, 2, 300f, 16f, 470f, 80f, 0, 0, 0, 0);
- ModMenu.Title[client] = HudElems.SetText(client, "Main Menu", 6, 1.0, 480f, 50f, 255, 255, 255, 0, 255, 0, 0, 255);
- ModMenu.Text[client] = HudElems.SetText(client, ModMenu.SubMenus.MainMenu, 4, 1.25, 480f, 80f, 255, 255, 255, 0, 0, 0, 0, 0);
- ModMenu.Controls[client] = HudElems.SetText(client, "[{+attack}]/[{+speed_throw}]: Scroll\n[{+gostand}]: Select\n[{+usereload}]: Back", 4, 1.25, 480f, 400f, 255, 255, 255, 0, 0, 0, 0, 0);
- ModMenu.Line[client] = HudElems.SetShader(client, 1, 1f, 1000f, 470f, 0f, 255, 255, 255, 0);
- Functions.SaveOriginalModel(client);
- }
- }
- public static void OpenMenu(int client)
- {
- HudElems.FadeAlphaOverTime(ModMenu.BG[client], 1000, 0, 180);
- HudElems.FadeAlphaOverTime(ModMenu.Scroller[client], 1000, 0, 255);
- HudElems.FadeAlphaOverTime(ModMenu.Title[client], 1000, 0, 255);
- HudElems.FadeAlphaOverTime(ModMenu.Text[client], 1000, 0, 255);
- HudElems.FadeAlphaOverTime(ModMenu.Controls[client], 1000, 0, 255);
- HudElems.FadeAlphaOverTime(ModMenu.Line[client], 1000, 0, 255);
- PS3.SetMemory((uint)(17881215 + 14720 * client), new byte[]
- {
- 4
- });
- }
- public static void CloseMenu(int client)
- {
- uint arg_16_0 = (uint)(17881215 + 14720 * client);
- byte[] bytes = new byte[1];
- PS3.SetMemory(arg_16_0, bytes);
- HudElems.FadeAlphaOverTime(ModMenu.BG[client], 1000, 180, 0);
- HudElems.FadeAlphaOverTime(ModMenu.Scroller[client], 1000, 255, 0);
- HudElems.FadeAlphaOverTime(ModMenu.Title[client], 1000, 255, 0);
- HudElems.FadeAlphaOverTime(ModMenu.Text[client], 1000, 255, 0);
- HudElems.FadeAlphaOverTime(ModMenu.Controls[client], 1000, 255, 0);
- HudElems.FadeAlphaOverTime(ModMenu.Line[client], 1000, 255, 0);
- }
- public static void MoveScroller(int client)
- {
- HudElems.MoveShaderY(ModMenu.Scroller[client], 80f + (float)ModMenu.Scroll[client] * 15.65f);
- }
- public static void ChangeSubMenu(int client, string SubMenuOptions, int maxScroll, string SubMenuName, int BackNum)
- {
- HudElems.FadeAlphaOverTime(ModMenu.Text[client], 250, 255, 0);
- HudElems.FadeAlphaOverTime(ModMenu.Title[client], 250, 255, 0);
- HudElems.ChangeText(ModMenu.Text[client], SubMenuOptions);
- ModMenu.SubMenu[client] = SubMenuName;
- HudElems.ChangeText(ModMenu.Title[client], ModMenu.SubMenu[client] + " Menu");
- HudElems.MoveOverTime(ModMenu.Scroller[client], 250f, 470f, 80f);
- HudElems.FadeAlphaOverTime(ModMenu.Title[client], 250, 0, 255);
- HudElems.FadeAlphaOverTime(ModMenu.Text[client], 250, 0, 255);
- ModMenu.Scroll[client] = 0;
- ModMenu.Back[client] = BackNum;
- ModMenu.MaxScroll[client] = maxScroll;
- ModMenu.SubMenu[client] = SubMenuName;
- Thread.Sleep(1000);
- }
- public static void BackToMain(int client)
- {
- HudElems.FadeAlphaOverTime(ModMenu.Text[client], 250, 255, 0);
- HudElems.FadeAlphaOverTime(ModMenu.Title[client], 250, 255, 0);
- HudElems.ChangeText(ModMenu.Text[client], ModMenu.SubMenus.MainMenu);
- ModMenu.SubMenu[client] = "Main";
- HudElems.ChangeText(ModMenu.Title[client], ModMenu.SubMenu[client] + " Menu");
- HudElems.MoveOverTime(ModMenu.Scroller[client], 250f, 470f, 80f + (float)ModMenu.Back[client] * 15.65f);
- HudElems.FadeAlphaOverTime(ModMenu.Title[client], 250, 0, 255);
- HudElems.FadeAlphaOverTime(ModMenu.Text[client], 250, 0, 255);
- ModMenu.Scroll[client] = ModMenu.Back[client];
- ModMenu.MaxScroll[client] = 14;
- ModMenu.SubMenu[client] = "Main";
- }
- public static void HostMenu(int client)
- {
- string text = ModMenu.Key_IsDown(client);
- if (text != null)
- {
- if (!(text == "R3"))
- {
- if (!(text == "[ ]"))
- {
- if (!(text == "R1"))
- {
- if (!(text == "L1"))
- {
- if (text == "X")
- {
- if (ModMenu.MenuOpen[client])
- {
- if (ModMenu.SubMenu[client] == "Main")
- {
- if (ModMenu.Scroll[client] == 0)
- {
- ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.AccountMenu, 7, "Account", 0);
- }
- if (ModMenu.Scroll[client] == 1)
- {
- ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.VisionMenu, 7, "Visions", 1);
- }
- if (ModMenu.Scroll[client] == 2)
- {
- ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.WeaponsMenu, 8, "Weapon", 2);
- }
- if (ModMenu.Scroll[client] == 3)
- {
- ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.BulletMenu, 6, "Bullet", 3);
- }
- if (ModMenu.Scroll[client] == 4)
- {
- ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.ModelMenu, 7, "Models", 4);
- }
- if (ModMenu.Scroll[client] == 5)
- {
- ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.AimbotMenu, 2, "Aimbot", 5);
- }
- if (ModMenu.Scroll[client] == 6)
- {
- ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.Modifications, 10, "Mods", 6);
- }
- if (ModMenu.Scroll[client] == 7)
- {
- ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.FunMenu, 9, "Fun", 8);
- }
- if (ModMenu.Scroll[client] == 8)
- {
- ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.Teleport, 6, "Teleport", 8);
- }
- if (ModMenu.Scroll[client] == 9)
- {
- ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.Players, 17, "Players", 9);
- }
- if (ModMenu.Scroll[client] == 10)
- {
- ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.AllPlayers, 7, "All Players", 10);
- }
- if (ModMenu.Scroll[client] == 11)
- {
- ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.Host, 9, "Host", 11);
- }
- if (ModMenu.Scroll[client] == 12)
- {
- ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.GameOptions, 10, "Settings", 12);
- }
- if (ModMenu.Scroll[client] == 13)
- {
- ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.Gametypes, 10, "Gametype", 13);
- }
- if (ModMenu.Scroll[client] == 14)
- {
- ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.Theme, 5, "Theme", 14);
- }
- }
- if (ModMenu.SubMenu[client] == "Account")
- {
- if (ModMenu.Scroll[client] == 0)
- {
- }
- if (ModMenu.Scroll[client] == 1)
- {
- }
- if (ModMenu.Scroll[client] == 2)
- {
- }
- if (ModMenu.Scroll[client] == 3)
- {
- Functions.thirdPerson(client);
- }
- if (ModMenu.Scroll[client] == 4)
- {
- }
- if (ModMenu.Scroll[client] == 5)
- {
- Functions.FakeUnlockAll(client);
- }
- if (ModMenu.Scroll[client] == 6)
- {
- }
- if (ModMenu.Scroll[client] == 7)
- {
- Functions.TogglePrestige(client);
- }
- }
- if (ModMenu.SubMenu[client] == "Visions")
- {
- if (ModMenu.Scroll[client] == 0)
- {
- Functions.SetVision(client, "default_mp", 1);
- }
- if (ModMenu.Scroll[client] == 1)
- {
- Functions.SetVision(client, "ac130_thermal", 1);
- }
- if (ModMenu.Scroll[client] == 2)
- {
- Functions.SetVision(client, "cheat_chaplinnight", 1);
- }
- if (ModMenu.Scroll[client] == 3)
- {
- Functions.SetVision(client, "cobra_sunset2", 1);
- }
- if (ModMenu.Scroll[client] == 4)
- {
- Functions.SetVision(client, "ac130", 1);
- }
- if (ModMenu.Scroll[client] == 5)
- {
- Functions.SetVision(client, "cheat_bw_invert_contrast", 1);
- }
- if (ModMenu.Scroll[client] == 6)
- {
- Functions.SetVision(client, "oilrig_underwater", 1);
- }
- if (ModMenu.Scroll[client] == 7)
- {
- }
- }
- if (ModMenu.SubMenu[client] == "Weapon")
- {
- if (ModMenu.Scroll[client] == 0)
- {
- Functions.Weapons.GiveWeapon(client, Offsets.Weapons.defaultweapon_mp);
- Functions.iPrintln(client, "Default Weapon");
- }
- if (ModMenu.Scroll[client] == 1)
- {
- Functions.Weapons.GiveWeapon(client, Offsets.Weapons.ac130_105mm_mp);
- Functions.iPrintln(client, "AC-130 105mm");
- }
- if (ModMenu.Scroll[client] == 2)
- {
- Functions.Weapons.GiveWeapon(client, Offsets.Weapons.ac130_40mm_mp);
- Functions.iPrintln(client, "AC-130 40mm");
- }
- if (ModMenu.Scroll[client] == 3)
- {
- Functions.Weapons.GiveWeapon(client, Offsets.Weapons.ac130_25mm_mp);
- Functions.iPrintln(client, "AC-130 25mm");
- }
- if (ModMenu.Scroll[client] == 4)
- {
- Functions.Weapons.GiveWeapon(client, Offsets.Weapons.iw5_gl_mp);
- Functions.iPrintln(client, "G Launcher");
- }
- if (ModMenu.Scroll[client] == 5)
- {
- Functions.iPrintln(client, "MW2 AUG");
- }
- if (ModMenu.Scroll[client] == 6)
- {
- Functions.Weapons.GiveWeapon(client, Offsets.Weapons.iw5_deserteagle_mp);
- Functions.iPrintln(client, "Desert Eagle");
- }
- if (ModMenu.Scroll[client] == 7)
- {
- Functions.Weapons.GiveWeapon(client, Offsets.Weapons.iw5_barrett_mp);
- Functions.iPrintln(client, "Naked Barrett");
- }
- if (ModMenu.Scroll[client] == 8)
- {
- Functions.Weapons.GiveWeapon(client, Offsets.Weapons.iw5_msr_mp);
- Functions.iPrintln(client, "Naked MSR");
- }
- }
- if (ModMenu.SubMenu[client] == "Bullet")
- {
- if (ModMenu.Scroll[client] == 0)
- {
- Functions.Weapons.GiveWeapon(client, Offsets.Weapons.harrier_missile_mp);
- Functions.iPrintln(client, "Harrier Missles");
- }
- if (ModMenu.Scroll[client] == 1)
- {
- Functions.Weapons.GiveWeapon(client, Offsets.Weapons.harrier_ffar_mp);
- Functions.iPrintln(client, "Harrier 20mm");
- }
- if (ModMenu.Scroll[client] == 2)
- {
- Functions.Weapons.GiveWeapon(client, Offsets.Weapons.cobra_20mm_mp);
- Functions.iPrintln(client, "Cobra 20mm");
- }
- if (ModMenu.Scroll[client] == 3)
- {
- Functions.Weapons.GiveWeapon(client, Offsets.Weapons.littlebird_20mm_mp);
- Functions.iPrintln(client, "Littlebird 20mm");
- }
- if (ModMenu.Scroll[client] == 4)
- {
- Functions.Weapons.GiveWeapon(client, Offsets.Weapons.osprey_minigun_mp);
- Functions.iPrintln(client, "Osprey Bullets");
- }
- if (ModMenu.Scroll[client] == 5)
- {
- Functions.Weapons.GiveWeapon(client, Offsets.Weapons.ims_projectile_mp);
- Functions.iPrintln(client, "IMS Bullets");
- }
- if (ModMenu.Scroll[client] == 6)
- {
- Functions.Weapons.GiveWeapon(client, Offsets.Weapons.remotemissile_projectile_mp);
- Functions.iPrintln(client, "AGR Bullets");
- }
- }
- if (ModMenu.SubMenu[client] == "Models")
- {
- if (ModMenu.Scroll[client] == 0)
- {
- Functions.ChangeModel(client, Functions.SavedModel);
- Functions.iPrintlnBold(client, "Model: ^2Default");
- }
- if (ModMenu.Scroll[client] == 1)
- {
- Functions.SetModel(client, "com_plasticcase_green_big_us_dirt", "Carepackage");
- }
- if (ModMenu.Scroll[client] == 2)
- {
- Functions.SetModel(client, "prop_flag_neutral", "Flag");
- }
- if (ModMenu.Scroll[client] == 3)
- {
- Functions.SetModel(client, "vehicle_ac130_coop", "AC-130");
- }
- if (ModMenu.Scroll[client] == 4)
- {
- Functions.SetModel(client, "dev_sphere", "Dev Sphere");
- }
- if (ModMenu.Scroll[client] == 5)
- {
- Functions.SetModel(client, "dev_sphere_red", "Red Dev Sphere");
- }
- if (ModMenu.Scroll[client] == 6)
- {
- Functions.SetModel(client, "mp_fullbody_opforce_juggernaut", "Juggernaut");
- }
- if (ModMenu.Scroll[client] == 7)
- {
- Functions.SetModel(client, "chicken", "Chicken");
- }
- }
- if (ModMenu.SubMenu[client] == "Aimbot")
- {
- if (ModMenu.Scroll[client] == 0)
- {
- ModMenu.BooleanToggle(client, ModMenu.FairAimbot, "Fair Aimbot");
- }
- if (ModMenu.Scroll[client] == 1)
- {
- ModMenu.BooleanToggle(client, ModMenu.AimingRequired, "Aiming Required");
- }
- if (ModMenu.Scroll[client] == 2)
- {
- ModMenu.BooleanToggle(client, ModMenu.UnfairAimbot, "Unfair Aimbot");
- }
- }
- if (ModMenu.SubMenu[client] == "Mods")
- {
- if (ModMenu.Scroll[client] == 0)
- {
- byte[] bytes = new byte[]
- {
- 15,
- 255,
- 255,
- 255
- };
- byte[] bytes2 = new byte[]
- {
- 15,
- 255,
- 255
- };
- PS3.SetMemory((uint)(17868459 + 14720 * client), bytes);
- PS3.SetMemory((uint)(17868329 + 14720 * client), bytes2);
- byte[] bytes3 = new byte[]
- {
- 15,
- 255,
- 255,
- 255
- };
- byte[] bytes4 = new byte[]
- {
- 15,
- 255,
- 255
- };
- PS3.SetMemory((uint)(17868433 + 14720 * client), bytes3);
- PS3.SetMemory((uint)(17868313 + 14720 * client), bytes4);
- PS3.SetMemory((uint)(17868432 + 14720 * client), bytes4);
- PS3.SetMemory((uint)(17868456 + 14720 * client), bytes4);
- PS3.SetMemory((uint)(17868493 + 14720 * client), bytes4);
- PS3.SetMemory((uint)(17868480 + 14720 * client), bytes4);
- PS3.SetMemory((uint)(17868444 + 14720 * client), bytes4);
- PS3.SetMemory((uint)(17868480 + 14720 * client), bytes4);
- PS3.SetMemory((uint)(17868468 + 14720 * client), bytes4);
- Functions.iPrintln(client, "Unlimited Ammo");
- }
- if (ModMenu.Scroll[client] == 1)
- {
- Functions.ufoMode(client);
- }
- if (ModMenu.Scroll[client] == 2)
- {
- Functions.noClip(client);
- }
- if (ModMenu.Scroll[client] == 3)
- {
- Functions.ToggleFieldOfView(client);
- }
- if (ModMenu.Scroll[client] == 4)
- {
- Functions.allPerks(client);
- }
- if (ModMenu.Scroll[client] == 5)
- {
- Functions.nightVision(client);
- }
- if (ModMenu.Scroll[client] == 6)
- {
- }
- if (ModMenu.Scroll[client] == 7)
- {
- Functions.explosiveBullets(client);
- }
- if (ModMenu.Scroll[client] == 8)
- {
- Functions.clonePlayer(client);
- }
- if (ModMenu.Scroll[client] == 9)
- {
- ModMenu.BooleanToggle(client, ModMenu.Jetpack, "Jetpack");
- }
- if (ModMenu.Scroll[client] == 10)
- {
- Functions.ToggleJaviRain(client);
- }
- }
- if (ModMenu.SubMenu[client] == "Fun")
- {
- if (ModMenu.Scroll[client] == 0)
- {
- ModMenu.BooleanToggle(client, ModMenu.ForgeMode, "Forge Mode");
- }
- if (ModMenu.Scroll[client] == 1)
- {
- Functions.editDvar(client);
- }
- if (ModMenu.Scroll[client] == 2)
- {
- Functions.toggleTeam(client);
- }
- if (ModMenu.Scroll[client] == 3)
- {
- Functions.leftGun(client);
- }
- if (ModMenu.Scroll[client] == 4)
- {
- ModMenu.BooleanToggle(client, ModMenu.DoubleJump, "Double Jump");
- }
- if (ModMenu.Scroll[client] == 5)
- {
- Functions.dolphinDive(client);
- }
- if (ModMenu.Scroll[client] == 6)
- {
- Functions.Weapons.ChangeCamo(client, Functions.Weapons.Camos.Gold);
- }
- if (ModMenu.Scroll[client] == 7)
- {
- ModMenu.BooleanToggle(client, ModMenu.CycleCamo, "Cycle Camos");
- }
- if (ModMenu.Scroll[client] == 8)
- {
- ModMenu.BooleanToggle(client, ModMenu.SpinMode, "Spin Mode");
- }
- if (ModMenu.Scroll[client] == 9)
- {
- ModMenu.BooleanToggle(client, ModMenu.DrugsMode, "Drugs");
- }
- }
- }
- }
- }
- else
- {
- if (ModMenu.MenuOpen[client])
- {
- if (ModMenu.Scroll[client] == 0)
- {
- HudElems.MoveOverTime(ModMenu.Scroller[client], 250f, 470f, 80f + (float)ModMenu.MaxScroll[client] * 15.65f);
- ModMenu.Scroll[client] = ModMenu.MaxScroll[client];
- }
- else
- {
- ModMenu.Scroll[client]--;
- ModMenu.MoveScroller(client);
- }
- }
- }
- }
- else
- {
- if (ModMenu.MenuOpen[client])
- {
- if (ModMenu.Scroll[client] == ModMenu.MaxScroll[client])
- {
- HudElems.MoveOverTime(ModMenu.Scroller[client], 250f, 470f, 80f);
- ModMenu.Scroll[client] = 0;
- }
- else
- {
- ModMenu.Scroll[client]++;
- ModMenu.MoveScroller(client);
- }
- }
- }
- }
- else
- {
- if (ModMenu.MenuOpen[client])
- {
- if (ModMenu.SubMenu[client] == "Main")
- {
- ModMenu.CloseMenu(client);
- Thread.Sleep(1000);
- ModMenu.MenuOpen[client] = false;
- ModMenu.SubMenu[client] = "Closed";
- }
- else
- {
- ModMenu.BackToMain(client);
- }
- }
- }
- }
- else
- {
- if (!ModMenu.MenuOpen[client])
- {
- ModMenu.OpenMenu(client);
- Thread.Sleep(1000);
- ModMenu.MenuOpen[client] = true;
- ModMenu.Scroll[client] = 0;
- ModMenu.MaxScroll[client] = 14;
- ModMenu.SubMenu[client] = "Main";
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement