From b3cc18e4f2a4d129acccd5824f5e12cd92852ad2 Mon Sep 17 00:00:00 2001 From: gnomerd Date: Thu, 5 Dec 2019 13:17:24 +0100 Subject: [PATCH] Added inventory menu (not finsihed) --- gamemode/engine/derma/menus/menu_charinfo.lua | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 gamemode/engine/derma/menus/menu_charinfo.lua diff --git a/gamemode/engine/derma/menus/menu_charinfo.lua b/gamemode/engine/derma/menus/menu_charinfo.lua new file mode 100644 index 0000000..358a128 --- /dev/null +++ b/gamemode/engine/derma/menus/menu_charinfo.lua @@ -0,0 +1,20 @@ +-- __ _ _______ _ __ +-- / / /\ | | |__ __| | | \ \ +-- / / / \ | |_ __ ___ | | ___ ___| |__ \ \ +-- < < / /\ \ | | '_ ` _ \| |/ _ \/ __| '_ \ > > +-- \ \ / ____ \| | | | | | | | __/ (__| | | | / / +-- \_\ /_/ \_\_|_| |_| |_|_|\___|\___|_| |_| /_/ + +local menu = {} + +local snm = Quantum.Client.Menu.GetAPI( "net" ) +local page = Quantum.Client.Menu.GetAPI( "page" ) +local theme = Quantum.Client.Menu.GetAPI( "theme" ) + +local resScale = Quantum.Client.ResolutionScale +local sw, sh = ScrW(), ScrH() +local padding = 10 * resScale +local padding_s = 4 * resScale +local errorMdl = "models/player.mdl" + +function menu.open() end \ No newline at end of file