Where it says 457, thats where the NPC id goes, and where the 27 is, is what shop id it is.Code:else if (npc.getId() == 457) ShopsHandler.openShop(player, 27);
|
Yeah, I was just wondering how to make it so when I click on an NPC it opens the shop I want it to. I've already made the shop. Just can't figure that part out.
Where it says 457, thats where the NPC id goes, and where the 27 is, is what shop id it is.Code:else if (npc.getId() == 457) ShopsHandler.openShop(player, 27);
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |