function sendTable(tab)
local bt=bitStream.new()
for i=1,table.getn(tab) do
bt:writeUInt8(tab[i])
end
local result = bt:sendPacket()
end
отправлять при помощи:
sendTable({215, 2, 0, 0, 0, 0, 0, 24, 0, 0, 0, 79, 110, 73, 110, 118, 101, 110, 116, 111, 114, 121, 68...