Can someone explain why the function sell does not work ?
from net.sf.l2j.gameserver.network.serverpackets import SellList
if event == "sellmenu" :
st.player.setTarget(npc)
st.player.sendPacket(SellList(player))
st.player.sendPacket(ActionFailed.STATIC_PACKET)
return
on GMSHOP html i have this:
<button value="Sell" action="bypass -h Quest 955_NpcService sellmenu 0 0 0" width=85 height=20 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">