Garry's Mod Wiki

Revision Difference

vgui.Register#526678

<function name="Register" parent="vgui" type="libraryfunc"> <description>Registers a panel for later creation.</description> <realm>Client and Menu</realm> <args> <arg name="classname" type="string">Classname of the panel to create.</arg> <arg name="panelTable" type="table">The table containg the panel information.</arg> <arg name="baseName" type="string">Name of the base of the panel.</arg> <arg name="baseName" type="string" default="Panel">Name of the base of the panel.</arg> </args> <rets> <ret name="" type="table">The given panel table from second argument</ret> </rets> </function>