Thread: hotkey -.-

Results 1 to 6 of 6
  1. #1
    ZeaS's Avatar
    Join Date
    Feb 2007
    Posts
    738
    Reputation
    15
    Thanks
    265

    hotkey -.-

    hello guys, i have one question, i make hacks with vb, now my question, what i must write, that the fuck will freeze the timer??

    (interval = 100)
    Code:
    If GetKeyPress(vbKeycontrol) And GetKeyPress(vbKeyS) Then
    If Timer4.Interval = 0 Then Timer4.Interval = 1
    Else: Timer4.Interval = 0
    End If
    (interval = 0)
    Code:
    Private Sub Timer4_Timer()
    Call WriteALong("WarRock", &H7F2B34, 1120403456)
    End Sub
    if i push control and s in game, stamina only fills up again, but don`t freeze, but if i made button, than it freeze... so my question, how to write, that if i push, then it freeze like buttons, how to do that?

    sry for bad english^^
    Last edited by ZeaS; 08-08-2007 at 08:14 PM.

  2. #2
    juppeli's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    768
    Reputation
    12
    Thanks
    19
    What i think is:
    Code:
    Else: Timer4.Interval = 0
    End If
    This code turn always interval to 0, when control+s is not pressed (so if you hold them and run it should work). Try find another method (if I'm right).

  3. #3
    Threadstarter
    Expert Member
    ZeaS's Avatar
    Join Date
    Feb 2007
    Posts
    738
    Reputation
    15
    Thanks
    265
    hmm, but what other methode you know? i don`t wan`t 2 hotkeys (1 for on) and 1 for off, i wan`t 1 hotkey for on / off you know any other waY?

  4. #4
    duelmax's Avatar
    Join Date
    Apr 2006
    Posts
    6
    Reputation
    10
    Thanks
    1
    Sorry but what is a Hotkey ?

  5. #5
    cjg333's Avatar
    Join Date
    Apr 2007
    Location
    indianapolis
    Posts
    300
    Reputation
    17
    Thanks
    54
    does getkeypress(vbcontrol)even work,i use getkeypress(17) same thing 17 = Ctrl.

    and for the ?? u got to do

    'in timer1 properties enabled true,interval 1 for timer1

    if timer2.enabled = false then
    timer2.enabled = true 'set timer2 properties to enabled false,interval 1

    off code is reverse false and true

  6. #6
    Threadstarter
    Expert Member
    ZeaS's Avatar
    Join Date
    Feb 2007
    Posts
    738
    Reputation
    15
    Thanks
    265
    yep, i get it, thanks

Similar Threads

  1. vb hotkeys
    By cjg333 in forum General Game Hacking
    Replies: 7
    Last Post: 07-23-2008, 01:08 PM
  2. Hotkeys in C++
    By Dave84311 in forum C++/C Programming
    Replies: 7
    Last Post: 09-07-2007, 07:13 AM
  3. My hack release hotkey v1
    By purenoob134 in forum WarRock - International Hacks
    Replies: 23
    Last Post: 07-13-2007, 07:56 PM
  4. Hotkeys for a VB trainer
    By scooby107 in forum Visual Basic Programming
    Replies: 10
    Last Post: 07-03-2007, 12:43 PM
  5. [Tutorial] How To Mack HotKeys On VB
    By TheRedEye in forum WarRock - International Hacks
    Replies: 32
    Last Post: 06-23-2007, 10:24 PM