From ad2b8509f5b7e10706c93ddcac960745265cba16 Mon Sep 17 00:00:00 2001 From: AlmTech Date: Wed, 4 Sep 2019 18:59:02 +0200 Subject: [PATCH] Added client config and HUD --- gamemode/core/client/cl_config_vars.lua | 9 +++++++++ gamemode/core/client/cl_hud.lua | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 gamemode/core/client/cl_config_vars.lua create mode 100644 gamemode/core/client/cl_hud.lua diff --git a/gamemode/core/client/cl_config_vars.lua b/gamemode/core/client/cl_config_vars.lua new file mode 100644 index 0000000..5d74b9c --- /dev/null +++ b/gamemode/core/client/cl_config_vars.lua @@ -0,0 +1,9 @@ +-- __ _ _______ _ __ +-- / / /\ | | |__ __| | | \ \ +-- / / / \ | |_ __ ___ | | ___ ___| |__ \ \ +-- < < / /\ \ | | '_ ` _ \| |/ _ \/ __| '_ \ > > +-- \ \ / ____ \| | | | | | | | __/ (__| | | | / / +-- \_\ /_/ \_\_|_| |_| |_|_|\___|\___|_| |_| /_/ + +Quantum.Client.Config = {} +Quantum.Client.Config.EnableHUD = true \ No newline at end of file diff --git a/gamemode/core/client/cl_hud.lua b/gamemode/core/client/cl_hud.lua new file mode 100644 index 0000000..6e26e61 --- /dev/null +++ b/gamemode/core/client/cl_hud.lua @@ -0,0 +1,8 @@ +-- __ _ _______ _ __ +-- / / /\ | | |__ __| | | \ \ +-- / / / \ | |_ __ ___ | | ___ ___| |__ \ \ +-- < < / /\ \ | | '_ ` _ \| |/ _ \/ __| '_ \ > > +-- \ \ / ____ \| | | | | | | | __/ (__| | | | / / +-- \_\ /_/ \_\_|_| |_| |_|_|\___|\___|_| |_| /_/ + +hook.Add( "HUDShouldDraw", "Quantum_RemoveDefualtHUD", function() return false end) \ No newline at end of file