Download (19 KB)

How do I install this?

The library creates a custom panel object which can be implemented in any mod.

Have a read at the DOCS to understand how it works; it also contains an example file.

Constructs:
- new({params}): creates a new panel
- show(): makes the panel appear
- hide(): makes the panel disappear (but it's still assigned to the player)
- remove(): deletes it
- update(panel_params, txt_elems, img_elems): updates only the mentioned parameters
- (and more)

Functions:
- panel_lib.get_panel(player_name): returns the panel associated with a player
- panel_lib.has_panel(player_name, panel_name): returns true if the player has the specified panel

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Used By