Garry's Mod Wiki

Revision Difference

gui.HideGameUI#568030

<function name="HideGameUI" parent="gui" type="libraryfunc"> <description>Hides the game menu overlay. ⤶ <deprecated>Will be disabled in a future patch. Use <page>GM:OnPauseMenuShow</page> instead.</deprecated>⤶ <description>Hides the game main menu if it is currently open. ⤶ This can only be ran a certain amount of times per second to prevent main menu being completely inaccessible by the player.⤶ Use <page>GM:OnPauseMenuShow</page> to prevent opening the main menu without a one frame flash.⤶ </description> <realm>Client and Menu</realm> </function>