Garry's Mod Wiki

vgui.Exists

  boolean vgui.Exists( string Panelname )

Description

Returns true if Lua-defined panel exists by name. Uses vgui.GetControlTable internally.

Arguments

1 string Panelname
The name of the panel to get test.

Returns

1 boolean
Whether a panel with given name was registered yet or not.