sampRegisterChatCommand('stream',function()
table = getAllChars()
for i, handle in ipairs(table) do
_, id = sampGetPlayerIdByCharHandle(handle)
color = sampGetPlayerColor(id)
name = sampGetPlayerNickname(id)
sampAddChatMessage('In stream: ' .. name .. '.', string.format('%06X', bit.band(color, 0xFFFFFF)))
end
end)