Madboy Posted June 21, 2009 Posted June 21, 2009 How can I make apella armor to be worn only by players ho have nobless statsus.? Can some one help me? Quote
0 Grierosu Posted June 21, 2009 Posted June 21, 2009 In configs altsettings Chaange True to False # Apella armors can be equiped only by clan members if their class is Baron or higher - default True ApellaArmorsRestriction = True Quote
0 Madboy Posted June 22, 2009 Author Posted June 22, 2009 In configs altsettings Chaange True to False No is this. Quote
0 Matim Posted June 22, 2009 Posted June 22, 2009 Noblesse = Baron, but other players could have this status too . Look at this tutorial : Click Try to remake this ... with cheacking "if is noble " .....bla bla . Anyway cheack this : UseItem.java Quote
0 Madboy Posted June 22, 2009 Author Posted June 22, 2009 Now I started to learn Java is a bit hard. i can you this no? if (item.isEquipable()) { if (activeChar.isDisarmed()) return; if (!((L2Equip) item.getItem()).allowEquip(activeChar)) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } //Begining the script + if (activeChar.getClassId().getId() == 88) + { + if (item.getItemType() == L2ArmorType.MAGIC) + { + activeChar.sendPacket(new +SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); + return; + } + } ??? Quote
Question
Madboy
How can I make apella armor to be worn only by players ho have nobless statsus.?
Can some one help me?
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.