Garry's Mod Wiki

Revision Difference

vgui.RegisterFile#528038

<function name="RegisterFile" parent="vgui" type="libraryfunc"> <description>Registers a new VGUI panel from a file.</description> <realm>Client and Menu</realm> <file line="109-126">lua/includes/extensions/client/panel/scriptedpanels.lua</file>⤶ <args> <arg name="file" type="string">The file to register</arg> </args> <rets> <ret name="" type="table">A table containing info about the panel. Can be supplied to <page>vgui.CreateFromTable</page></ret> </rets> </function>