Skip to content
EntranceJew edited this page Sep 27, 2014 · 1 revision

Properties

  • Title the name of the tab, impacts how it is displayed in the menu.
  • Description the tooltip that describes what the tab does.
  • Icon the name of a silkicon, loaded from "icon16/X.png".
  • Author this should be your name, unless you didn't write it. That's kinda confusing.
  • Privileges a table of strings that define privileges that the tab introduces.
  • Width a number describing how wide your tab is. For reference, the player list is 260 and the ranks menu is 680.

Methods

  • Initialize( panel ) Called when a tab is registered via evolve:RegisterTab(), passes the panel that the evolve menu will use to display its contents.
  • Update() Called once after initializing the tab, each time the tab is switched to from another tab, each time the player shows the menu.
  • IsAllowed() Called when being registered, determines whether or not to abort the registration of the tab. This is usually used to check if the player has the privileges the tab provides. If this returns true, it will continue. If it returns false, the tab will not finish registration.
Clone this wiki locally