MSG dialog box!
#10

Quote:
Originally Posted by 0rb
One solution is to cut the string is smaller parts and join those parts together with format:

pawn Код:
new s1[] = "first part of the looooooooooooooong string";
new s2[] = "second part of the loooooooooooong string";
   
new s[1024];
format(s, sizeof s, "%s%s", s1, s2);

ShowPlayerDialog(playerid,10,DIALOG_STYLE_MSGBOX,"Server Rules:",s,"Agree","Disagree");
Another solution is to put the long string in a text file and fread it. You choose.
hmm why bother with format, just use strcat .
Reply


Messages In This Thread
MSG dialog box! - by addysnow1 - 19.11.2009, 13:29
Re: MSG dialog box! - by yom - 19.11.2009, 13:38
Re: MSG dialog box! - by addysnow1 - 19.11.2009, 13:44
Re: MSG dialog box! - by Joe Staff - 19.11.2009, 13:47
Re: MSG dialog box! - by addysnow1 - 19.11.2009, 14:51
Re: MSG dialog box! - by Correlli - 19.11.2009, 15:28
Re: MSG dialog box! - by addysnow1 - 19.11.2009, 20:40
Re: MSG dialog box! - by addysnow1 - 19.11.2009, 21:32
Re: MSG dialog box! - by yom - 19.11.2009, 22:15
Re: MSG dialog box! - by Kyosaur - 19.11.2009, 22:21

Forum Jump:


Users browsing this thread: 2 Guest(s)