Gellin
08-26-2007, 07:41 PM
Well in my counterstrike trainers i am making for us and other peoples, i am using commandbuttons along with hotkeys, there is probably a simpler method but this is what i am doing.
Open Vb.6, standard exe, add our module, add a command button
Click it 2 times and insert this code for css, insert a addresse and value
Private Sub Command1_Click()
Call WriteALong("Counter-Strike Source", &HAddie, "value")
End Sub
This for Warrock
Private Sub Command1_Click()
Call WriteALong("Warrock", &HAddie, "value")
End Sub
Thats The Code for buttons
Now you need to add Hotkeys.
Add 1 timer, set the variable to 1
Double click it and add this code
Private Sub NameOfTimerForrOrginization_Timer()
If GetKeyPress(Numpad1) Then
Call Command1_Click 'what this does ex NoFog
End If
End Sub
And go Fuck Warrock up cause it sucks ass
All Credz to GELLIN do not leech, or post anywhere else
Open Vb.6, standard exe, add our module, add a command button
Click it 2 times and insert this code for css, insert a addresse and value
Private Sub Command1_Click()
Call WriteALong("Counter-Strike Source", &HAddie, "value")
End Sub
This for Warrock
Private Sub Command1_Click()
Call WriteALong("Warrock", &HAddie, "value")
End Sub
Thats The Code for buttons
Now you need to add Hotkeys.
Add 1 timer, set the variable to 1
Double click it and add this code
Private Sub NameOfTimerForrOrginization_Timer()
If GetKeyPress(Numpad1) Then
Call Command1_Click 'what this does ex NoFog
End If
End Sub
And go Fuck Warrock up cause it sucks ass
All Credz to GELLIN do not leech, or post anywhere else