Results 1 to 7 of 7
  1. #1
    BloodSkin's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Columbus, OH
    Posts
    353
    Reputation
    11
    Thanks
    63

    [HELP] hotkey issue

    Code:
    void main()
    {
        bool hax = false;
        while(true){
            if(GetAsyncKeyState(VK_NUMPAD1)<0){
                if(hax){
    				haxon();
                    hax = false;
                } else {
    				haxoff();
                    hax = true;
                }
            }
            Sleep(20);
        }
    }
    assuming haxon and haxoff functions work properly, what would prevent this from working?

    when i remove the if statement and simply add haxon(); it works as intended, however when i attempt any hotkey method of enabling/disabling nothing is ever enabled.

  2. #2
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,025
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    try

    if(Hax=false) instead
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

  3. #3
    BloodSkin's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Columbus, OH
    Posts
    353
    Reputation
    11
    Thanks
    63
    tried that (fixed case) and still same results. care if i send you my src?

  4. #4
    zmansquared's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    Kickin it at Microsoft
    Posts
    2,086
    Reputation
    36
    Thanks
    221
    My Mood
    Cheerful
    send to me bro. ill help you out
    Need Help With Coding or Something??? MSN me
    zmansquared@hotmail.com


    I am the one and only Microsoft Fag!!!

    Quote:
    Originally Posted by Arhk
    All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
    ~


    Take this Pic everyone!



    next-

  5. #5
    maudesrule's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    163
    Reputation
    10
    Thanks
    26
    My Mood
    Sneaky
    Quote Originally Posted by BloodSkin View Post
    Code:
    void main()
    {
        bool hax = false;
    
        while(true){
            if(GetAsyncKeyState(VK_NUMPAD1)<0){
                if(hax == true
    	where u put PTC off
                    hax = false;
                } else {
    	where you put PTC on
                    hax = true;
                }
            }
            Sleep(20);
        }
    }
    this is what u do
    CuRrEnT sTaTuS:
    Getting back into CA and hacking from 360



    message of the week:
    its okay to be gay, but do not crack a nut up my butt!

  6. #6
    BloodSkin's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Columbus, OH
    Posts
    353
    Reputation
    11
    Thanks
    63
    Quote Originally Posted by maudesrule View Post
    this is what u do
    this was solved days ago, but thanks for the copy and paste

  7. #7
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,552
    Reputation
    127
    Thanks
    5,970
    My Mood
    Happy
    /Closed then....
    -Rest in peace leechers-

    Your PM box is 100% full.

Similar Threads

  1. [HELP]=Hotkeys
    By theavengerisback15 in forum Visual Basic Programming
    Replies: 6
    Last Post: 12-04-2009, 05:21 AM
  2. [HELP] HotKeys
    By Zhhot in forum Visual Basic Programming
    Replies: 3
    Last Post: 11-14-2009, 02:31 PM
  3. PLEASE HELP STUPID ISSUE HERE
    By ozza in forum C++/C Programming
    Replies: 11
    Last Post: 08-07-2009, 02:22 AM
  4. [HELP] Please Help WIth Issue
    By allstar185pl in forum Combat Arms Hacks & Cheats
    Replies: 5
    Last Post: 06-09-2009, 02:43 PM
  5. [HELP] hotkey #$*/"$#)(*&?"
    By herowarz in forum Visual Basic Programming
    Replies: 5
    Last Post: 02-26-2008, 06:16 AM