Dialogs get messed up
#4

I think it has everything to do with your problem... we'll try to fix it

replace your lines with these

pawn Код:
#define liquordialog (0)
pawn Код:
#define stadiumdialog (MAX_PLAYERS)
your next dialog would be

pawn Код:
#define nextdialog (MAX_PLAYERS*2) //Ignore this one
pawn Код:
public OnPlayerEnterStreamedCheckpoint(playerid, streamid)
{
    if(streamid == liquorcp)
    {
    ShowPlayerDialog(playerid, liquordialog+playerid, DIALOG_STYLE_LIST, "What do you want to buy?", "Sprunk ($10)\nBeer ($20)\nWine ($30)\nCigar ($20)", "Purchase", "Cancel");
    return 1;
  }

    else if(streamid == stadiumcp)
    {
    ShowPlayerDialog(playerid, stadiumdialog+playerid, DIALOG_STYLE_LIST, "Which minigame do you want to join?", "Mower DM\nHotring\nBloodring\nKickstart\n8-Track", "Join", "Cancel");
    return 1;
  }
    return 1;
}
Reply


Messages In This Thread
Dialogs get messed up - by Geso - 10.04.2010, 08:32
Re: Dialogs get messed up - by Khelif - 10.04.2010, 09:19
Re: Dialogs get messed up - by Geso - 10.04.2010, 09:42
Re: Dialogs get messed up - by Khelif - 10.04.2010, 09:53
Re: Dialogs get messed up - by Geso - 10.04.2010, 10:38
Re: Dialogs get messed up - by Geso - 11.04.2010, 11:54

Forum Jump:


Users browsing this thread: 1 Guest(s)