dialogs
#1

how do i add more lines in dialog_style_msgbox?
Like using the \n option? How shall it look like? thx
Reply
#2

You mean like this?
PHP код:
ShowPlayerDialog(playeridYOUR_DIALOG_IDDIALOG_STYLE_MSGBOX"Notice""1.Yo\n2.Yo two\n3.Yo three""Close"""); 
Reply
#3

Quote:
Originally Posted by Sreyas
Посмотреть сообщение
You mean like this?
PHP код:
ShowPlayerDialog(playeridYOUR_DIALOG_IDDIALOG_STYLE_MSGBOX"Notice""1.Yo\n2.Yo two\n3.Yo three""Close"""); 
I understand this, I mean I can't make this message huge? Like add much more then it can hold in 1 line..
Reply
#4

Quote:
Originally Posted by MrCesar
Посмотреть сообщение
I understand this, I mean I can't make this message huge? Like add much more then it can hold in 1 line..
This may seem weird but that's what I do:

PHP код:
new string[1000];
strcat(string"Hello world\nMore lines\n\nMore more lines.");
ShowPlayerDialog(playerid1DIALOG_STYLE_MSGBOX"Test"string"Close"""); 
So I can write as many things as I want without any warnings. (You may have to make the [1000] larger if you are going to type maaany things)
Reply
#5

There is a limit to the dialog lines but I am not sure whats the limit.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)