hello there im try to set remove item when u request rebirth but they give me error
can you help me
public boolean playerIsEligible(L2PcInstance player, int itemId, int itemAmount)
{
String itemName = ItemTable.getInstance().getTemplate(itemId).getName();
player.getInventory().getItemByItemId(itemId);
// Player has the required items, so we're going to take them!
player.getInventory().addItem("Rebirth Engine", itemId, itemAmount, player, null);
player.getInventory().removeItem("Rebirth Engine", 3470, 100, player, null);
player.sendMessage("Removed 100 gold bar from your inventory!");
itemName = null;
return true;
}
Original was based off L2OFF, so how would he even be able to compete or deliver the same quality? It will be just another L2F from shein.
Whatsoever, some times you should just let the horse die.
Bump
NEW USER IN TELEGRAM AND DISCORD IS "mileanum"
NEW USER IN TELEGRAM AND DISCORD IS "mileanum"
NEW USER IN TELEGRAM AND DISCORD IS "mileanum"
NEW USER IN TELEGRAM AND DISCORD IS "mileanum"
Question
iAlreadyExist
hello there im try to set remove item when u request rebirth but they give me error
can you help me
4 answers to this question
Recommended Posts