From 48a7cb452a1776c2983369f638f41c9358525ece Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Thu, 30 Sep 2021 18:56:36 -0500 Subject: [PATCH] Hide all GUI util --- scripts/client/gui.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/client/gui.js b/scripts/client/gui.js index 33b3b0d2..ddcd6ab5 100644 --- a/scripts/client/gui.js +++ b/scripts/client/gui.js @@ -421,4 +421,11 @@ addNetworkHandler("vrr.guiInit", function() { triggerNetworkEvent("vrr.guiReady", true); }); +// =========================================================================== + +function hideAllGUI() { + closeAllWindows(); + setChatWindowEnabled(true); +} + // =========================================================================== \ No newline at end of file