From 7761f7e5b8525e32d81cb97ee2b3ae92884962cc Mon Sep 17 00:00:00 2001 From: Mattes D Date: Wed, 21 Oct 2015 20:59:54 +0200 Subject: Debuggers: Added a plugin channel test with funny chars in data. --- Server/Plugins/Debuggers/Debuggers.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Server/Plugins/Debuggers/Debuggers.lua') diff --git a/Server/Plugins/Debuggers/Debuggers.lua b/Server/Plugins/Debuggers/Debuggers.lua index bd0b94a06..2b80e15c8 100644 --- a/Server/Plugins/Debuggers/Debuggers.lua +++ b/Server/Plugins/Debuggers/Debuggers.lua @@ -1648,6 +1648,17 @@ end + +function HandlePlugMsg(a_Split, a_Player) + local ch = a_Player:GetClientHandle() + ch:SendPluginMessage("TestCh", "some\0string\1with\2funny\3chars") + return true +end + + + + + function HandlePoof(a_Split, a_Player) local PlayerPos = Vector3d(a_Player:GetPosition()) -- Create a copy of the position PlayerPos.y = PlayerPos.y - 1 -- cgit v1.2.3