25.07.2012, 13:39
I didn't script with Textdraws for a very long time, but isn't it possible to put "\n" in the text?
Usually this starts a new line. Let me give you a small example of my thought.
Then you only need to think about how you would like to delete that stuff from the Textdraw.
You can probably use strdel for that, but that's up to you.
#EDIT#: Damn I forgot the \n lol. I updated the script part.
Usually this starts a new line. Let me give you a small example of my thought.
pawn Код:
new conString[256]={}; //has to be big enough, but dunno the exact size
//conString will be the text of the Textdraw
//player connects:
new tmp[64];
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
format(tmp, sizeof(tmp), "%s connected.\n", pName);
strcat(conString, tmp); //appends the value of tmp to conString (your textdraw text)
You can probably use strdel for that, but that's up to you.
#EDIT#: Damn I forgot the \n lol. I updated the script part.