Hi, how i can show messange to global announce, here the code, the announce apeared but only the char that do the reply can see the announce.
Код:
if ( ((ask == 541) && (reply == 2)) )
{
if ( ((talker.level > 74) && (talker.subjob_id == 0)) )
{
myself::DeleteItem1(talker, 57, 30000000);
myself::AddUseSkillDesire(talker, 1110785, 0, 0, 1000000);
myself::AddLog(2, talker, 235);
myself::SetOneTimeQuestFlag(talker, 235, 1);
myself::SoundEffect(talker, "ItemSound.quest_finish");
myself::ShowPage(talker, "noblezaysub002.htm");
gg::Announce("Congrats to subclass " + talker.name);
}
else
{
myself::ShowPage(talker, "noblezaysub004.htm");
}
Последнее редактирование модератором: