PDA

View Full Version : How to change dialog on pressing " Next " button in Diialog_style_msgbox


SpikY_
11/08/2014, 11:30 AM
Removed!! :) i have fix it :)

SKAzini
11/08/2014, 11:52 AM
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 0) //modify dialog id
{
if(response) // If they clicked 'Select' or pressed enter
{
switch(listitem)
{
case 0: //do whatever (the first item in the list dialog)
case 1: //do whatever (the second item in the list dialog)
}
}
else // Pressed ESC or clicked back
{
//show the previous dialog
}
return 1;
}

return 0;
}

SpikY_
11/08/2014, 12:00 PM
Thx :) i done it myself