DIALOG_STYLE_MSGBOX - brake line?
#1

DIALOG_STYLE_MSGBOX - brake line? Is that possible?
Reply
#2

Yes, use '\n'
Reply
#3

Quote:
Originally Posted by Jochemd
Посмотреть сообщение
Yes, use '\n'
Or \r. Or both.
Reply
#4

Quote:
Originally Posted by randomkid88
Посмотреть сообщение
Or \r. Or both.
\r is not to make a new line...
Reply
#5

Quote:
Originally Posted by The_Moddler
Посмотреть сообщение
\r is not to make a new line...
\r is mostly used when saving text into file.
Reply
#6

In a dialog -> \n

In a file string -> \r\n
Reply
#7

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?
Reply
#8

\, not /
Reply
#9

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");
Reply
#10

You can, and it's \n not /n
Reply
#11

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)