27.01.2014, 19:34
Код:
#include <zcmd> #define DIALOG_INFO 1212 #define DIALOG_INFO2 1213
Код:
CMD:eventinfo(playerid,params[])
{
ShowPlayerDialog(playerid,DIALOG_INFO,DIALOG_STYLE_MSGBOX,"Info 1/2","-text1\n-text3\n-text4\n-text5\n-text6","Next","");
return 1;
}
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)
{
case DIALOG_EVENT:
{
if (response)
{
ShowPlayerDialog(playerid,DIALOG_INFO2,DIALOG_STYLE_MSGBOX,"{F0FF0F}Info 2/2","-text7\n-text8\n-text9\n-text10\n-text11", "Quit", "");
}
}
}
return 0;
}

