I want to show the confirm menu before buying in the barter shop.
I tried to use:
clif_scriptmenu(&sd, barter->npcid, "yes:no");
but I have no idea how to wait the player select the menu and use that option.
the result is the client show the select menu, but it starts to buy the item from barter shop. I want the client to wait for player to select "yes" or "no" before start buying from shop.
Question
oukiii
I want to show the confirm menu before buying in the barter shop.
I tried to use:
clif_scriptmenu(&sd, barter->npcid, "yes:no");
but I have no idea how to wait the player select the menu and use that option.
the result is the client show the select menu, but it starts to buy the item from barter shop. I want the client to wait for player to select "yes" or "no" before start buying from shop.
Thanks in advance.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.