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
get_menu_size()client
Returns the size that the tab menu gives to the panel.
on_change()client
Called by the tab menu when it switches to another panel.
on_close()client
Called by the tab menu when it closes.
Paint(w, h)client
Draws the background of the inventory tab using the theme.
rebuild()client
Called by the tab menu when the panel opens.
Methods
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.