HelpWhats wrong with my trainer

Posts 1–5 of 5 · Page 1 of 1
Whats wrong with my trainer
Public Class Form1

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
MessageBox.Show("Made By WTF_Fire_Fly")
End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
End
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim ammo As String = TextBox1.Text
Try
WriteInteger("iw6mp64_ship", &H43BAADC, ammo)
Catch ex As Exception

End Try

End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim health As String = TextBox1.Text
Try
WriteInteger("iw6mp64_ship", &H41E9F3C, health)
Catch ex As Exception

End Try
End Sub
End Class
Please use code tags in future.

And you didn't really specify what is the problem you're trying to solve..
Quote Originally Posted by leejw29 View Post
Please use code tags in future.

And you didn't really specify what is the problem you're trying to solve..
it's not working its not changing the value of my address
Dim health As String = TextBox1.Text
Try
WriteInteger("iw6mp64_ship", &H41E9F3C, health)
Catch ex As Exception
WriteINTEGER()
but you pass it a string. Should cause a compiler error? Data type basic stuff...

to fix, you must pass it in an Integer value... use CInt() or Int32.Parse() maybe.

Code:
Dim health As Int32 = CInt(TextBox1.Text) '' this CAN fail if txt is empty/non-numeric. Use Int32.TryParse() when you feel comfortable
Try
WriteInteger("iw6mp64_ship", &H41E9F3C, health)
Catch ex As Exception
For COD MP god mode does not work in this way, only in zombies!
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us