Thread: Hotkey Problem

Results 1 to 2 of 2
  1. #1
    Steb.'s Avatar
    Join Date
    Sep 2016
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    2

    Post Hotkey Problem

    Anyone can help me ?

    Whenever I press f11 the timer doesnt start. Putting the writeprocessmemory in the ...
    Works but putting the timer.Start(); doesnt work.
    if ((GetAsyncKeyState(Keys.F10) == -32767))
    {
    if (f10 == false)
    {
    f10 = true;
    if (f10 == true)
    {
    Memory.WriteNOPs(game, norecoilOFF, 10); //THIS WORKS
    }
    }
    else
    {
    f10 = false;
    if (f10 == false)
    {

    }
    }
    }
    if ((GetAsyncKeyState(Keys.F11) == -32767))
    {
    if (f11 == false)
    {
    f11 = true;
    if (f11 == true)
    {
    unlihealth.Start(); // THIS DOESNT WORK
    }
    }
    else
    {
    f11 = false;
    if (f11 == false)
    {

    }
    }
    }
    Starting the timer doesnt work.

    - - - Updated - - -

    nvm fixed it using system.timers

  2. #2
    Hugo Boss's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    28,752
    Reputation
    4790
    Thanks
    5,902
    My Mood
    Angelic
    Alright. Closing this since you got things solved.

     
    Super User since 08-29-2017
    Global Moderator from 10-02-2016 - 08-29-2017
    Premium Seller since 11-16-2016
    Moderator from 09-24-2015 - 01-09-2016
    Alliance of Valiant Arms Minion from 11-12-2015 - 01-09-2016
    Market place Minion from 09-24-2015 - 01-09-2016
    Crossfire Minion from 09-11-2015 - 01-09-2016

    Middleman from 07-07-2015 - 01-09-2016
    Market Place Minion from 03-03-2014 - 08-01-2014
    Middleman from 01-30-2014 - 08-01-2014
    Moderator from 03-29-2013 - 04-04-2013
    Market Place Minion from 03-07-2013 - 04-04-2013
    Premium Member since 01-25-2013
    Middleman from 12-04-2012 - 04-04-2013
    Registered since 10-9-2011

Similar Threads

  1. [Solved] on/off hotkey problem
    By gogogokitty in forum C++/C Programming
    Replies: 4
    Last Post: 02-04-2016, 10:59 AM
  2. [Help Request] Hotkey Problem
    By ySoNoob in forum Visual Basic Programming
    Replies: 14
    Last Post: 05-12-2013, 07:49 AM
  3. [Solved] Hotkey problem!
    By NitroSmily in forum Call of Duty Modern Warfare 3 Coding, Programming & Source Code
    Replies: 3
    Last Post: 09-28-2012, 11:23 AM
  4. [Help] VB.NET Hotkey problem
    By ninjastormns in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 4
    Last Post: 07-30-2012, 06:47 PM
  5. Hotkeys on VB6 Problem
    By ........ in forum Visual Basic Programming
    Replies: 9
    Last Post: 09-25-2007, 02:46 PM