private void cbox_DOFenable_CheckedChanged(object sender, EventArgs e) { if (cbox_DOFenable.Checked) { ExternalConsole.Send("r_Dof_Tweak 1;r_Dof_Bias 1;r_Dof_Enable 1;"); } else { ExternalConsole.Send("r_Dof_Tweak 0;r_Dof_Bias 0;r_Dof_Enable 0;"); } }
/// <summary> /// Send the configs to your call of duty game /// </summary> /// <param name="dvars"></param> private void SendDvarToGame(string dvars) { // int test = dvars.Count(); ExternalConsole.Send($"{dvars};"); }