You are viewing our Forum Archives. To view or take place in current topics click here.
#11. Posted:
oMew
  • TTG Senior
Status: Offline
Joined: May 26, 201410Year Member
Posts: 1,030
Reputation Power: 45
Status: Offline
Joined: May 26, 201410Year Member
Posts: 1,030
Reputation Power: 45
Liability wrote I know you aren't as experienced to know this as you said you were new, but instead of having two buttons that turn on and off the modifications, you could have somethingl like this.

button1_Click(object sender, EventArgs e)
{
     if (button1.Text == "Godmode On")
     {
          // toggle godmode on
          button1.Text = "Godmode Off";
     }
     else if (button1.Text == "Godmode Off")
     {
          // toggle godmode off
          button1.Text = "Godmode On";
     }
}

Hope this helps you, and it would make it look a lot better!


Sorry, but bear with me on this; how would you toggle Godmode to deactivate though, or any of the modifications? What I've been hoping would work was just setting the bytes to trigger for example: redboxes, to 0. It would work for a second or two, but then I get a fatal crash.
#12. Posted:
IDA
  • Powerhouse
Status: Offline
Joined: Sep 21, 201311Year Member
Posts: 454
Reputation Power: 26
Status: Offline
Joined: Sep 21, 201311Year Member
Posts: 454
Reputation Power: 26
oMew wrote
Liability wrote I know you aren't as experienced to know this as you said you were new, but instead of having two buttons that turn on and off the modifications, you could have somethingl like this.

button1_Click(object sender, EventArgs e)
{
     if (button1.Text == "Godmode On")
     {
          // toggle godmode on
          button1.Text = "Godmode Off";
     }
     else if (button1.Text == "Godmode Off")
     {
          // toggle godmode off
          button1.Text = "Godmode On";
     }
}

Hope this helps you, and it would make it look a lot better!


Sorry, but bear with me on this; how would you toggle Godmode to deactivate though, or any of the modifications? What I've been hoping would work was just setting the bytes to trigger for example: redboxes, to 0. It would work for a second or two, but then I get a fatal crash.


I showed you earlier how to get the original hex that you can set ..
#13. Posted:
oMew
  • TTG Senior
Status: Offline
Joined: May 26, 201410Year Member
Posts: 1,030
Reputation Power: 45
Status: Offline
Joined: May 26, 201410Year Member
Posts: 1,030
Reputation Power: 45
IDA wrote
oMew wrote
Liability wrote I know you aren't as experienced to know this as you said you were new, but instead of having two buttons that turn on and off the modifications, you could have somethingl like this.

button1_Click(object sender, EventArgs e)
{
     if (button1.Text == "Godmode On")
     {
          // toggle godmode on
          button1.Text = "Godmode Off";
     }
     else if (button1.Text == "Godmode Off")
     {
          // toggle godmode off
          button1.Text = "Godmode On";
     }
}

Hope this helps you, and it would make it look a lot better!


Sorry, but bear with me on this; how would you toggle Godmode to deactivate though, or any of the modifications? What I've been hoping would work was just setting the bytes to trigger for example: redboxes, to 0. It would work for a second or two, but then I get a fatal crash.


I showed you earlier how to get the original hex that you can set ..


Sorry, haha. I seriously started reading about how to do all of this yesterday, and playerstate stuff seems pretty intimidating.
#14. Posted:
IDA
  • Powerhouse
Status: Offline
Joined: Sep 21, 201311Year Member
Posts: 454
Reputation Power: 26
Status: Offline
Joined: Sep 21, 201311Year Member
Posts: 454
Reputation Power: 26
oMew wrote
IDA wrote
oMew wrote
Liability wrote I know you aren't as experienced to know this as you said you were new, but instead of having two buttons that turn on and off the modifications, you could have somethingl like this.

button1_Click(object sender, EventArgs e)
{
     if (button1.Text == "Godmode On")
     {
          // toggle godmode on
          button1.Text = "Godmode Off";
     }
     else if (button1.Text == "Godmode Off")
     {
          // toggle godmode off
          button1.Text = "Godmode On";
     }
}

Hope this helps you, and it would make it look a lot better!


Sorry, but bear with me on this; how would you toggle Godmode to deactivate though, or any of the modifications? What I've been hoping would work was just setting the bytes to trigger for example: redboxes, to 0. It would work for a second or two, but then I get a fatal crash.


I showed you earlier how to get the original hex that you can set ..


Sorry, haha. I seriously started reading about how to do all of this yesterday, and playerstate stuff seems pretty intimidating.

Yea if you need further help tomorrow I'll try my best
#15. Posted:
xChillest
  • Christmas!
Status: Offline
Joined: Jul 30, 201212Year Member
Posts: 2,396
Reputation Power: 123
Status: Offline
Joined: Jul 30, 201212Year Member
Posts: 2,396
Reputation Power: 123
If you need any help with anything feel free to message me on Skype, it's the same as my username on here.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.