private void ToggleHacks() { if (pd == null) { return; } pd.RemoveBreakPoints(); timer.Stop(); timer.Start(); if (noTreesCheckBox.Checked) { pd.AddBreakPoint(new TreeRaidusBp()); } if (noTreesCheckBox.Checked && inBothModesCheckBox.Checked) { pd.AddBreakPoint(new AlwaysSniperBP()); } }
public void ApplySettings() { if (!Exists()) { return; } pd.RemoveBreakPoints(); if (Settings.LightHack.IsEnabled()) { AddBreakPoint(new LightBreakPoint(this)); } if (Settings.WeatherHack.IsEnabled()) { AddBreakPoint(new WeatherBreakPoint(this)); } if (Settings.ReceivePacketHack.Enabled) { AddBreakPoint(new ReceivePacketBreakPoint(this)); } if (Settings.ItemNameHack.IsEnabled()) { AddBreakPoint(new ItemNameBreakPoint(this)); } if (Settings.ViewInventory.IsEnabled()) { AddBreakPoint(new ViewInventoryBp1(this)); AddBreakPoint(new ViewInventoryBp2(this)); AddBreakPoint(new ViewInventoryBp3(this)); } if (Settings.Infravision.IsEnabled()) { AddBreakPoint(new InfravisionBreakPoint(this)); } }