Hello, i want to ask you guys how i can add some information next to player nick?
I found out that it is in protocolgame.cpp.
I have somethink like this:
std::stringstream ss;
ss << creature->getName();
if(creature->getPlayer()->getplayerguild())
ss << " ["<< creature->getPlayer()->getplayerguild() <<"]";
msg->AddString(creature->getHideName() ? "" : ss.str());
getplayerguild doesn't exist because i dont know how to do it.
Please help me write this :x
TFS 8.54 (0.3.6pl)
I found out that it is in protocolgame.cpp.
I have somethink like this:
std::stringstream ss;
ss << creature->getName();
if(creature->getPlayer()->getplayerguild())
ss << " ["<< creature->getPlayer()->getplayerguild() <<"]";
msg->AddString(creature->getHideName() ? "" : ss.str());
getplayerguild doesn't exist because i dont know how to do it.
Please help me write this :x
TFS 8.54 (0.3.6pl)
Last edited: