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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Dialog (
/showthread.php?tid=222865)
Dialog -
NewbBeginner - 08.02.2011
Please help me.
I want to split dialog, because this line is too long.
I want to split formats.
like:
format1
format2
format 3 = fromat 1 & 2
ShowPlayerDialog format3
Re: Dialog -
JaTochNietDan - 08.02.2011
You mean that you cannot fit the line into the code without the Pawn compiler complaining? Well then just make sure that the string is long enough and use format like so:
pawn Код:
format(string,sizeof(string),"first line....really long goes on forever your name is %s whatever",name);
format(string,sizeof(string),"%s continuation of this text bla bla your email is %s bla bla bla",string,email);
Hope that helps.