Debuggers: Added /clientversion command to display protocol version.

This commit is contained in:
Mattes D
2017-01-28 10:31:04 +01:00
parent 6b0c795655
commit 01d9beee9e
2 changed files with 15 additions and 0 deletions
+9
View File
@@ -1567,6 +1567,15 @@ end
function HandleClientVersionCmd(a_Split, a_Player)
a_Player:SendMessage("Your client version number is " .. a_Player:GetClientHandle():GetProtocolVersion() ..".")
return true
end
function HandleCompo(a_Split, a_Player)
-- Send one composite message to self:
local msg = cCompositeChat()