Ir para conteúdo

Featured Replies

Postado


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!!

Sem título.png

Postado

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.

 

                                                              ezgif-1-98aab239f3.gif.1a897c9c3225228909e7b356a5cfb8e4.gif

Postado
  • 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.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo