I got this code and i want to put an else if clan is allready level 8 on void but i dont know on this specific pack how to do it .. any idea? .. thanks
public void useItem(L2PlayableInstance playable, L2ItemInstance item)
{
if(!(playable instanceof L2PcInstance))
return;
if (item == null)
{
return;
}
L2PcInstance player = (L2PcInstance)playable;
if (!player.isClanLeader())
{
player.sendPacket(new SystemMessage(SystemMessageId.S1_CANNOT_BE_USED).addItemName(item));
return;
}
else if (player.isInOlympiadMode())
{
player.sendPacket(new SystemMessage(SystemMessageId.S1_CANNOT_BE_USED).addItemName(item));
return;
}
else
{
if(player.destroyItem("Consume", item.getObjectId(), 1, null, false))
{
if (Config.ALLOW_ITEM_SET_LEVEL)
{
player.getClan().changeLevel(Config.CLAN_ITEM_LEVEL);
player.sendMessage((new StringBuilder()).append("Congratulations you now have your clan level ").append(Config.CLAN_ITEM_LEVEL).append(".").toString());
}
if (Config.CLAN_TITLE)
{
player.setTitle(Config.ADD_CLAN_TITLE);
}
player.ClanItem();
}
}
}
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.
Got banned for ALLEGED scamm. Unbaned because I never scammed anyone - I either deliver or refund.
So You can cry as much as You like, post as much idiotic and chidlish emotes as You like, but I'm not a scammer.
So...get a life kid, and fuck off Cuntw0lf.
There is a reason You have "0" in Your nickname. You are a zero 😎
talk in the mirror 🖕
🤏
in some of those urls you are banned for scam
definition of scam for you is not include delivery we all know
scammer once scammer always
i cant understand why you talk to me only and ignore the others?
why nobody else triggers you like that
Question
SQL Developer
Hello mates i (this is l2jfrozen pack)
I got this code and i want to put an else if clan is allready level 8 on void but i dont know on this specific pack how to do it .. any idea? .. thanks
1 answer 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.