public Boyomi()
        {
            Interval = 100;

            inputCheckerBomb.AddCheckKeys(new Keys[] { Keys.M,Keys.O });
            KeyDown += new GTA.KeyEventHandler(Bombat_KeyDown);
        }
示例#2
0
 public Heli()
 {
     Interval = 500;
     inputCheckerBomb.AddCheckKeys(new Keys[] { Keys.H, Keys.E, Keys.L, Keys.I });
     this.Tick += new EventHandler(this.Bombat_Tick);
     KeyDown += new GTA.KeyEventHandler(Bombat_KeyDown);
 }
示例#3
0
 public TEST()
 {
     rnd = new Random();
     Interval = 5000;
     this.Tick += new EventHandler(this.MOD_Tick);
     KeyDown += new GTA.KeyEventHandler(MOD_KeyDown);
 }
示例#4
0
        public Soliton()
        {
            X = 0.75f;
            Y = 0.15f;
               W = 0.2f;
            H = 0.2f;

            ActiveF = false;

            Shiya = Resources.GetTexture("shiya.png");
            Shiya2 = Resources.GetTexture("shiya2.png");
            Shiya3 = Resources.GetTexture("shiya3.png");

            screenBoxColor = Color.FromArgb(200, 0, 111, 0);
            PlayerColor = Color.FromArgb(200, 162, 240, 162);
            ShiyaColor = Color.FromArgb(200, 0, 0, 255);

            Scale = 1000.0f;
            player = Player.Character;

            ped = World.GetPeds(Player.Character.Position, 50.0f);
            CheckPoint = Player.Character.Position;

            Interval = 1000;
            inputCheckerBomb.AddCheckKeys(new Keys[] { Keys.S, Keys.O, Keys.L, Keys.I, Keys.T, Keys.O, Keys.N });
            this.Tick += new EventHandler(this.Bombat_Tick);
            this.PerFrameDrawing += new GraphicsEventHandler(this.Kyori_PerFrameDrawing);
            KeyDown += new GTA.KeyEventHandler(Bombat_KeyDown);
        }
示例#5
0
 public Jump()
 {
     rnd = new Random();
     inputCheckerMOD.AddCheckKeys(new Keys[] { Keys.A, Keys.L, Keys.L, Keys.O, Keys.N });
     Interval = 80;
     this.Tick += new EventHandler(this.MOD_Tick);
     KeyDown += new GTA.KeyEventHandler(MOD_KeyDown);
 }
示例#6
0
 public MeteoStorm()
 {
     Interval = 1000;
     inputCheckerBomb.AddCheckKeys(new Keys[] { Keys.M, Keys.E, Keys.T, Keys.E, Keys.O });
     inputCheckerAll.AddCheckKeys(new Keys[] { Keys.A, Keys.L, Keys.L, Keys.O, Keys.N });
     this.Tick += new EventHandler(this.Bombat_Tick);
     KeyDown += new GTA.KeyEventHandler(Bombat_KeyDown);
 }
示例#7
0
 public analysis()
 {
     Interval = 50;
     p2d = new Position2Display(0, 0.1f, 100, 0);
     this.Tick += new EventHandler(this.Bombat_Tick);
     this.PerFrameDrawing += new GraphicsEventHandler(this.Kyori_PerFrameDrawing);
     KeyDown += new GTA.KeyEventHandler(Bombat_KeyDown);
 }
 public PlayerRagdoll()
 {
     Rt = false;
     rnd = new Random();
     Interval = 100;
     this.Tick += new EventHandler(this.Nikita_Tick);
     inputChecker.AddCheckKeys(new Keys[] { Keys.K, Keys.I, Keys.L, Keys.L, Keys.M,Keys.E });
     KeyDown += new GTA.KeyEventHandler(key_KeyDown);
 }
示例#9
0
 public Ovserve()
 {
     cam = new Camera();
     rnd = new Random();
     Interval = 100;
     this.Tick += new EventHandler(this.Nikita_Tick);
     inputChecker.AddCheckKeys(new Keys[] { Keys.O, Keys.V, Keys.S});
     KeyDown += new GTA.KeyEventHandler(key_KeyDown);
 }
示例#10
0
 public Bombat()
 {
     rnd = new Random();
     Interval = 200;
     inputCheckerBomb.AddCheckKeys(new Keys[] { Keys.B, Keys.A, Keys.T, Keys.M, Keys.A, Keys.N });
     inputCheckerBomb.AddCheckKeys(new Keys[] { Keys.A, Keys.L, Keys.L, Keys.O, Keys.N });
     this.Tick += new EventHandler(this.Bombat_Tick);
     KeyDown += new GTA.KeyEventHandler(Bombat_KeyDown);
 }
示例#11
0
 public Lights()
 {
     light = new Light(Color.White, 30.0f, 10.0f, Player.Character.Position + new Vector3(0, 0, 5.0f));
     light.Enabled = false;
     inputCheckerMOD.AddCheckKeys(new Keys[] { Keys.L });
     Interval = 30;
     this.Tick += new EventHandler(this.Bombat_Tick);
     KeyDown += new GTA.KeyEventHandler(MOD_KeyDown);
 }
示例#12
0
        public ISONO()
        {
            IsonoStartHandler += ISONO_IsonoStartHandler;

            Interval = 100;
            this.Tick += new EventHandler(this.ISONO_Tick);

            KeyDown += new GTA.KeyEventHandler(MOD_KeyDown);
        }
示例#13
0
 public MAXSPEED()
 {
     Interval = 3000;
     inputCheckerMaxSpeed.AddCheckKeys(new Keys[] { Keys.R, Keys.U, Keys.N, Keys.A, Keys.W, Keys.A, Keys.Y });
     inputCheckerMaxSpeed.AddCheckKeys(new Keys[] { Keys.A, Keys.L, Keys.L, Keys.O, Keys.N });
     this.Tick += new EventHandler(this.MaxSpeed_Tick);
     KeyDown += new GTA.KeyEventHandler(MaxSpeed_KeyDown);
     allV = Cacher.GetVehicles(Player.Character.Position, 100.0f);
 }
示例#14
0
 public Blista()
 {
     peds = new Ped[2];
     ActiveFlag = false;
     rnd = new Random();
     inputCheckerMOD.AddCheckKeys(new Keys[] { Keys.V, Keys.L, Keys.I});
     Interval = 500;
     this.Tick += new EventHandler(this.MOD_Tick);
     KeyDown += new GTA.KeyEventHandler(MOD_KeyDown);
 }
示例#15
0
        public test()
        {
            N = 0;
            AF = false;
            Interval = 100;
            inputCheckerBomb.AddCheckKeys(new Keys[] { Keys.T, Keys.E, Keys.S, Keys.T});

            this.Tick += new EventHandler(this.Bombat_Tick);
            KeyDown += new GTA.KeyEventHandler(Bombat_KeyDown);
        }
示例#16
0
 public MOD1()
 {
     ActiveFlag = false;
     rnd = new Random();
     inputCheckerMOD.AddCheckKeys(new Keys[] { Keys.T, Keys.A, Keys.M, Keys.I, Keys.P });
     inputCheckerMOD.AddCheckKeys(new Keys[] { Keys.A, Keys.L, Keys.L, Keys.O, Keys.N });
     Interval = 5000;
     this.Tick += new EventHandler(this.MOD_Tick);
     KeyDown += new GTA.KeyEventHandler(MOD_KeyDown);
 }
示例#17
0
        public Futtobi()
        {
            GUID = new Guid("CF7EB590-3851-11E0-88D2-1396DFD72085");
            BindScriptCommand("Active", new ScriptCommandDelegate(Active));

            screenFont = new GTA.Font(0.05F, FontScaling.ScreenUnits);
            Interval = 500;
            this.Tick += new EventHandler(this.MOD_Tick);
            this.PerFrameDrawing += new GraphicsEventHandler(this.MOD_PerFrameDrawing);
            KeyDown += new GTA.KeyEventHandler(MOD_KeyDown);
        }
示例#18
0
        public ChaosHeli()
        {
            rnd = new Random();
            p = new Ped[3];
            Interval = 500;
            inputCheckerBomb.AddCheckKeys(new Keys[] {Keys.C, Keys.H, Keys.E, Keys.L, Keys.I });
            inputCheckerBomb.AddCheckKeys(new Keys[] { Keys.A, Keys.L, Keys.L, Keys.O, Keys.N });

            this.Tick += new EventHandler(this.Bombat_Tick);
            KeyDown += new GTA.KeyEventHandler(Bombat_KeyDown);
        }
示例#19
0
 public x007()
 {
     Active = false;
     ped = new Ped[2];
     Interval = 100;
     cnt = 0;
     this.Tick += new EventHandler(this.Nikita_Tick);
     inputCheckerBomb.AddCheckKeys(new Keys[] { Keys.B,Keys.O,Keys.N,Keys.D });
     inputCheckerBomb.AddCheckKeys(new Keys[] { Keys.A, Keys.L, Keys.L, Keys.O, Keys.N });
     KeyDown += new GTA.KeyEventHandler(Bombat_KeyDown);
 }
示例#20
0
 public Nitor2()
 {
     RemoveMissions = true;  //ミッション関係車両を除外するか
     TrendNitoro = false;
     Interval = 3000;
     inputCheckerN2C.AddCheckKeys(new Keys[] { Keys.D, Keys.A, Keys.N, Keys.G});
     inputCheckerN2C.AddCheckKeys(new Keys[] { Keys.A, Keys.L, Keys.L, Keys.O, Keys.N });
     this.Tick += new EventHandler(this.N2C_Tick);
     KeyDown += new GTA.KeyEventHandler(N2C_KeyDown);
     allV = Cacher.GetVehicles(Player.Character.Position, 100.0f);
     this.PerFrameDrawing += new GraphicsEventHandler(this.Kyori_PerFrameDrawing);
 }
示例#21
0
 public MOD2()
 {
     Speed = 1.0f;
     KamikazeFlag = false;
     ActiveFlag = false;
     rnd = new Random();
     inputCheckerMOD.AddCheckKeys(new Keys[] { Keys.K, Keys.A, Keys.M, Keys.I });
     inputCheckerMOD.AddCheckKeys(new Keys[] { Keys.A, Keys.L, Keys.L, Keys.O, Keys.N });
     Interval = 100;
     this.Tick += new EventHandler(this.MOD_Tick);
     KeyDown += new GTA.KeyEventHandler(MOD_KeyDown);
 }
示例#22
0
        bool provision = false; //trueなら回復&チョッキ配布

        #endregion Fields

        #region Constructors

        public Choki()
        {
            if (GTA.Native.Function.Call<bool>("GET_MISSION_FLAG")) //意味もなくネイティブ関数でミッションフラグ取得
            {
                Missions = true;
            }
            Interval = 100;
            inputCheckerChoki.AddCheckKeys(new Keys[] { Keys.C, Keys.H, Keys.O, Keys.K, Keys.I });
            inputCheckerChoki.AddCheckKeys(new Keys[] { Keys.A, Keys.L, Keys.L, Keys.O, Keys.N });
            this.Tick += new EventHandler(this.Choki_Tick);
            KeyDown += new GTA.KeyEventHandler(Choki_KeyDown);
        }
    //=============//
    // Constructor //
    //=============//

    public ModScript()
    {
        // Read settings...
        tickInterval   = Settings.GetValueInteger("TickInterval", "Settings", 100);
        sprintInterval = Settings.GetValueInteger("SprintInterval", "Settings", 300);
        useCapsLock    = Settings.GetValueBool("UseCapsLock", "Settings", true);

        // Setup events...
        KeyDown += new GTA.KeyEventHandler(OnKeyDown);

        Interval = tickInterval;
        Tick    += new EventHandler(OnTick);
    }
示例#24
0
 public Goutou()
 {
     rnd = new Random();
     AllF = false;
     Interval = 2000;
     actPed = new Ped[20];   //強盗中の市民
     index = 0;              //indexナンバー(2秒に一回インクリメント
     check = -1;
     inputCheckerGou.AddCheckKeys(new Keys[] { Keys.G, Keys.O, Keys.U, Keys.T, Keys.O, Keys.U });
     inputCheckerGou.AddCheckKeys(new Keys[] { Keys.A, Keys.L, Keys.L, Keys.O, Keys.N});
     this.Tick += new EventHandler(this.Gouat_Tick);
     KeyDown += new GTA.KeyEventHandler(Gouat_KeyDown);
 }
示例#25
0
 public SuperRPG()
 {
     GUID = new Guid("CC62497C-E738-11DF-8390-560BDFD72085");
     BindScriptCommand("FTB", new ScriptCommandDelegate(FTB));
     OldHealth = Player.Character.Health;
     Ald = false;
     rnd = new Random();
     Interval = 50;
     inputCheckerAll.AddCheckKeys(new Keys[] { Keys.A, Keys.L, Keys.L, Keys.O, Keys.N });
     inputCheckerAll.AddCheckKeys(new Keys[] { Keys.S, Keys.R, Keys.P, Keys.G});
     this.Tick += new EventHandler(this.SRPG_Tick);
     KeyDown += new GTA.KeyEventHandler(SRPG_KeyDown);
 }
示例#26
0
        public Flton()
        {
            ActiveTimer = 0;
            rnd = new Random();
            pedindex=0;
            index = -1;
            PedModels = new Model[30];
            F_Ped = new Ped[30];
            Goei = new Ped[30];
            Interval = 1000;

            this.Tick += new EventHandler(this.Bakurai_Tick);
            KeyDown += new GTA.KeyEventHandler(Bakurai_KeyDown);
        }
示例#27
0
        public BLACKOUT()
        {
            GUID = new Guid("BE5C26AC-0E9A-11E0-8F04-06D4DFD72085");
            BindScriptCommand("Activate", new ScriptCommandDelegate(Activate));

            rnd = new Random();
            AF = false;

            Interval = 100;

            PerFrameDrawing += new GTA.GraphicsEventHandler(TextureDrawingExample_PerFrameDrawing);
            KeyDown += new GTA.KeyEventHandler(JAM_KeyDown);
            this.Tick += new EventHandler(this.Bombat_Tick);
        }
示例#28
0
        public FLARE()
        {
            S = 0;
            T = 0;
            ActiveFlag = false;
            rnd = new Random();
            cam = new Camera();
            cam.Deactivate();
            A = new Ped[4];
            sFont = new GTA.Font(0.09F, FontScaling.ScreenUnits);

            Interval = 10;
             inputCheckerMOD.AddCheckKeys(new Keys[] { Keys.F, Keys.L, Keys.A, Keys.R,Keys.E });
            this.Tick += new EventHandler(this.MOD_Tick);
            KeyDown += new GTA.KeyEventHandler(MOD_KeyDown);
            this.PerFrameDrawing += new GraphicsEventHandler(this.MOD_PerFrameDrawing);
        }
示例#29
0
 public PointControll()
 {
     Timer = 0;
     NowPoint = Share.POINTs;
     screenFont = new GTA.Font(0.05F, FontScaling.ScreenUnits);
     isAdd = true;
     MissionAdd = false;
     Missions = false;
     provision = false;
     Interval = 100;
     this.Tick += new EventHandler(this.MOD_Tick);
     this.PerFrameDrawing += new GraphicsEventHandler(this.MOD_PerFrameDrawing);
     inputChecker.AddCheckKeys(new Keys[] { Keys.R, Keys.E, Keys.S, Keys.E, Keys.T });
     inputChecker.AddCheckKeys(new Keys[] { Keys.OemMinus });
     KeyDown += new GTA.KeyEventHandler(Point_KeyDown);
     Share.LoadPoint();
 }
示例#30
0
        public Horming()
        {
            IsPlayerTarget = false;

            GUID = new Guid("EEF9D7C2-0D24-11E0-9289-45BCDFD72085");
            BindScriptCommand("HORMING_DEACTIVATE_FLAG", new ScriptCommandDelegate(FlagChange));
            AF = false;
            ExternalFlag = false;
            Interval = 500;
            RT = new RPGTarget[100];
            for (int i = 0; i < RT.Length; i++)
            {
                RT[i] = new RPGTarget();
            }
            inputCheckerMOD2.AddCheckKeys(new Keys[] { Keys.H, Keys.R, Keys.P, Keys.G });
            inputCheckerMOD2.AddCheckKeys(new Keys[] { Keys.A, Keys.L, Keys.L, Keys.O,Keys.N });
            inputCheckerMOD2.AddCheckKeys(new Keys[] { Keys.H, Keys.M,Keys.E,Keys.T,Keys.E});
            KeyDown += new GTA.KeyEventHandler(Meteoat_KeyDown);
            this.Tick += new EventHandler(this.MOD_Tick);
            this.PerFrameDrawing += new GraphicsEventHandler(this.Kyori_PerFrameDrawing);
        }
        public HumanCounter()
        {
            DC = new DeadCounter();

            DPL = new DeadPedList(10,Player);

            DC.Reset();
            screenFont = new GTA.Font(0.05F, FontScaling.ScreenUnits);
            Interval =500;
            this.Tick += new EventHandler(this.Bombat_Tick);
            this.PerFrameDrawing += new GraphicsEventHandler(this.Kyori_PerFrameDrawing);
            KeyDown += new GTA.KeyEventHandler(Meteoat_KeyDown);

            inputChecker.AddCheckKeys(new Keys[] { Keys.R, Keys.E, Keys.S, Keys.E, Keys.T });
            inputChecker.AddCheckKeys(new Keys[] { Keys.OemMinus });

            miniFont = new GTA.Font(0.03F, FontScaling.ScreenUnits, false, false);
            miniBigFont = new GTA.Font(0.03F, FontScaling.ScreenUnits, true, true);
        }