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..
AdBlock Extension Detected!
Our website is made possible by displaying online advertisements to our members.
Please disable AdBlock browser extension first, to be able to use our community.
Question
sirreaven
Hi everybody,
i try at the moment to add some items for newbies.
But it doesnt work and i think i do something wroung.
It tried this:
ItemTable.getInstance(); L2Item[] items = template.getItems(); for (L2Item item2 : items) { L2ItemInstance item = newChar.getInventory().addItem("Init", item2.getItemId(), 1, newChar, null); L2ItemInstance item1 = newChar.getInventory().addItem("Init", item2.getItemId(), 1, newChar, null); L2ItemInstance item11 = newChar.getInventory().addItem("Init", item2.getItemId(), 1, newChar, null); if (item.getItemId() == 5588) { if (item1.getItemId() == 3470) { if (item11.getItemId() == 5134) { } }But it dont know what i need to do exactly.
Thanks in advance.
sir
Edited by sirreaven6 answers 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 accountSign in
Already have an account? Sign in here.
Sign In Now