09.09.2011, 17:07
pawn Код:
ShowPlayerDialog(playerid, 1, ...); // create the first dialog at your start minigame command
// OnDialogResponse:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1)
{
// what first dialog should do
ShowPlayerDialog(playerid, 2, ...); // shows dialog 2
}
if(dialogid == 2)
{
// what second dialog should do
ShowPlayerDialog(playerid, 3, ...); // show dialog 3
}
if(dialogid == 3)
{
// what dialog id 3 should do and so on
}
return 1;
}
And this also: https://sampwiki.blast.hk/wiki/OnDialogResponse