vgui.RegisterFile
Description
Registers a new VGUI panel from a file, to be used with vgui.CreateFromTable.
File file must use the PANEL
global that is provided just before the file is included, for example:
PANEL.Base = "Panel"
function PANEL:Init()
-- Your code...
end
function PANEL:Think()
-- Your code...
end
Arguments
Returns
Page views: 6,397
Updated: A Long Time Ago
Updated: A Long Time Ago