17.07.2013, 22:41
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:
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.
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));
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.