//---------for //giveitem private void giveItem(L2PcInstance targetName, activeChar, int id, int num) { String targetName = command.substring(13); L2PcInstance player = L2World.getInstance().getPlayer(targetName); player.getInventory().addItem("Admin", id, num, activeChar, null); ItemList il = new ItemList(activeChar, true); activeChar.sendPacket(il); } //-------------