Answered Loop for God Mode Crash BO2 Redacted

xCometMods

Modder
Messages
39
Points
378
So I i've messing around with bo2 redacted and making trainers and seem to have a problem with a while constantly crashing the application but still works in game, any ideas? VB.net btw

Private Sub CheckBox1_CheckedChanged(sender As Object, e As EventArgs) Handles CheckBox1.CheckedChanged
While (CheckBox1.Checked) = True
WriteInteger("t6zmv41", &H21C1568, 9999)
End
End While
CheckBox1.Checked = False

End Sub
End Class
 

Pyrex BLJ

Moderator
Staff member
Premium Member
Messages
591
Points
528
you have to check if you are in game and only write it then, look for the location of the cl_ingame dvar and if the value is 1, then write it
 
Top