09.09.2012, 18:37
Could anyone show me how to continue the Dialog when I do press >> (or next dialog)
So After I click >> This should show.
then again another >>
Then again >>
and last >>
I need 5 DIALOG Next >> also support Back button..
pawn Код:
CMD:cmds(playerid, params[])
{
new str[256];
strcat(str, "Basic Commands:\n\n");
strcat(str, "/id \t\t-- \tSearch player ID using Player part name\n");
strcat(str, "/pm \t\t-- \tSend private message to a player\n");
strcat(str, "/pmo \t\t-- \tToggle PM enabled/disabled\n");
ShowPlayerDialog(playerid, DIALOG_COMMANDS, DIALOG_STYLE_MSGBOX, "Commands", str, ">>", "Close");
return 1;
}
Код:
new str[256]; strcat(str, "Player Commands:\n\n"); strcat(str, "/asd \t\t-- \tSearch player ID using Player part name\n"); strcat(str, "/adawd \t\t-- \tSend private message to a player\n");
Код:
new str[256]; strcat(str, "Admin Commands\n\n"); strcat(str, "/adawd \t\t-- \tSearch player ID using Player part name\n"); strcat(str, "/awdawd \t\t-- \tSend private message to a player\n");
Код:
new str[256]; strcat(str, "Vehicle Commands\n\n"); strcat(str, "/ad \t\t-- \tSearch player ID using Player part name\n"); strcat(str, "/adw\t\t-- \tSend private message to a player\n");
Код:
new str[256]; strcat(str, "Account Commands:\n\n"); strcat(str, "/awd \t\t-- \tSearch player ID using Player part name\n"); strcat(str, "/adwad \t\t-- \tSend private message to a player\n");