Results 1 to 3 of 3
  1. #1
    zurasaur's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    2

    Sending key simulations to CSGO [VB.NET]

    Hello, I'm trying to send the M key to the game using:

    Code:
    SendKeys.SendWait("M")
    Nothing happens in game.

    I'm guessing I cant use send keys, can someone tell me the alternative?

  2. #2
    Yemiez's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Sweden
    Posts
    2,566
    Reputation
    731
    Thanks
    16,279
    My Mood
    Devilish
    I use this for my bunnyhop, just define your key using #define key_name virtual keycode (E.g #define key9 0x39(hex), and #define keyF6_scancode 0x0A)
    Example of me using it (not in order, just showin the 2 things im using for it :P)
    Code:
    #define KEY9 0x39
    #define KEY9SC 0x0A
    
    keybd_event(KEY9, KEY9SC, 0, 0);
    keybd_event(KEY9, KEY9SC, KEYEVENTF_KEYUP, 0);
    Sorry if this was not what you were looking for

  3. The Following User Says Thank You to Yemiez For This Useful Post:

    zurasaur (02-24-2015)

  4. #3
    zurasaur's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    2
    love you <3

Similar Threads

  1. [Solved] Send command to console in VB.net
    By pyton789 in forum Call of Duty Black Ops Help
    Replies: 12
    Last Post: 06-13-2011, 02:24 PM
  2. [Help] How can i send Keys to CrossFire
    By user44 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 1
    Last Post: 03-15-2011, 12:58 PM
  3. Send Key/Mouse to crossfire?
    By HackManster in forum Visual Basic Programming
    Replies: 20
    Last Post: 01-30-2010, 12:27 PM
  4. [Help] Send Key/Mouse movements to crossfire?
    By HackManster in forum CrossFire Hacks & Cheats
    Replies: 16
    Last Post: 01-28-2010, 03:11 PM
  5. Help with sending keys
    By Crash in forum C++/C Programming
    Replies: 4
    Last Post: 11-23-2009, 07:48 AM