Gui

From GMod Wiki

Jump to: navigation, search

GUI Stands for Graphical User Interface. If you're looking for Valve Graphical User Interface (VGUI) try the VGUI library or VGUI on the VDC wiki.

The GUI Library in Garry's Mod allows you to enable mouse control, thereby enabling you to create custom interfaces or mouse controls seen in some RTS/RPG games.

Library Functions

NewerClient.png gui.InternalCursorMoved
NewerClient.png gui.InternalKeyCodePressed
NewerClient.png gui.InternalKeyCodeReleased
NewerClient.png gui.InternalKeyCodeTyped
NewerClient.png gui.InternalMouseDoublePressed
NewerClient.png gui.InternalMousePressed
NewerClient.png gui.InternalMouseReleased
NewerClient.png gui.InternalMouseWheeled
NewerClient.png gui.EnableScreenClicker
NewerClient.png gui.MousePos
NewerClient.png gui.MouseX
NewerClient.png gui.MouseY
NewerClient.png gui.OpenURL
NewerClient.png gui.ScreenToVector
NewerClient.png gui.SetMousePos

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox