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);
}
}
1. Buy adrenaline
2. Install on virtual machine (virtualbox + windows 10)
3. Run adrenaline
4. Save state of vrtual machine.
= license adrenaline 4ever.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hood-services
https://campsite.bio/utchihaamkt
Hey! I’ve run into similar issues before. They usually track you through IPs, cookies, and sometimes even browser fingerprints, so just changing your MAC or IP probably won’t do the trick. I found that using a VPN really helps mask your IP, and clearing your cookies regularly makes a big difference. Also, browsing in incognito mode or using something like the Brave browser can help keep things private.
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