Results 1 to 3 of 3
  1. #1
    azamsadin's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    20
    Reputation
    10
    Thanks
    0

    Else Statement .

    Please Help Me I Want Make Hack With 1 Hotkey But Many Function . Please Teach Me Else Statement
    #include <windows.h>


    DWORD WINAPI TagMark(LPVOID)
    {
    while(1)
    {
    if(GetAsyncKeyState(VK_INSERT))
    {
    Code HERE //
    }
    else
    if(GetAsyncKeyState(VK_INSERT))
    {
    Code HERE //
    }
    }
    }


    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);

    {
    CreateThread(0, 0, TagMark, 0, 0, 0);
    }
    return 1;
    }
    ISIT RIGHT PLEASE HELP


    - - - Updated - - -

    #include <windows.h>


    DWORD WINAPI TagMark(LPVOID)
    {
    while(1)
    {
    if(GetAsyncKeyState(VK_INSERT))
    {
    Code HERE //
    }
    else
    if(GetAsyncKeyState(VK_INSERT))
    {
    Code HERE //
    }
    }
    }


    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);

    {
    CreateThread(0, 0, TagMark, 0, 0, 0);
    }
    return 1;
    }

  2. #2
    failnoobgamer's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    china #1
    Posts
    522
    Reputation
    10
    Thanks
    5,736
    My Mood
    Happy
    Wrong Section.
    Code:
    bool ESP;
    
    void Hotkey()
    {
      while(1)
      {
         if (GetAsyncKeyState(VK_Insert)) {
         ESP=!ESP
         Sleep(500);
          }
      }
    }
    
    void ESP()
    {
     if (ESP)
     { 
     	*(BYTE*)Address = 0;
     	*(BYTE*)Address = 0;
     } 
     else 
     { 
    	*(BYTE*)Address = 1;
     	*(BYTE*)Address = 1;
     } 
    }

  3. #3
    Smoke's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    7,037
    Reputation
    1975
    Thanks
    3,256
    My Mood
    Amazed
    Been over 2 days since last update/bump after answers, assuming solved.

    /Closed.
    My ONLY skype is "smoke.mpgh" Please Private Message me BEFORE Buying/Selling anything from me

    Quote Originally Posted by Liz View Post
    This is my first vouch, ever. Rapidgator account worked perfectly. Would buy in the future.
    MPGH History:
    Joined- November 2014
    Donator/Premium Member- October 2015
    Steam Games Hacks & Cheats Minion- December 2015
    Blackshot Minion- January 2016
    Pharaoh of the Year- 2016
    Minion+- June 2016
    Grand Theft Auto Minion- July 2016
    Official Middleman- September 2016

Similar Threads

  1. if/else error - expected a statement
    By Doutato in forum C++/C Programming
    Replies: 2
    Last Post: 03-18-2016, 07:35 AM
  2. [Help Request] My.settings is not working with Else and Else If Statements O_O
    By ||Excision|| in forum Visual Basic Programming
    Replies: 3
    Last Post: 07-14-2014, 03:39 PM
  3. how to get a War rock acc from someone else
    By micah344 in forum WarRock - International Hacks
    Replies: 37
    Last Post: 06-01-2007, 04:26 PM
  4. ok...one for dave or anyone else
    By jasusfriend in forum General
    Replies: 4
    Last Post: 05-16-2007, 11:32 PM
  5. standoff and anyone else
    By $GHOST$ in forum Help & Requests
    Replies: 10
    Last Post: 12-20-2006, 12:47 PM