TekaZudo
seuserver.com.br
DESCRIÇÃO
Anuncie aqui neste countdown e dê maior visibilidade ao seu lançamento |
Full Global • Custom Quests • Custom Outfits • Lottery System • Version 15x
Inicia em:
--
Participar
Histórico de Curtidas
-
nathan144a deu reputação a Deadpool em [C++] Cor das mensagens nos channelsBom, postarei como colocar para gm, adm, cm falar em red nos channels e tutores e senior tutores em orange.
testado em: tfs 0.3.6 |854| pl
Em chat.cpp procure por:
bool ChatChannel::talk(Player* player, SpeakClasses type, const std::string& text, uint32_t _time/* = 0 e vai ter uma linha assim: if(it == m_users.end()) return false; de 2 quebra de linhas e adicione em baixo:
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; } } Agora, um pouco em baixo disso que você adicionou, tem essa função:
it->second->sendToChannel(player, type, text, m_id, _time); troque por essa:
it->second->sendToChannel(player, ntype, text, m_id, _time); ou, é só adiciona um "n", no type da primeira linha rs
Como Editar os Groups ?
(player->getGroupId() == 5) "5" -> Grupo do player, no caso aqui seria CM
-
nathan144a recebeu reputação de sauloxd em [8.54] PokeCyan [ Editado By Senhor] Atualizado 3.0 2016Queria uma versão 3.0 :c
-
nathan144a deu reputação a CarlosHenrique7457 em (Resolvido)[AJUDA] Como eu mudo a XP do meu servidor? (BASE CYAN)Va em \data\XML
Abra o stages.xml
Muda aonde esta vermelho na foto
-
nathan144a recebeu reputação de ViitinG em [Ajudem] Poderes com multiplos attacksÁrea errada?