help with emmet's dialogs include [SOLVED]
#2

That's why there is "response" parameter. If response is 0, then the player either clicked on second button or pressed ESC. If you want the code to be executed only when a player clicked the first button or pressed Enter:
pawn Код:
Dialog:fishtools(playerid, response, listitem, inputtext[])
{
    if (response)
    {
        // code..
    }
    return 1;
}
Reply


Messages In This Thread
help with emmet's dialogs include [SOLVED] - by DemME - 14.06.2016, 19:42
Re: help with emmet's dialogs include +rep - by Konstantinos - 14.06.2016, 19:45
Re: help with emmet's dialogs include +rep - by DemME - 14.06.2016, 19:51

Forum Jump:


Users browsing this thread: 1 Guest(s)