How??

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

xDHacker

Newbie
Jun 6, 2013
4
152
0
Hey guys,

Today I've followed Fleep's C# Trainer In-depth tutorial and managed to make a tutorial. But I have a question.

In the tutorial, the hack will work if you press on the button, how can I make it in a checkbox?

Example: Button

C++:
private void ThirdViewButton_Click(object sender, EventArgs e)
        {
            if (IsGameAvailable)
            {
                if (ThirdView)
                {
                    ThirdView = false;
                    ThirdViewButton.Text = "OFF";

                }
                else
                {
                    ThirdView = true;
                    ThirdViewButton.Text = "ON";
                }

            }
        }
I want to make it that Instead of clicking the button, check a Checkbox. how can I do that? PS: I want a timer too.

Thanks in advance!
 

squeenie

Hacker
Meme Tier VIP
Dank Tier Donator
Mar 6, 2013
677
5,478
37
If (button.checked) if I remember correctly. A simple Google search will tell you...
 

till0sch

Respected Hacker
Dank Tier VIP
Dank Tier Donator
Oct 14, 2012
1,104
12,593
51
Hey guys,

Today I've followed Fleep's C# Trainer In-depth tutorial and managed to make a tutorial. But I have a question.

In the tutorial, the hack will work if you press on the button, how can I make it in a checkbox?

Example: Button

C++:
private void ThirdViewButton_Click(object sender, EventArgs e)
        {
            if (IsGameAvailable)
            {
                if (ThirdView)
                {
                    ThirdView = false;
                    ThirdViewButton.Text = "OFF";

                }
                else
                {
                    ThirdView = true;
                    ThirdViewButton.Text = "ON";
                }

            }
        }
I want to make it that Instead of clicking the button, check a Checkbox. how can I do that? PS: I want a timer too.

Thanks in advance!
If I understood that right - you want to toggle the checkbox (from checked to unchecked or from unchecked to checked)?

private void ThirdViewButton_Click(object sender, EventArgs e){
[..]
checkbox.Checked = !checkbox.Checked; // if it's checked, uncheck it, if it's unchecked, check it..
[..]
}
 

xDHacker

Newbie
Jun 6, 2013
4
152
0
I mean I want the same function of the button on a checkbox..

I want a function like this
C++:
'This code for checkbox in VB.net
If checkbox1.checked = True Then
Timer1.Start()
else
Timer1.Stop
End If
C++:
'This code is for Timer1 in VB.net
WriteInteger("vcop2", &H12345678, 1)
The "WriteInteger" indicates the memory hacking method I use. I want someone to convert both checkbox and timer codes into C#.

Thanks again!
 

squeenie

Hacker
Meme Tier VIP
Dank Tier Donator
Mar 6, 2013
677
5,478
37
If (checkbox.checked)
{
Writeinteger ();
}
Come on man this is super simple stuff
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods