void ReceiveEmote(Player* /*pPlayer*/, uint32 emote) { if (emote == TEXTEMOTE_SALUTE) { if (FlareCount >= 2) { if (me->getFaction() == FACTION_FRIENDLY_F) return; DoFriend(); } } }
void ReciveEmote(Player* pPlayer, uint32 emote) { if (emote == TEXTEMOTE_SALUTE) { if (FlareCount >= 2) { if (m_creature->getFaction() == FACTION_FRIENDLY_F) return; else DoFriend(); } } }