gameui_preventescape Command


gameui_preventescape

This command will prevent the ESC key from closing the pause menu (game UI) when pressed. Use gameui_allowescape to re-enable.

Extra Info

Sv_cheats Required? No
Client or Server Command? Both

gameui_preventescape Examples


Find below working examples of this command (copy and paste into console).


gameui_preventescape

This is the only way you can run this command. This will prevent ESC from closing the pause menu.