I have timer and it freezes BUT HOW I UNFREEZE???can't stop swimming!?!?!
GIVE ME EXAMPLE!?!?!
Originally Posted by jokuvaan11
I have timer and it freezes BUT HOW I UNFREEZE???can't stop swimming!?!?!
GIVE ME EXAMPLE!?!?!
so u have a button wich leads to the timer like ?
Code:
Timer1.Interval = 1
then u just make another button with
Code:
Timer1.Interval = 0
I think he'll still be swimming. I'm not sure. If you are still swimming after you disable/set inteval to 0, then try writting the value 0 to the address. 0 is the value to walk again.
I think he'll still be swimming. I'm not sure. If you are still swimming after you disable/set inteval to 0, then try writting the value 0 to the address. 0 is the value to walk again.
Where I put 0??
Private Sub Command6_Click()
Dim Swim As Long
Dim Swim1 As Long
Call ReadALong("Warrock", &H896E28, Swim)
Swim1 = Swim + &H54
Call WriteALong("Warrock", Swim1, 4)
End Sub
Originally Posted by jokuvaan11
Where I put 0??
Private Sub Command6_Click()
Dim Swim As Long
Dim Swim1 As Long
Call ReadALong("Warrock", &H896E28, Swim)
Swim1 = Swim + &H54
Call WriteALong("Warrock", Swim1, 4)
End Sub
4 is the value, put an 0 @ 4 and you stop to swim
Originally Posted by jokuvaan11
Where I put 0??
Private Sub Command6_Click()
Dim Swim As Long
Dim Swim1 As Long
Call ReadALong("Warrock", &H896E28, Swim)
Swim1 = Swim + &H54
Call WriteALong("Warrock", Swim1, 4)
End Sub
Put tht in a timer
Make 2 buttons
In 1 of them put timer(wht ever the nimber is) interval = 1
and in the other put timer(wht ever the nimber is) interval = 0
or if you have hotkeys just make another timer with the off code wich you just change the 4 to a 0,and interval for timer at 1.well and set your hotkey of course