16.01.2010, 18:56
Right. I'm stumped. I mean, yeah I'm new to scripting but I have read guides and tutorials but I STILL can't grasp this.
Basically, I have this code:
I want it to be so, when you click the Button 1 on the ShowPlayerDialog, it'll go back to the original dialog (dialogid == 1).
Can anyone help me?
Basically, I have this code:
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1)
{
if(listitem == 0)
{
new housedetails[] = "-MY TEXT HERE";
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_MSGBOX, "-MY TEXT HERE", housedetails, "Continue", "Quit");
}
return 1;
}
return 0;
}
Can anyone help me?