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.
MidnightSell team WTB/WTS GOLD TWW EU/US all servers
Cataclysm all servers
Payment Visa/Master/Btc/Eth/Trc-20/Erc-20 (all payments within 10 min)
For all question pls dm
Discord https://discord.gg/h8AN57qJjK
Or Telegram @MidnightSell
Question
[DEV]DjSt3rios
Hello, I would like to ask what code should i use to delete an item. I imported L2ItemInstance and PcInventory and then i tried this code:
getInventory().destroyItemByItemId("heroweap", 6611, 1, st, null);
and i also tried to add st. in front, like this
st.getInventory().destroyItemByItemId("heroweap", 6611, 1, st, null);
But still i get an error on getInventory. What can i do?
Link to comment
Share on other sites
14 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.