String
#1

Hello everyone! I was thinking about something.
Is '\n' symbol for new line - a character ? i.e. I'm using a register system in a dialog which shows some info like username init:
pawn Код:
new string[164], playername[MAX_PLAYER_NAME];
format(string, sizeof(string), ""white"Blabla\n"red"Username: "white"%s\n"red"Enter your password:", playername);
ShowPlayerDialog(playerid,RegisterDialog,DIALOG_STYLE_INPUT,""white"Register:",string,"Register","Quit");GetPlayerName(playerid, playername, sizeof(playername));
Also the color name like: "white" and "red" .
Because I want to decrease the size of the string to 124 or maybe lower, but I am not sure are these things which I've asked about, being characters so I musn't change the string size.
Reply


Messages In This Thread
String - by x96664 - 17.07.2013, 22:41
Re: String - by Smokkr - 17.07.2013, 22:44
Re: String - by Sgt.TheDarkness - 17.07.2013, 22:45
Re: String - by Calvingreen17 - 17.07.2013, 22:45
Re: String - by x96664 - 17.07.2013, 22:46
Re: String - by x96664 - 17.07.2013, 22:52
AW: String - by BigETI - 17.07.2013, 23:22

Forum Jump:


Users browsing this thread: 2 Guest(s)