talvez seja em chat.cpp nessa parte..
bool ChatChannel::talk(Player* player, SpeakClasses type, const std::string& text, uint32_t _time/* = 0*/)
{
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, type, text, m_id, _time);
if(hasFlag(CHANNELFLAG_LOGGED) && m_file->is_open())
*m_file << "[" << formatDate() << "] " << player->getName() << ": " << text << std::endl;
return true;
}
talvez tenha q por.. -n garanto q va funcionar e nem q seja ae ms q tem q mudar... ;x -
*m_file << "[" << formatDate() << "] " << player->getName() << "[" << player->getLevel() << "]: " << text << std::endl;
maximo q meu conhecimento pode lhe ajudar... ;x




info
Grupo: Campones
Registrado: 16/01/13
Posts: 73
Reputação: +1
o titulo do topico ja dis tudo mas eu quero saber como colocar para o level do player aparecer na frente no nome dele a cada vez que ele falar igual nos outros ots poke