I try my players when add a new sub village master take from them 200 coin's...i manage to do that: when a player have 0 coins the master work just i want but when player have at least 1 coin village master print "message incorrect item count" and he add the sub class here is the code any help will be appreciate..
if (Config.SUBCLASS_WITH_ITEM_AND_NO_QUEST)
{
L2ItemInstance coinItem = player.getInventory().getItemByItemId(3481);
if (coinItem == null)
{
player.sendMessage("Sorry you must give me \"200 Coin's\" for each subclass and you dont have.");
player.setLocked(false);
return;
}
if (allowAddition)
{
player.destroyItemByItemId("Quest", 3481, 200, this, true);
}
}
Hello!
Im looking for help, don know its even possible, I made some alterations in chat window sizes for NPC-s.
My problem is the QuestHTMLWnd is working, but cant find a way to resize the rewards icons back grounds.
Some one have any idea for change it?
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hoodservices
https://campsite.bio/utchihaamkt
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hoodservices
https://campsite.bio/utchihaamkt
Question
sakisd
Hi mates I need some help
I try my players when add a new sub village master take from them 200 coin's...i manage to do that: when a player have 0 coins the master work just i want but when player have at least 1 coin village master print "message incorrect item count" and he add the sub class here is the code any help will be appreciate..
Link to comment
Share on other sites
5 answers to this question
Recommended Posts