public void ShowGui() { CMD settings = r.Get <CMD>(); if (settings.Visible) { settings.Hide(); } settings.Show(); }
public void ShowGui() { if (!cmd.Visible) { cmd.Show(); } else { cmd.Hide(); } }
public void ShowGui() { CMD settings = dm.Get <CMD>(); if (!settings.Visible) { settings.Show(); } else { settings.Hide(); } }
public void ShowGui() { if (DM != null) { CMD settings = DM.Get <CMD>(); if (!settings.Visible) { settings.Show(); } else { settings.Hide(); } } else { Load(); MessageBox.Show("plugin loaded"); } }
public void ShowGui() { if (ObjectManager.Instance.Player != null) { if (cmd == null) { cmd = new CMD(); } if (!cmd.Visible) { cmd.Show(); } else { cmd.Hide(); } } else { MessageBox.Show("Please log in first"); } }