DIALOG_STYLE_MSGBOX - brake line? - 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_STYLE_MSGBOX - brake line? (
/showthread.php?tid=193834)
DIALOG_STYLE_MSGBOX - brake line? -
ajwar - 27.11.2010
DIALOG_STYLE_MSGBOX - brake line? Is that possible?
Re: DIALOG_STYLE_MSGBOX - brake line? -
Jochemd - 27.11.2010
Yes, use '\n'
Re: DIALOG_STYLE_MSGBOX - brake line? -
randomkid88 - 27.11.2010
Quote:
Originally Posted by Jochemd
Yes, use '\n'
|
Or \r. Or both.
Re: DIALOG_STYLE_MSGBOX - brake line? -
The_Moddler - 27.11.2010
Quote:
Originally Posted by randomkid88
Or \r. Or both.
|
\r is not to make a new line...
Re: DIALOG_STYLE_MSGBOX - brake line? -
Zh3r0 - 27.11.2010
Quote:
Originally Posted by The_Moddler
\r is not to make a new line...
|
\r is mostly used when saving text into file.
Re: DIALOG_STYLE_MSGBOX - brake line? -
Jochemd - 28.11.2010
In a dialog -> \n
In a file string -> \r\n
Re: DIALOG_STYLE_MSGBOX - brake line? -
ajwar - 04.12.2010
pawn Код:
format(result,sizeof(result), "Please login /n username:%s", name);
ShowPlayerDialog(playerid, 15000, DIALOG_STYLE_INPUT , "Login", result, "OK", "Cancel");
why this /n won't work?
Re: DIALOG_STYLE_MSGBOX - brake line? -
Gh0sT_ - 04.12.2010
\, not /
Re: DIALOG_STYLE_MSGBOX - brake line? -
fangoth1 - 05.12.2010
you cant any spaces between the /n i belive
pawn Код:
format(result,sizeof(result), "Please login/nusername:%s", name);
ShowPlayerDialog(playerid, 15000, DIALOG_STYLE_INPUT , "Login", result, "OK", "Cancel");
Re: DIALOG_STYLE_MSGBOX - brake line? - [03]Garsino - 05.12.2010
You can, and it's
\n not
/n
Re: DIALOG_STYLE_MSGBOX - brake line? -
Jakku - 05.12.2010
pawn Код:
format(result,sizeof(result), "Please login\nusername:%s", name);
ShowPlayerDialog(playerid, 15000, DIALOG_STYLE_INPUT , "Login", result, "OK", "Cancel");
Guys, it's not so hard