Skip to content

A small pack of console commands for vgui development in Garry's Mod.

License

Notifications You must be signed in to change notification settings

unknown-gd/vgui-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VGUI Tools

A small pack of console commands for vgui development in Garry's Mod.

Where is Lua code?

Written in Yuescript, compiled Lua code can be found in releases and lua branch, or you can compile it yourself using compiled Yuescript Compiler.

Commands

  • vgui_remove <pattern> - allow you remove vgui panels using patterns
  • vgui_remove_all <pattern> - same as vgui_remove, but for all panels including children.
  • vgui_list <start pos/end pos> <start pos/end pos> - outputs the list of all valid panels to the console, you can specify the length of the output list or the start and end points in the list.
  • vgui_find <pattern> - display the list of found panels using patterns

Examples

vgui_list usage

image image image

vgui_find usage

image image

vgui_remove usage

image image

vgui_remove_all usage

image image