dialog help
#7

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
pawn Код:
new DialogString[256];
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
pawn Код:
DialogString
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!");
Reply


Messages In This Thread
dialog help - by aircombat - 01.03.2010, 13:02
Re: dialog help - by bajskorv123 - 01.03.2010, 13:09
Re: dialog help - by aircombat - 01.03.2010, 13:12
Re: dialog help - by wafffllesss - 01.03.2010, 13:17
Re: dialog help - by aircombat - 01.03.2010, 13:19
Re: dialog help - by Correlli - 01.03.2010, 13:24
Re: dialog help - by wafffllesss - 01.03.2010, 13:26
Re: dialog help - by aircombat - 01.03.2010, 13:33
Re: dialog help - by Correlli - 01.03.2010, 13:37
Re: dialog help - by aircombat - 01.03.2010, 13:38

Forum Jump:


Users browsing this thread: 3 Guest(s)