Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using GTA;
- using GTA.Native;
- using NativeUI;
- using System;
- using System.Windows.Forms;
- internal class ParticleManController : Script
- {
- private MenuPool _menuPool;
- private UIMenu mainMenu;
- private UIMenu OtherOptionsSubMenu;
- private bool ParticleHandsActive;
- private UIMenuCheckboxItem ParticleHandsCheckbox;
- private bool ParticleFeetActive;
- private UIMenuCheckboxItem ParticleFeetCheckbox;
- private bool ParticleHeadActive;
- private UIMenuCheckboxItem ParticleHeadCheckbox;
- private bool FullBodyActive;
- private UIMenuCheckboxItem FullBodyCheckbox;
- private bool SuperPunchActive;
- private UIMenuCheckboxItem SuperPunchCheckbox;
- private bool SuperJumpActive;
- private UIMenuCheckboxItem SuperJumpCheckbox;
- private ScriptSettings Config;
- private Keys openMenu;
- public ParticleManController()
- {
- base.\u002Ector();
- this.add_KeyUp(new KeyEventHandler(this.OnKeyUp));
- this.add_Tick(new EventHandler(this.OnTick));
- this._menuPool = new MenuPool();
- this.LoadIniFile("scripts//ParticleMan.ini");
- }
- private void LoadIniFile(string iniName)
- {
- try
- {
- this.Config = ScriptSettings.Load(iniName);
- this.openMenu = (Keys) this.Config.GetValue<Keys>("Configurations", "OpenMenu", (M0) 120);
- }
- catch (Exception ex)
- {
- UI.Notify("~r~Error~w~: Config.ini Failed To Load.");
- }
- }
- private void OnListChange(UIMenu sender, UIMenuListItem list, int index)
- {
- }
- public void OnCheckboxChange(UIMenu sender, UIMenuCheckboxItem checkbox, bool Checked)
- {
- if (sender == this.mainMenu && checkbox == this.ParticleHandsCheckbox)
- {
- if (Checked)
- {
- if (Checked)
- {
- this.ParticleHandsActive = true;
- UI.Notify("Particle Hands: ~g~ON");
- }
- }
- else
- {
- this.ParticleHandsActive = false;
- UI.Notify("Particle Hands: ~r~OFF");
- }
- }
- if (sender == this.mainMenu && checkbox == this.ParticleFeetCheckbox)
- {
- if (Checked)
- {
- if (Checked)
- {
- this.ParticleFeetActive = true;
- UI.Notify("Particle Feet: ~g~ON");
- }
- }
- else
- {
- this.ParticleFeetActive = false;
- UI.Notify("Particle Feet: ~r~OFF");
- }
- }
- if (sender == this.mainMenu && checkbox == this.ParticleHeadCheckbox)
- {
- if (Checked)
- {
- if (Checked)
- {
- this.ParticleHeadActive = true;
- UI.Notify("Particle Head: ~g~ON");
- }
- }
- else
- {
- this.ParticleHeadActive = false;
- UI.Notify("Particle Head: ~r~OFF");
- }
- }
- if (sender == this.mainMenu && checkbox == this.FullBodyCheckbox)
- {
- if (Checked)
- {
- if (Checked)
- {
- this.FullBodyActive = true;
- UI.Notify("Particle On Full Body: ~g~ON");
- }
- }
- else
- {
- this.FullBodyActive = false;
- UI.Notify("Particle On Full Body: ~r~OFF");
- }
- }
- if (sender == this.OtherOptionsSubMenu && checkbox == this.SuperPunchCheckbox)
- {
- if (Checked)
- {
- if (Checked)
- {
- this.SuperPunchActive = true;
- UI.Notify("Super Punch: ~g~ON");
- }
- }
- else
- {
- this.SuperPunchActive = false;
- UI.Notify("Super Punch: ~r~OFF");
- }
- }
- if (sender != this.OtherOptionsSubMenu || checkbox != this.SuperJumpCheckbox)
- return;
- if (Checked)
- {
- if (!Checked)
- return;
- this.SuperJumpActive = true;
- UI.Notify("Super Jump: ~g~ON");
- }
- else
- {
- this.SuperJumpActive = false;
- UI.Notify("Super Jump: ~r~OFF");
- }
- }
- private void OnKeyUp(object sender, KeyEventArgs e)
- {
- if (e.KeyCode != this.openMenu)
- return;
- this.StartUpMenu();
- }
- private void OnTick(object sender, EventArgs e)
- {
- this._menuPool.ProcessMenus();
- if (this.ParticleHandsActive)
- {
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(36029),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(6286),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- }
- if (this.ParticleFeetActive)
- {
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(65245),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(35502),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- }
- if (this.ParticleHeadActive)
- {
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(12844),
- InputArgument.op_Implicit(0.08f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- }
- if (this.FullBodyActive)
- {
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(36029),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(6286),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(65245),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(35502),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(12844),
- InputArgument.op_Implicit(0.08f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(46078),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(16335),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(22711),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(2992),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(45509),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(40269),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(23553),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(24816),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(24817),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- Function.Call((Hash) -5184338789570016586L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 7798175403732277905L, new InputArgument[1]
- {
- InputArgument.op_Implicit("scr_rcbarry2")
- });
- Function.Call((Hash) 1044398152630765081L, new InputArgument[13]
- {
- InputArgument.op_Implicit("scr_clown_appears"),
- InputArgument.op_Implicit(Game.get_Player().get_Character()),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(0.0f),
- InputArgument.op_Implicit(24818),
- InputArgument.op_Implicit(0.05f),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false),
- InputArgument.op_Implicit(false)
- });
- }
- if (this.SuperPunchActive)
- Function.Call((Hash) -64196628141305888L, new InputArgument[1]
- {
- InputArgument.op_Implicit(Game.get_Player())
- });
- if (!this.SuperJumpActive)
- return;
- Function.Call((Hash) 6341050950550703115L, new InputArgument[1]
- {
- InputArgument.op_Implicit(Game.get_Player())
- });
- }
- private void OnItemSelect(UIMenu sender, UIMenuItem selectedItem, int index)
- {
- }
- private UIMenu StartUpMenu()
- {
- this.mainMenu = new UIMenu("Particle Man", "~b~PARTICLE MAN: MAIN MENU");
- this._menuPool.Add(this.mainMenu);
- this.mainMenu.AddItem((UIMenuItem) (this.ParticleHandsCheckbox = new UIMenuCheckboxItem("Particle Hands", false, "Enable/Disable Particle Hands.")));
- this.mainMenu.AddItem((UIMenuItem) (this.ParticleFeetCheckbox = new UIMenuCheckboxItem("Particle Feet", false, "Enable/Disable Particle Feet.")));
- this.mainMenu.AddItem((UIMenuItem) (this.ParticleHeadCheckbox = new UIMenuCheckboxItem("Particle Head", false, "Enable/Disable Particle Head.")));
- this.mainMenu.AddItem((UIMenuItem) (this.FullBodyCheckbox = new UIMenuCheckboxItem("Full Body", false, "Enable/Disable Particle On Full Body.")));
- UIMenuItem uiMenuItem = new UIMenuItem("Other Options");
- this.mainMenu.AddItem(uiMenuItem);
- // ISSUE: method pointer
- this.mainMenu.add_OnItemSelect(new ItemSelectEvent((object) this, __methodptr(OnItemSelect)));
- // ISSUE: method pointer
- this.mainMenu.add_OnCheckboxChange(new CheckboxChangeEvent((object) this, __methodptr(OnCheckboxChange)));
- this.mainMenu.RefreshIndex();
- this.mainMenu.BindMenuToItem(this.OtherOptions(), uiMenuItem);
- this.mainMenu.set_Visible(!this.mainMenu.get_Visible());
- return this.mainMenu;
- }
- private UIMenu OtherOptions()
- {
- this.OtherOptionsSubMenu = new UIMenu("Particle Man", "~b~PARTICLE MAN: OTHER OPTIONS");
- this._menuPool.Add(this.OtherOptionsSubMenu);
- this.OtherOptionsSubMenu.AddItem((UIMenuItem) (this.SuperPunchCheckbox = new UIMenuCheckboxItem("Super Punch", false, "Enable/Disable Super Punch.")));
- this.OtherOptionsSubMenu.AddItem((UIMenuItem) (this.SuperJumpCheckbox = new UIMenuCheckboxItem("Super Jump", false, "Enable/Disable Super Jump.")));
- // ISSUE: method pointer
- this.OtherOptionsSubMenu.add_OnItemSelect(new ItemSelectEvent((object) this, __methodptr(OnItemSelect)));
- // ISSUE: method pointer
- this.OtherOptionsSubMenu.add_OnCheckboxChange(new CheckboxChangeEvent((object) this, __methodptr(OnCheckboxChange)));
- this.OtherOptionsSubMenu.RefreshIndex();
- return this.OtherOptionsSubMenu;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement