Skip to content

Releases: T3Marius/CS2ScreenMenuAPI

CS2ScreenMenuAPI v4.8

25 Jul 17:15

Choose a tag to compare

Update | 4.8

  • feat: you can add text to spacer option now.
  • feat: you can change spacer option text later.
  • nuget: updated NuGet.
  • options: allowed storing options in a variable e.g
    [ConsoleCommand("css_menuspacer")]
    public void MenuSpacer(CCSPlayerController player, CommandInfo info)
    {
        if (player == null)
            return;

        Menu menu = new Menu(this)
        {
            Title = "Test Spacer Menu"
        };

        var spacer1 = menu.AddSpacer("Spacer Test");
        menu.AddItem("Change Spacer Text", (p, o) =>
        {
            spacer1.Text = "Changed Spacer Text";
            p.PrintToChat("Spacer text changed!");

            menu.Refresh();
        });

        menu.Display(player);
    }

CS2ScreenMenuAPI v4.7

25 Jul 16:18

Choose a tag to compare

Update | 4.7

  • feat: added menu.AddSpacer() to add spacer easily that doesn't count as an option.
  • nuget: updated nuget, make sure you use the latest version 3.1.0

CS2ScreenMenuAPI v4.6

25 Jul 14:25

Choose a tag to compare

Update | 4.6

  • feat: removed extra menu lines.

CS2ScreenMenuAPI v4.5

14 Jul 19:57

Choose a tag to compare

Update | 4.5

  • menu: resolution menu with a menu that allows you to directly change menu position with A-D.
  • menu-renderer: improved roaming case where menu teleported, it now teleports ONLY if player moves the camera.
  • scrollable-menu: improved freeze-unfreeze function to avoid afk kick

CS2ScreenMenuAPI v4.4

12 Jul 03:18

Choose a tag to compare

Update | 4.4

  • feat: allow free-mode observer (roaming) to use and see the screen menu. No more html menu for roaming mode. finally.

CS2ScreenMenuAPI v4.3

12 Jul 01:57

Choose a tag to compare

Update | 4.3

  • feat: allowed each menu to have it's owner settings. e.g ShowResolutionOption, ShowControlsInfo, ShowDisabledOptionNum, etc.

CS2ScreenMenuAPI v4.2

05 Jul 11:34

Choose a tag to compare

Update | 4.2

  • (scrollable-menu): added exit button. check the config from new version.
  • (scrollable-menu): fixed cases where you couldn't create a menu with another menu type. added menu.SetMenuType(MenuType.Scrollable).
  • (nuget): updated nuget package.

CS2ScreenMenuAPI v4.1

03 Jul 09:32

Choose a tag to compare

Update | 4.1

  • (scrollable-menu) feat: When you select next, it will stay on it rather than going to the 1st option. And when you hit the last page it will stay on back.
  • (scrollable-menu) fix: Fixed cases where disabled options got highlighted too because of the selectIndex.
  • (menu): Improved menu.Refresh() function, also don't forget to change the title text and option text before you call it.

CS2ScreenMenuAPI v4.0

30 Jun 00:13
6eb5dbd

Choose a tag to compare

Updated | 4.0

  • feat: changed Menu() function to allow only plugin as argument. Menu menu = new Menu(this)
  • feat: changed Display() to allow player in it too. menu.Display(player)
  • You don't need to modify your existing plugins, it works both ways.
  • Changed readme file.
  • nuget: updated nuget package to version 3.0.8.
  • config: changed menu font size from 30 to 40. looks better.

Note: I've made those changes to Menu() and Display() so you can create menu without needing to call player too. but if you do that you must call player in Display() function.

CS2ScreenMenuAPI v3.9

20 Jun 23:22

Choose a tag to compare

Update | 3.9

  • fix: added filter to emit sound =))