Jump to content
  • 0

System Message Question


Question

Posted

Hi ,  i tried few methods to do CLAN_SKILL_S1_ADDED to sended to clan members but i couldn't

 

any ideas?

 

                 SystemMessage cr = new SystemMessage(SystemMessageId.S1_DEDUCTED_FROM_CLAN_REP);
                cr.addNumber(repCost);
                player.sendPacket(cr);
                SystemMessage sm = new SystemMessage(SystemMessageId.CLAN_SKILL_S1_ADDED);
                sm.addSkillName(_id);
                player.sendPacket(sm);
                sm = null;
                
                player.getClan().broadcastToOnlineMembers(new PledgeSkillList(player.getClan()));
                
                for (L2PcInstance member : player.getClan().getOnlineMembers(0))
                {
                    member.sendSkillList();
                }

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..