How do I make the user a question?

hi all, I want to know how to realize a question (dialog) with c + + (custom script - script creature).

The need for the player to confirm the action you just choose from a list.

rev: TrinityCore-TrinityCore-a05e78b

code:

http://www.trinitycore.org/f/topic/6496-npc-server-helper-for-trinitycore

line code specific:

player->CLOSE_GOSSIP_MENU();
player->SendTalentWipeConfirm(creature->GetGUID());
break;

Example:

http://img402.imageshack.us/img402/5240/98889648.jpg

thanks for your support.

You can do that in the “gossip_menu_option”… Just look at the Database Telenpc and view the Code ^^ You could learn all you need from there /emoticons/default_smile.png

http://www.trinitycore.org/f/topic/1000-telenpc-database-only/

Hi @maddinii, what I need is to show a picture of question (yes - no) using c + + code

example:

sure you want to buy the item?

http://img692.imageshack.us/img692/2203/82193909.jpg

player->ADD_GOSSIP_ITEM_EXTENDED

Thanks @jamma