private void processtimer_Tick(object sender, EventArgs e) { if (GameFound) { int playerBase = Mem.ReadMultiLevelPointer(MainPlayer.baseAddress, 4, MainPlayer.multiLevel); xPosLabel.Text = "xPos: " + Mem.ReadFloat(playerBase + MainPlayer.offsets.xpos); yPosLabel.Text = "yPos: " + Mem.ReadFloat(playerBase + MainPlayer.offsets.ypos); zPosLabel.Text = "zPos: " + Mem.ReadFloat(playerBase + MainPlayer.offsets.zpos); int hotKey = ProcessMemoryReaderApi.GetKeyState(02); //Right Mouse if(hotKey & 0x8000) != 0) { FocusingOnEnemy = true; Aimbot(); } else { FocusingOnEnemy = false; FocusTarget = -1; } } try { if (MyProcess != null) { if(MyProcess[0].HasExited) GameFound = false; } } catch(Exception ex) { MessageBox.Show("There was an error. " + ex.Message); } }
if(hotKey & 0x8000) != 0) {
if((hotKey & 0x8000) != 0) {
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)