private void BUTTON_Player_Name_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(TEXTBOX_Player_Name.Text)) { MessageBox.Show("Position name illegal!"); return; } if (TEXTBOX_Player_Name.Text.Length > 20) { MessageBox.Show("Name illegal! must be <= 20"); return; } GTA5Process.Set_MyName(TEXTBOX_Player_Name.Text); }