Hello everyone, folks, i have a problem. I want to do smth. In community board a button which give to player inventory slots. And here i need help, on method for slots adding. Method is like this :
if(command.startsWith("_bbstopCharactersBuySlots")){if(activeChar.destroyItemByItemId("",Config.SLOTS_PRICE_ID,Config.SLOTS_PRICE_COUNT, activeChar,true)){
activeChar.getInventoryLimit();
activeChar.sendUserInfo(true);
activeChar.sendMessage("You expanded your inventory slots by 10!");}else{
activeChar.sendMessage("You don't have 30 NightMare Crystal");}}
separateAndSend(content, activeChar);}
I'm sure it is wrong something here, but i need help. It is not so easy as i hear. But together, we can make this.
Thanks for understanding!
We are waiting you today at 8pm +3 GMT
website: https://l2evo.net
The patch will be available 30 min before the grand opening.
Come join the best Interlude pvp server.
We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX!
Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
Question
0flee
Hello everyone, folks, i have a problem. I want to do smth. In community board a button which give to player inventory slots. And here i need help, on method for slots adding. Method is like this :
I'm sure it is wrong something here, but i need help. It is not so easy as i hear. But together, we can make this.
Thanks for understanding!
P.S.-I need a good help, thank you again !
3 answers to this question
Recommended Posts