mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 22:07:34 +00:00
Fix issue with chat command not working properly
This commit is contained in:
parent
0be3a8bd55
commit
b2962a06a5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user