yea, thats what i just saw, ty
and with your working code, ill use that as a realy close template.
trying to use IF statments as little as possible on this program...
------------------------------------------------------
ok...this is starting to anoy me...
i tryed to convert that IF set to a case version and it dident work.
then i tryed using that set...no dice..
then i inserted a msgbox to see if it was getting after the function...no dice...
this is what the hole sub looks like.
button click:
Code:
Private Sub equip_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Dim address As String = &H1B2C89C
Dim value As Long = mwhack.ReadMemory(&H1B2C89C)
MsgBox(value)
If value < 800300 Or value > 3600 And address = &H1B2C89C Then
Dim equiptext As String = txtequip.Text
Select Case My.Settings.check
Case "Frag Grenade - 4"
If value <= 3600 Then
memoryh4x(&H1B2C89C, 3600, 4)
End If
Case "Semtex Grenade - 4"
If value <= 3600 Then
memoryh4x(&H1B2C89C, 3600, 4)
End If
Case "Throwing Knife - 7"
If value <= 13500 Then
memoryh4x(&H1B2C89C, 13500, 4)
End If
Case "Tactical Insertion - 11"
If value <= 36500 Then
memoryh4x(&H1B2C89C, 36500, 4)
End If
Case "Blast Shield - 19"
If value <= 126900 Then
memoryh4x(&H1B2C89C, 126900, 4)
End If
Case "Claymore - 31"
If value <= 382700 Then
memoryh4x(&H1B2C89C, 382700, 4)
End If
Case "C4 - 43"
If value <= 800300 Then
memoryh4x(&H1B2C89C, 800300, 4)
End If
End Select
End If
End Sub