Postado Dezembro 30, 2016 8 anos bool ChatChannel::talk(Player* player, SpeakClasses type, const std::string& text, uint32_t _time/* = 0*/) { SpeakClasses ntype = type; uint16_t channelId = getId(); if (channelId == 5) { if (player->getGroupId() == 6) { ntype = SPEAK_CHANNEL_RN; } else if (player->getGroupId() == 5) { ntype = SPEAK_CHANNEL_RN; } else if (player->getGroupId() == 4) { ntype = SPEAK_CHANNEL_RN; } else if(player->getGroupId() >= 2) ntype = SPEAK_CHANNEL_O; } } UsersMap::iterator it = m_users.find(player->getID()); if(it == m_users.end()) return false; if(m_condition && !player->hasFlag(PlayerFlag_CannotBeMuted)) { if(Condition* condition = m_condition->clone()) player->addCondition(condition); } for(it = m_users.begin(); it != m_users.end(); ++it) it->second->sendToChannel(player, ntype, text, m_id, _time); if(hasFlag(CHANNELFLAG_LOGGED) && m_file->is_open()) *m_file << "[" << formatDate() << "] " << player->getName() << ": " << text << std::endl; return true; } Me Ajuda Reppp!!
Postado Dezembro 30, 2016 8 anos Esta é uma mensagem automática! Este tópico foi movido para a área correta.Pedimos que você leia as regras do fórum. Spoiler This is an automated message! This topic has been moved to the correct area.Please read the forum rules.
Postado Dezembro 30, 2016 8 anos Autor Agora, KotZletY disse: Esta é uma mensagem automática! Este tópico foi movido para a área correta.Pedimos que você leia as regras do fórum. Mostrar conteúdo oculto This is an automated message! This topic has been moved to the correct area.Please read the forum rules. vai não me ajuda? UP !!!!!
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.