Help with dialog (dialog its too long) -
boyan96 - 18.10.2011
how i can make with this
PHP код:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"Notice","You connected to the server","Close","");
i was make it but i forgot how it was done
Re: Help with dialog (dialog its too long) -
SmiT - 18.10.2011
It makes no sense what you say. What do you mean?
Re: Help with dialog (dialog its too long) -
boyan96 - 18.10.2011
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"N otice",
"MY TEXT HERE ITS TOO LONG","Close","");
Re: Help with dialog (dialog its too long) -
manchestera - 18.10.2011
i think he means he is getting a warning that his text is to long or he cant see all the text in the dialog.
Код:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"N otice","You connected /n to the server","Close","");
Not 100% sure that is right but the /n should make it onto two lines so you can see it all if that is your problem.
Re: Help with dialog (dialog its too long) -
Wesley221 - 18.10.2011
Why is it to long? Does it give an error when compiling, or..?
Re: Help with dialog (dialog its too long) -
boyan96 - 18.10.2011
yes its giving me error: ..... it's too long
Re: Help with dialog (dialog its too long) -
KeeDee - 18.10.2011
Quote:
Originally Posted by boyan96
yes its giving me error: ..... it's too long
|
Send you're errors?
Re: Help with dialog (dialog its too long) -
sim_sima - 18.10.2011
use \n to make line tap.
Re: Help with dialog (dialog its too long) -
grand.Theft.Otto - 18.10.2011
I'm sure you got the " Input line too long after substitution " or whatever it is. Here is the solution:
pawn Код:
new dt[1024];
strcat(dt,"TEXT HERE");
strcat(dt,"MORE TEXT HERE");
strcat(dt,"EVEN MORE TEXT HERE");
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX, "Notice",dt,"Close","");
https://sampwiki.blast.hk/wiki/Strcat