13.08.2012, 12:02
Hello,
i want to make some thing like if a player type /commands then the first dialog box will come
And then if i press 'NEXT' then the next dialog box should come (cancel = close the dialog)
How to make ?
i want to make some thing like if a player type /commands then the first dialog box will come
pawn Код:
new string[1900];
strcat(string, "Message", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
ShowPlayerDialog(playerid,1, DIALOG_STYLE_MSGBOX, "Messages", string, "NEXT","Cancel");
pawn Код:
new string[1900];
strcat(string, "Message", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
strcat(string, "\nMessage", 1900 );
ShowPlayerDialog(playerid,1, DIALOG_STYLE_MSGBOX, "Messages", string, "OK","Cancel");