Page 7 of 7 FirstFirst ... 567
Results 91 to 97 of 97
  1. #91
    jsarmiento23's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    0
    where do i put this?


    void LeftClickDown ( )
    {
    INPUT Input={0};
    // left down
    Input.type = INPUT_MOUSE;
    Input.mi.dwFlags = MOUSEEVENTF_LEFTDOWN;
    ::SendInput(1,&Input,sizeof(INPUT));
    }

    void LeftClickUp( )
    {
    INPUT Input={0};
    // left up
    ::ZeroMemory(&Input,sizeof(INPUT));
    Input.type = INPUT_MOUSE;
    Input.mi.dwFlags = MOUSEEVENTF_LEFTUP;
    ::SendInput(1,&Input,sizeof(INPUT));
    }
    void Aimbot (bool aim, int x, int y, int enemyx, int enemyy, bool autoshoot)
    {
    if (aim == true)
    {
    if (x && y == enemyx && enemyy)
    {
    if(autoshoot = true)
    {
    LeftClickDown ();
    LeftClickUp ();
    }
    }else{
    POINT CrosshairPos;
    GetCursorPos(&CrosshairPos);
    x=CrosshairPos.x;
    y=CrosshairPos.y;
    SetCursorPos(enemyx, enemyy);
    }
    }
    }

  2. #92
    Sid's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    New York
    Posts
    10,714
    Reputation
    927
    Thanks
    1,265
    Lol lrn2code and you bumped a very old thread

  3. #93
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,170
    Reputation
    490
    Thanks
    2,253
    Its not real aimbot bro..

  4. #94
    Heartview's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    KY Cygni
    Posts
    9,208
    Reputation
    717
    Thanks
    2,876
    Can someone just close this? Brainless choobs will forever bump this for no reason until it is.
    Texture Mods


    Obedear, the sky is low

  5. The Following User Says Thank You to Heartview For This Useful Post:

    StayTrue (02-07-2011)

  6. #95
    StayTrue's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    4,345
    Reputation
    391
    Thanks
    282
    My Mood
    Breezy
    Quote Originally Posted by derpderp View Post
    Can someone just close this? Brainless choobs will forever bump this for no reason until it is.
    This is very true.

    "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."
    - Albert Einstein

  7. #96
    Tony Stark`'s Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    Chicago
    Posts
    5,370
    Reputation
    212
    Thanks
    458
    Quote Originally Posted by jsarmiento23 View Post
    where do i put this?


    void LeftClickDown ( )
    {
    INPUT Input={0};
    // left down
    Input.type = INPUT_MOUSE;
    Input.mi.dwFlags = MOUSEEVENTF_LEFTDOWN;
    ::SendInput(1,&Input,sizeof(INPUT));
    }

    void LeftClickUp( )
    {
    INPUT Input={0};
    // left up
    ::ZeroMemory(&Input,sizeof(INPUT));
    Input.type = INPUT_MOUSE;
    Input.mi.dwFlags = MOUSEEVENTF_LEFTUP;
    ::SendInput(1,&Input,sizeof(INPUT));
    }
    void Aimbot (bool aim, int x, int y, int enemyx, int enemyy, bool autoshoot)
    {
    if (aim == true)
    {
    if (x && y == enemyx && enemyy)
    {
    if(autoshoot = true)
    {
    LeftClickDown ();
    LeftClickUp ();
    }
    }else{
    POINT CrosshairPos;
    GetCursorPos(&CrosshairPos);
    x=CrosshairPos.x;
    y=CrosshairPos.y;
    SetCursorPos(enemyx, enemyy);
    }
    }
    }
    most epic fail i ever seen

  8. #97
    Hyperion's Avatar
    Join Date
    Sep 2006
    Gender
    male
    Location
    NYC
    Posts
    8,287
    Reputation
    76
    Thanks
    1,245
    My Mood
    Lurking
    Man, help the choobs out.

    Go pirate a C++ compiler (Preferably MS v 6.0).

Page 7 of 7 FirstFirst ... 567