What is wrong with this shotgun code? My weapons hacks are the only ones I can never get working... Help please
My code:
Code:
Dim Shotgun1 As Long
Dim Shotgun2 As Long
Call ReadALong("Warrock", &HAddress, Shotgun1 )
Shotgun2 = Shotgun1 + &HOffset
Call WriteAFloat("Warrock", Shotgun2, Value)
Also, can someone tell me the weapon ID for shotgun, I forgot.
Dim Shotgun1 As Long
Dim Shotgun2 As Long
Call ReadALong("WarRock", &HPOINTER, Shotgun1)
Shotgun2 = Shotgun1 + &HOFFSET
Call WriteAFloat```Might be WriteALong```i forgot("WarRock", Shotgun2, value)
Code:
If GetAsyncKeyState(vbKeyF12) Then
Dim gun1 As Long
Dim gun2 As Long
Dim gun3 As Long
Call ReadALong("WarRock", &HH1373FE0, gun1)
gun2 = gun1 + &H4C
gun3 = txtGun.Text
Call WriteALong("WarRock", gun2, gun3)
End If
Add that into a Timer... and add a TextBox called... txtGun...
The Hotkey is F12... and put the text in ... the text box... as "42" then on the textbox properties put Locked = True... Then ... they can't change the Number ... So then you can .. go to the TextBox properties and "Hide = True"... Hope i helped.
Originally Posted by CoD4Pro
Code:
If GetAsyncKeyState(vbKeyF12) Then
Dim gun1 As Long
Dim gun2 As Long
Dim gun3 As Long
Call ReadALong("WarRock", &HH1373FE0, gun1)
gun2 = gun1 + &H4C
gun3 = txtGun.Text
Call WriteALong("WarRock", gun2, gun3)
End If
Add that into a Timer... and add a TextBox called... txtGun...
The Hotkey is F12... and put the text in ... the text box... as "42" then on the textbox properties put Locked = True... Then ... they can't change the Number ... So then you can .. go to the TextBox properties and "Hide = True"... Hope i helped.