My ints=
Code:
case 15052:
itemDef.itemActions = new String[5];
itemDef.itemActions[0] = "Summon";
itemDef.modelID = 30837;
itemDef.modelZoom = 1049;
itemDef.modelRotationY = 545;
itemDef.modelRotationX = 1033;
itemDef.modelOffset1 = 1;
itemDef.modelOffset2 = 3;
itemDef.anInt165 = -1; //male wield model
itemDef.anInt200 = -1; //femArmModel
itemDef.name = "Pack yak pouch";
itemDef.description = "It's a Pack yak pouch.".getBytes();//examine.
break;
case 15053:
itemDef.itemActions = new String[5];
itemDef.itemActions[0] = "Summon";
itemDef.modelID = 30651;
itemDef.modelZoom = 1049;
itemDef.modelRotationY = 545;
itemDef.modelRotationX = 1033;
itemDef.modelOffset1 = 1;
itemDef.modelOffset2 = 3;
itemDef.anInt165 = -1; //male wield model
itemDef.anInt200 = -1; //femArmModel
itemDef.name = "Spirit terrorbird pouch";
itemDef.description = "It's a Spirit terrorbird pouch.".getBytes();//examine.
break;
My clickitem=
Code:
if(itemId >= 15052 && itemId <= 15053) {
if(c.inDuelArena()) {
c.sendMessage("Pouches are disabled in duels!");
return;
}
Code:
}
if(itemId >= 15052 && itemId <= 15053) {
if(c.playerLevel[8] >= 99 && c.playerLevel[11] >= 99 && c.playerLevel[10] >= 99 && c.playerLevel[7] >= 99
&& c.playerLevel[12] >= 99 && c.playerLevel[21] >= 99 && c.playerLevel[21] >= 99 && c.playerLevel[18] >= 99 && c.playerLevel[17] >= 99 && c.playerLevel[16] >= 99 && c.playerLevel[15] >= 99 && c.playerLevel[9] >= 99) {
if (!c.hasNpc) {
c.gfx0(1738);
c.hasNpc = true;
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, itemSlot, c.playerItemsN[itemSlot]);
} else {
c.sendMessage("You alredy summoned an NPC");
}
}
}
}
Hope it helps..If it does, paypal is [email protected]