Garry's Mod Wiki

Revision Difference

vgui.RegisterFile#512139

<function name="RegisterFile" parent="vgui" type="libraryfunc">⤶ <description>Registers a new VGUI panel from a file.</description>⤶ <realm>Client and Menu</realm>⤶ <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>⤶ ⤶