Quote:
Originally Posted by [AC
Etch ]
Quote:
Originally Posted by wafffllesss
Quote:
Originally Posted by [AC
Etch ]
Quote:
Originally Posted by [NWA
Hannes ]
If you didn't already knew you can add new lines:
pawn Код:
ShowPlayerDialog(playerid, dialogid, style, caption[], "This\nis\njust\na\ntest", button1[], button2[]);
Output:
This
is
just
a
test.
I don't know how to make it bigger tough
|
i know how to make dialog but i just wanna know how to make it bigger
|
pawn Код:
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[]);
|
can u explain more or give a link for tut.?
|
Create a string
Format it every single line with your options
pawn Код:
format(DialogString,sizeof(DialogString),"%s\nNew Option",DialogString); // Always including what you already got ( in this case: DialogString ).
Make this for all your options, Then you use the string
as the content of the dialog.
pawn Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Choose your option", DialogString, "Click me", "<- don't click him, click me!");