Panel/ApplyGWEN

From Garry's Mod
Jump to: navigation, search
 Panel:ApplyGWEN( )

Description

Used by Panel:LoadGWENFile and Panel:LoadGWENString to apply a GWEN controls table to a panel object.

You can do this manually using file.Read and util.JSONToTable to import and create a GWEN table structure from a .gwen file. This method can then be called, passing the GWEN table's Controls member.

Arguments

table GWENTable

The GWEN controls table to apply to the panel.
Personal tools
Navigation