am pus un buton in inventar car ar trebui sa deschida un shop,
butonul merge dar nu imi deschide shop-ul...
quest sshop begin
state start begin
when login begin
cmdchat("sshop "..q.getcurrentquestindex())
end
when button or info begin
setskin(NOWINDOW)
npc.open_shop(9)
syschat("|cFF00ff33[ReignMetin2] > |cFFf7eccc|hShop Portatile aperto")
end
end
end
sys chatul il arata in game dar nu-mi deschide shopul. careva stie unde am gresit?
am aflat de ce nu merge, functia npc.open_shop deschide doar daca sunt langa npc cu butonul, stie cineva cum fac sa fac asta fara sa fiu in aproprierea acestuia??