From b2962a06a5255e2355a6b649aea530e965cb22b3 Mon Sep 17 00:00:00 2001 From: Linventif Date: Wed, 17 Jan 2024 03:44:18 +0100 Subject: [PATCH] Fix issue with chat command not working properly --- lua/gmod_integration/client/cl_main.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/gmod_integration/client/cl_main.lua b/lua/gmod_integration/client/cl_main.lua index 429d0a6..67d688f 100644 --- a/lua/gmod_integration/client/cl_main.lua +++ b/lua/gmod_integration/client/cl_main.lua @@ -81,6 +81,7 @@ hook.Add("OnPlayerChat", "gmInteChatCommands", function(ply, text, teamChat, isD if (ply != LocalPlayer()) then return end text = string.lower(text) text = string.sub(text, 2) + if (text == "screen") then gmInte.SendNet(4) end