help with dialog...
#4

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 2)
    {
        if(response) /* if player press first button */
        {
            switch ( listitem )
            {
                case 0:
                {
                    /* first item */
                }
                case 1:
                {
                    /* second item */
                }
                /* and so on */
            }
        }
        else
        {
            /* if player press second button */
        }
    }
    return 0;
}
Reply


Messages In This Thread
help with dialog... - by niels44 - 09.11.2011, 16:28
Re: help with dialog... - by Stigg - 09.11.2011, 16:31
Re: help with dialog... - by lordturhan - 09.11.2011, 16:32
Re: help with dialog... - by SmiT - 09.11.2011, 16:33
Re: help with dialog... - by niels44 - 09.11.2011, 16:43
Re: help with dialog... - by SmiT - 09.11.2011, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)