|
so i coded in bob to niets for my skill shop, i added items to him, but when i right click him and press trade, to view his shop nothing happens, i was wondering how you make it so you can trade npc's
That's not what he was asking.
Go to ActionHandler and find
You'll probably see a string of codes likeCode:public void secondClickNpc(int npcType) {
case 534:
c.getShops().openShop(11);
just add yours to if, if oyu don't see those:
Then between
andCode:switch(npcType) {
Code:default: ScriptManager.callFunc("npcClick2_"+npcType, c, npcType); if(c.playerRights == 3) Misc.println("Second Click Npc : "+npcType); break; } }
add your npc id and your shop id.
case ####:
c.getShops().openShop(#);
thanks 9th, repped
Thanks I need This too
ninth i did what you said and i just got errors, so i deleted it, can u teamview me?
nvm got it
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |