• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

C++ sendChannelMessage


 

i mean in source c++ something like this
owner->sendChannelMessage("", ss.str(), SPEAK_CHANNEL_Y, 0x15);
full code
Code:
    std::stringstream ss;
    ss << "Loot of " << nameDescription << ": " << corpse->getContentDescription() << ".";
    if(owner->getParty() ){
        owner->getParty()->broadcastMessage((MessageClasses)g_config.getNumber(ConfigManager::LOOT_MESSAGE_TYPE), ss.str());
    }
    else
    {
            owner->sendChannelMessage("", ss.str(), SPEAK_CHANNEL_Y, 0x15);
    }
}
 
Back
Top Bottom