public Form1() { InitializeComponent(); label1.Text = $"GTA Process: {Fisher.GTA().Id}"; label2.Text = $"Status: {Fisher.status}"; label3.Text = "Bottom Chat Location"; label5.Text = $"Bottom Chat Color: {Fisher.bottomChatYellow.ToString()}"; textBox1.Text = Fisher.bottomChatX.ToString(); textBox2.Text = Fisher.bottomChatY.ToString(); Timer tm = new Timer(); tm.Interval = 100; tm.Tick += Fisher.fish; tm.Start(); }
public static void FakeKey(int key) { PostMessage(Fisher.GTA().MainWindowHandle, WM_KEYDOWN, key, 0); }