SA-MP Forums Archive
Bug with dialog. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Bug with dialog. (/showthread.php?tid=617939)



Bug with dialog. - Disaster97 - 28.09.2016

How can I fix it?

t's really not nice(


Re: Bug with dialog. - dugi - 28.09.2016

You have use the new dialog types added in version 0.3.7 to have the text align properly check the bottom of: https://sampwiki.blast.hk/wiki/Dialog_Styles

I'm moving it to the scripting section because it's not a bug.


Re: Bug with dialog. - iLearner - 28.09.2016

Use DIALOG_STYLE_TABLIST_HEADERS, will do your work


Re: Bug with dialog. - Disaster97 - 28.09.2016

Quote:
Originally Posted by dugi
Посмотреть сообщение
You have use the new dialog types added in version 0.3.7 to have the text align properly check the bottom of: https://sampwiki.blast.hk/wiki/Dialog_Styles

I'm moving it to the scripting section because it's not a bug.
But I don't want to use a LIST, I want to use MSGBOX. It's 2 different type of dialogs.
LIST - have "listitem".


Re: Bug with dialog. - ThatFag - 28.09.2016

Код:
new iMainContent[500];
       strcat(iMainContent, "{adc7e7}----------------------------------------------------------------------------------{FFFFFF}\n\n");
                  strcat(iMainContent, "{adc7e7}Bla Bla BLa : %d{FFFFFF}\n\n",a);
                   strcat(iMainContent, "{adc7e7}bla: $%s {FFFFFF}\n\n",a);
                   strcat(iMainContent, "{adc7e7}etc: $%d {FFFFFF}\n\n",a);
                   strcat(iMainContent, "{adc7e7}etc : $%d {FFFFFF}\n\n",a);
                   strcat(iMainContent, "{adc7e7}etc: $%d {FFFFFF}\n\n",a);
                   strcat(iMainContent, "{adc7e7}etc: %d%% {FFFFFF}\n\n",a);
                   strcat(iMainContent, "\n{adc7e7}----------------------------------------------------------------------------------");
im using this way of dialog and i think this should work for you too


Re: Bug with dialog. - SickAttack - 28.09.2016

Quote:
Originally Posted by Disaster97
Посмотреть сообщение
But I don't want to use a LIST, I want to use MSGBOX. It's 2 different type of dialogs.
LIST - have "listitem".
That's the point of the new dialog styles, msgbox doesn't always align text properly.