Thread: [Tut] Hotkeys

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    LightzOut's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    185
    Reputation
    11
    Thanks
    25

    [Tut] Hotkeys

    Im just going to list some of the various hotkeys and how to use them.

    Code:
    VK_F1
    VK_F2
    VK_F3
    VK_F4
    VK_F5
    VK_F6
    VK_F7
    VK_F8
    VK_F9
    VK_F10
    VK_F11
    VK_F12
    VK_INSERT
    VK_HOME
    VK_PGUP
    VK_PGDOWN
    VK_END
    VK_DELETE
    VK_UP
    VK_DOWN
    VK_LEFT
    VK_RIGHT
    VK_NUMPAD0
    VK_NUMPAD1
    VK_NUMPAD2
    VK_NUMPAD3
    VK_NUMPAD4
    VK_NUMPAD5
    VK_NUMPAD6
    VK_NUMPAD7
    VK_NUMPAD8
    VK_NUMPAD9
    All alphabet keys (A, B, C, etc.)
    ^Correct me if any of those are wrong^

    There are more of course but honestly who needs that many.

    So to use these you would do this:
    Code:
    if(GetAsyncKeyState(Hotkey of your choice)<0){
         // do hack
    }
    or
    Code:
    if(GetAsyncKeyState(Hotkey of your choice)&1){
         // do hack
    }
    So an example:
    Code:
    if(GetAsyncKeyState(VK_NUMPAD1)&1){
         crosshair = !crosshair;
         if(crosshair)
              xhair(pDevice);
    }
    Now if you want to use an alphabet char you wouldn't use VK (Virtual Key) you would just use a char, so for example:
    Code:
    if(GetAsyncKeyState('Q')&1){
         wireframe = !wireframe;
    }
    Hope that helps some noobs.

  2. The Following User Says Thank You to LightzOut For This Useful Post:

    hgmf8124 (07-28-2010)

  3. #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


    Wow why release this?
    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

  4. #3
    LightzOut's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    185
    Reputation
    11
    Thanks
    25
    Why not? :/

  5. #4
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Omg Your Fucking No0b...

  6. #5
    LightzOut's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    185
    Reputation
    11
    Thanks
    25
    Well duh.. stating the obvious

  7. #6
    deathninjak0's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    1,510
    Reputation
    12
    Thanks
    294
    My Mood
    Cool
    Quote Originally Posted by LightzOut View Post
    Well duh.. stating the obvious
    Actually you are a choob

  8. #7
    LightzOut's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    185
    Reputation
    11
    Thanks
    25
    Same difference

  9. #8
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love
    No, Noobs are better than choobs >_>
    No I do not make game hacks anymore, please stop asking.

  10. #9
    richdude212's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Tampa, FL
    Posts
    352
    Reputation
    10
    Thanks
    56
    My Mood
    Inspired
    I give him credit for coming here and making a tut and not leeching. Even if its known by almost everyone.
    [IMG]https://i516.photobucke*****m/albums/u330/richdude212-2.jpg[/IMG]


    [IMG]https://i516.photobucke*****m/albums/u330/richdude212/leet.gif[/IMG]

    Get NX Cash For Completing Offers Here! (will redirect)


    Remember to press when people help you!
    Not bad for $14.99 a month...

  11. #10
    P00t's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    65
    Reputation
    10
    Thanks
    2
    come on guys give him some respect. his tryna help and u guys are just complaining...

  12. #11
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,064
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Arent the keys like a,b,c,d,e ox45 or something like that?
    Dont ban me

  13. #12
    LightzOut's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    185
    Reputation
    11
    Thanks
    25
    Quote Originally Posted by markoj View Post
    Arent the keys like a,b,c,d,e ox45 or something like that?
    Yes technically you can use them like that its just easier to do it this way.

    And yes i know this is known by pretty much everyone, thats why i made the tutorial in the first place - for the noobs (or choobs?) that don't know how to use hotkeys and actually want to learn.

    And it's not like im spoonfeeding.. Im not the one giving the addys away for all the noobs in the world to c/p.

  14. #13
    d00ms33k3r's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    at a party
    Posts
    225
    Reputation
    10
    Thanks
    35
    My Mood
    Buzzed
    i think just because of this topic we need a spam button that acts like the thanks button but it's bad thing not good
    [IMG]https://i47.photobucke*****m/albums/f158/d00ms33k3r/Signature03.jpg[/IMG]





    [IMG]https://i47.photobucke*****m/albums/f158/d00ms33k3r/signbar.jpg[/IMG]


  15. #14
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    Everyone chill... He's just showing how to use hot keys, nothing more...

    You guys get so worked up every time someone releases source, even when it's useless...

  16. #15
    Synns's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    5,174
    Reputation
    170
    Thanks
    2,557
    My Mood
    Bitchy
    Quote Originally Posted by Void View Post
    Everyone chill... He's just showing how to use hot keys, nothing more...

    You guys get so worked up every time someone releases source, even when it's useless...
    They feel the need to be rude to people with less than 100 posts because they think it makes their e-dick bigger.
    Last edited by Synns; 07-28-2010 at 04:09 PM.

Page 1 of 2 12 LastLast

Similar Threads

  1. [TUT] Hotkeys VB 2008/2010
    By Zoom in forum Programming Tutorials
    Replies: 12
    Last Post: 12-08-2010, 07:19 PM
  2. [TuT]Hotkeys with 1 Letter
    By Invidus in forum Visual Basic Programming
    Replies: 22
    Last Post: 03-31-2010, 07:44 PM
  3. [Video TUT]How to make hotkeys in visualbasic08
    By trevor206 in forum Visual Basic Programming
    Replies: 7
    Last Post: 10-10-2009, 03:08 PM
  4. [TuT] Hotkeys - VB 08
    By iownageXD in forum Visual Basic Programming
    Replies: 13
    Last Post: 10-10-2009, 01:16 PM
  5. [TuT]Very Basic Hotkeys
    By Iamazn in forum Visual Basic Programming
    Replies: 4
    Last Post: 09-07-2009, 12:18 PM