You are viewing our Forum Archives. To view or take place in current topics click here.
Is there any way to cycle name?
Posted:

Is there any way to cycle name?Posted:

MHUTricK
  • Powerhouse
Status: Offline
Joined: Oct 30, 201112Year Member
Posts: 414
Reputation Power: 17
Status: Offline
Joined: Oct 30, 201112Year Member
Posts: 414
Reputation Power: 17
Hello, I am making a mw2 tool, and was wondering if I could cycle the name, without the tool freezing until it is done cycling, or have it continuously cycle until I press another button for it to stop cycling?

My code right now is.

        private void button24_Click(object sender, EventArgs e)
        {
            int clientID = Convert.ToInt32(this.numericUpDown4.Value);
            SetGamertag(clientID, "" + textBox4.Text);
            SetGamertag(clientID, "^1" + textBox4.Text);
            Thread.Sleep(2000);
            SetGamertag(clientID, "^2" + textBox4.Text);
            Thread.Sleep(2000);
            SetGamertag(clientID, "^3" + textBox4.Text);
            Thread.Sleep(2000);
            SetGamertag(clientID, "^4" + textBox4.Text);
            Thread.Sleep(2000);
            SetGamertag(clientID, "^5" + textBox4.Text);
            Thread.Sleep(2000);
            SetGamertag(clientID, "^6" + textBox4.Text);
            Thread.Sleep(2000);
            SetGamertag(clientID, "^7" + textBox4.Text);
            Thread.Sleep(2000);
            SetGamertag(clientID, "^8" + textBox4.Text);
            Thread.Sleep(2000);
            SetGamertag(clientID, "^9" + textBox4.Text);
            Thread.Sleep(2000);
            SetGamertag(clientID, "" + textBox4.Text);


        }
#2. Posted:
RC4
  • Rising Star
Status: Offline
Joined: Feb 18, 201212Year Member
Posts: 773
Reputation Power: 32
Status: Offline
Joined: Feb 18, 201212Year Member
Posts: 773
Reputation Power: 32
You could easily add a timer to the tool and change the interval to 2000 and add a button to start and stop the timer
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.