The fl_inventory_menu panel is the inventory tab of the tab menu. It shows the main inventory and the pockets of the local player, the equipment slots around a preview of their model, a field for editing the description of the character, and the hotbar at the bottom of the screen. Dropping an equipable item onto the model equips it.

Summary

Methods

Returns the size that the tab menu gives to the panel.
Called by the tab menu when it switches to another panel.
Called by the tab menu when it closes.
Draws the background of the inventory tab using the theme.
rebuild()client
Called by the tab menu when the panel opens.

Methods

Returns the size that the tab menu gives to the panel.

Returns

  • Number width
  • Number height

Called by the tab menu when it switches to another panel. Removes the hotbar.

Called by the tab menu when it closes. Removes the player model and fades the hotbar out.

Draws the background of the inventory tab using the theme.

Parameters

  • w Number
  • h Number

Called by the tab menu when the panel opens. Creates the player model with the description editor, the equipment slots, the main inventory, the pockets and the hotbar.

Defined in