Does it works? [Dialogs]
#1

Hi!

I have work with dialogs for very long now with out asking for help!..

And I fixed it..


But now when I try to do another thing with dialogs it won't work, so I wounder if it works to do like this:

pawn Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOG_WEAPONS)
    {
        if(response) // If they clicked 'Select' or double-clicked a weapon
        {
            // Give them the weapon
            if(listitem == 0) // They selected the first item - Desert Eagle
            {
                ShowPlayerDialog(playerid, DIALOG_BUY0, DIALOG_STYLE_LIST, "Shotguns & handguns", "9mm 150$\nSilenced 9mm 250$\nDesert Eagle\nShotgun\nSawnoff Shotgun 600$\nCombat Shotgun 200$\nMicro SMG/Uzi 350$\nMP5 250$\t", "Buy", "Close");
            }
But I get error that it's not defined.. When I tired to define it, it still didn't workt...
Reply


Messages In This Thread
Does it works? [Dialogs] - by davve95 - 27.10.2012, 16:38
Re: Does it works? [Dialogs] - by Mafioso97 - 27.10.2012, 16:41
Re: Does it works? [Dialogs] - by davve95 - 27.10.2012, 16:42
Re: Does it works? [Dialogs] - by Mafioso97 - 27.10.2012, 16:44
Re: Does it works? [Dialogs] - by davve95 - 27.10.2012, 16:54
Re: Does it works? [Dialogs] - by B-Matt - 28.10.2012, 07:56
Re: Does it works? [Dialogs] - by davve95 - 28.10.2012, 11:51
Re: Does it works? [Dialogs] - by davve95 - 05.11.2012, 16:22
Re: Does it works? [Dialogs] - by Glad2BeHere - 05.11.2012, 16:42
Re: Does it works? [Dialogs] - by davve95 - 05.11.2012, 17:43

Forum Jump:


Users browsing this thread: 1 Guest(s)