Hotkeys for a VB trainer

Posts 1–11 of 11 · Page 1 of 1
Hotkeys for a VB trainer
I've been trying to figure out how to out hotkeys in a VB trainer, but i can't for the life of me figure it out. If anyone could point me in the right direction i would be grateful, cheers.
What kind of trainer are you talking about?
here this is how i do it

Private Sub Timer2_Timer()
If GetKeyPress(vbKeyNumpad1) Then Call WriteALong("WarRock", &H90DC5C, 1)

notice its in a timer,set the timer interval to 1
Quote Originally Posted by cjg333 View Post
here this is how i do it

Private Sub Timer2_Timer()
If GetKeyPress(vbKeyNumpad1) Then Call WriteALong("WarRock", &H90DC5C, 1)

notice its in a timer,set the timer interval to 1
would it be better to do this?

form load()
If GetKeyPress(vbKeyNumpad1) Then
if Timer2.interval = 0 then timer.interval =1
else timer.interval =0
end if
end if

that way you have 1 keypress for both enabling and disableing a timer. and that timer is doing the memory edit

[EDIT]
yeh you can't do it like that
best is to start a timer with interval 1 by default and put
If GetKeyPress(vbKeyNumpad1) Then
if Timer2.interval = 0 then timer2.interval =1
else timer2.interval =0
end if
end if
in the timer event
timer 2 being your hack
wtf? when did you get unbanned?
a while ago
guess i'm not causing so much trouble now, right?
Isnt there and key_press event for forms? There is one in C#.
Does "If GetKeyPress(vbKeyNumpad1) Then" answer you question?
Dude this thread is 3 weeks old. LOL
Posts 1–11 of 11 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?