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.
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?
i think red eye posted a thread on it
Isnt there and key_press event for forms? There is one in C#.
Does "If GetKeyPress(vbKeyNumpad1) Then" answer you question?