[508]Shop Interface wont open[508
hey ive got a fuw shop's
just from an server they already had the shops in it. and it was based on espeon
but i wanted to give it another shop
i started to add the other shop
succesfully no error's in compiler
i spawned my npc but when i press on him no interface come's up other's work fine?
what's wrong here are my file codes.
NPCOption1:
case 140: //santa
p.viewings = 1;
p.shopid = 9;
p.getActionSender().showInterface(p, 278);
p.getActionSender().setItems(p, 278, 89, 94, p.shop9, p.shop9n);
p.getActionSender().setString(p, " Santa's shop", 278, 88);
break;
Itemoption1:
else if(itemId == p.shop9[itemSlot])
{
p.getActionSender().sendMessage(p, "This item costs "+p.shop9p[0]);
}
ShopbuyConfig:
else if (p.shopid == 9 && pi.hasPlayerItemAmount(p, 995, p.shop9p[0]))
{
pi.deleteItem(p, 995, pi.getItemSlot(p, 995), p.shop9p[0]);
pi.addItem(p, p.shop9[itemSlot], 1);
}
Npcspawn:
spawn = 1552 3265 3678 0 0 0 0 0 santa
samone?