Summary

Methods

Closes the tab menu on the clients of the given players, if they have it open.
Opens the tab menu on the clients of the given players, as Flux.TabMenu:open does there.

Methods

Flux.Player:close_tab_menu(target)

server packages/active_ui/lib/sh_tab_menu.lua:122

Closes the tab menu on the clients of the given players, if they have it open.

Parameters

  • target Player/List<Player> whose menu closes; everyone's if nil

Flux.Player:open_tab_menu(target, panel_id)

server packages/active_ui/lib/sh_tab_menu.lua:116

Opens the tab menu on the clients of the given players, as Flux.TabMenu:open does there. The client may still refuse, for example while the player has no character.

Flux.Player:open_tab_menu(target, 'inventory')

Parameters

  • target Player/List<Player> whose menu opens; everyone's if nil
  • panel_id String optional, defaults to nil ID of the menu item to show; the item that was open the last time if nil

Defined in