Help With Format
#1

Well im trying to make it so when i do for example
Код:
format(string1,sizeof(string1),"Test\r\n",etc);
that i can add another \n to the end and it will print it in the text file? like i have a code that formats a string and sends it to a txt file but im also using PHP for it and i need it to print a \n in the txt file at the end of a line, is there any way to do this?
Another Example I Have It Like This in the text file...
Код:
[19:31:6]Connection: [FF].ZombieMan.=[G]= Connected
[19:31:9]Connection: [FF]TheKid.=[G]= Connected
but i need it like this in the text file
Код:
[19:31:6]Connection: [FF].ZombieMan.=[G]= Connected\n
[19:31:9]Connection: [FF]TheKid.=[G]= Connected\n
Thanks, [FF]Cody_Beer
Reply
#2

pawn Код:
format ( string1, sizeof ( string1 ), "Test\r%s", "\n" );
^ Not tested;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)