ShowPlayerDialog(playerid, dialogid, style, caption[], "This\nis\njust\na\ntest", button1[], button2[]);
Originally Posted by [NWA
Hannes ]
If you didn't already knew you can add new lines: pawn Код:
This is just a test. I don't know how to make it bigger tough |
Originally Posted by [AC
Etch ]
Quote:
|
new DialogString[256];
format(DialogString,sizeof(DialogString),"Option 1");
format(DialogString,sizeof(DialogString),"%s\nOption 2",DialogString);
format(DialogString,sizeof(DialogString),"%s\nOption 3",DialogString);
format(DialogString,sizeof(DialogString),"%s\nOption 4",DialogString);
format(DialogString,sizeof(DialogString),"%s\nOption 5",DialogString);
format(DialogString,sizeof(DialogString),"%s\nOption 6",DialogString);
...
format(DialogString,sizeof(DialogString),"%s\nOption 15648",DialogString);
ShowPlayerDialog(playerid, dialogid, style, caption[], DialogString, button1[], button2[]);
Originally Posted by wafffllesss
Quote:
pawn Код:
|
ShowPlayerDialog(playerid, dialogid, style, caption[], "bla bla bla bla bla bla bla bla bla bla bla bla bla\
\nbla bla bla bla bla bla bla bla bla bla bla bla bla\
\nbla bla bla bla bla bla bla bla bla bla bla bla bla." , button1[], button2[]);
Originally Posted by [AC
Etch ]
Quote:
|
new DialogString[256];
format(DialogString,sizeof(DialogString),"%s\nNew Option",DialogString); // Always including what you already got ( in this case: DialogString ).
DialogString
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Choose your option", DialogString, "Click me", "<- don't click him, click me!");
if(strcmp(cmd, "/help", true) == 0 || strcmp(cmd, "/cmds", true) == 0 || strcmp(cmd, "/commands", true) == 0) { ShowPlayerDialog(playerid, 2, DIALOG_STYLE_MSGBOX, "Help :","Account : /register , /login , /changepass , /getid , /resetstats.\ \n_______________________________________________________________________________________________________________________________________________________________\ Player : /stats , /givecash , /kill , /me , /pm , /changeclass , /shop.\ \n________________________________________________________________________________________________________________________________________________________________\ Other :\n/ahelp ==> Admin Commands\n/vhelp ==> V.I.P Help\n/rules ==> Rules.\n#[Text] ==> Admin Chat.\n*[Text] ==> Team Chat.\n/objective ==> Objective.\n/admins ==> Admins Online.\n/report [id] [reason] .\n/animlist ==> Animations List.\n/wthelp ==> Walkie Talkie Help.\n", "Ok", "Cancel"); return 1; }
Originally Posted by [AC
Etch ]
didnt work gave alot of errors undefined |
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Login", "bla bla bla bla bla bla bla bla bla bla bla bla bla\
\nbla bla bla bla bla bla bla bla bla bla bla bla bla\
\nbla bla bla bla bla bla bla bla bla bla bla bla bla.", "OK", "Cancel");
Originally Posted by [AC
Etch ]
Код:
if(strcmp(cmd, "/help", true) == 0 || strcmp(cmd, "/cmds", true) == 0 || strcmp(cmd, "/commands", true) == 0) { ShowPlayerDialog(playerid, 2, DIALOG_STYLE_MSGBOX, "Help :","Account : /register , /login , /changepass , /getid , /resetstats.\ \n_______________________________________________________________________________________________________________________________________________________________\ Player : /stats , /givecash , /kill , /me , /pm , /changeclass , /shop.\ \n________________________________________________________________________________________________________________________________________________________________\ Other :\n/ahelp ==> Admin Commands\n/vhelp ==> V.I.P Help\n/rules ==> Rules.\n#[Text] ==> Admin Chat.\n*[Text] ==> Team Chat.\n/objective ==> Objective.\n/admins ==> Admins Online.\n/report [id] [reason] .\n/animlist ==> Animations List.\n/wthelp ==> Walkie Talkie Help.\n", "Ok", "Cancel"); return 1; } |