Well i dont exactly understand what i can do to get this npc to load from an int. I can summon it just fine and it will follow me. But i dont exactly see how come i cant pick it up using this method and spawning it with the method.
Code:
		if(itemId == 1560) {
		Server.npcHandler.spawnNpc3(c, Server.npcHandler.summonItemId(itemId), c.absX, c.absY-1, c.heightLevel, 0, 120, 25, 200, 200, true, false, true);
		c.getItems().deleteItem(itemId, slot, c.playerItemsN[slot]);
		}
this will work just fine for summoning the npc.

But when trying to pick it up i tried using this and it wont work
Code:
case 768:
				Server.npcHandler.pickUp(c, Server.npcHandler.summonId(npcId));
				c.hasNpc = false;
				break;
and spawning it on login
Code:
			if (hasNpc == true) {
				Server.npcHandler.spawnNpc3(this, Server.npcHandler.summonId(npcId), absX, absY-1, heightLevel, 0, 120, 25, 200, 200, true, false, true);
				getPA().followPlayer();		
			}
Code:
	public int summonId(int npcId) {
		if(npcId == 760) return 1560;
		if(npcId == 761) return 1555;
		if(npcId == 762) return 1556;
		if(npcId == 763) return 1557;
		if(npcId == 764) return 1558;
		if(npcId == 765) return 1559;
		if(npcId == 766) return 1560;
		if(npcId == 768) return 1561;
		if(npcId == 769) return 1562;
		if(npcId == 770) return 1563;
		if(npcId == 771) return 1564;
		if(npcId == 772) return 1565;
		if(npcId == 773) return 1566;
		if(npcId == 3507) return 7585;
		if(npcId == 3506) return 7584;
		return 0;
	}