function onSendPacket(id, data, size)
if id == 207 then
local bs = bitStreamInit(data, size)
local pid = bitStreamReadByte(bs)
local lrKey = bitStreamReadWord(bs)
local udKey = bitStreamReadWord(bs)
local keys = bitStreamReadWord(bs)
local x = bitStreamReadFloat(bs)
local y = bitStreamReadFloat(bs)
local z = bitStreamReadFloat(bs)
bitStreamDelete(bs)
if x >= 111 and x <= 111 then
-- your code
end
end
end