Serralinha
OT OWNER
- Joined
- Mar 7, 2010
- Messages
- 46
- Reaction score
- 1
why my loot message is orange and apears in Local Chat?
I Want to change to Green Message in Server Log
I Want to change to Green Message in Server Log
owner->sendTextMessage(MESSAGE_LOOT, ss.str());
if (owner) {
std::eek:stringstream ss;
ss << "Loot of " << nameDescription << ": " << corpse->getContentDescription();
if (owner->getParty()) {
owner->getParty()->broadcastPartyLoot(ss.str());
} else {
owner->sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, ss.str());
}
}
change thisCode:if (owner) { std::eek:stringstream ss; ss << "Loot of " << nameDescription << ": " << corpse->getContentDescription(); if (owner->getParty()) { owner->getParty()->broadcastPartyLoot(ss.str()); } else { owner->sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, ss.str()); } }
owner->sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, ss.str());
owner->sendTextMessage(MESSAGE_LOOT, ss.str());