print and \n
#1

I was just wondering why every time I use print, SA:MP automatically assumes I want to make a new line. Shouldn't new lines be determined only by using \n?

Say I want to do something like:

print("loading something");
* one second passes
print(".");
* one second passes
print(".");
* one second passes
print(".");
* task finishes
print("done (x amount loaded, in x amount time)");

so in the end it would look like this:

Код:
loading something...done (x amount loaded, in x amount time)
but if I were to do this is it would look like:

Код:
loading something
.
.
.
done (x amount loaded, in x amount time)
Reply


Messages In This Thread
print and \n - by ledzep - 15.08.2009, 20:59
Re: print and \n - by woot - 15.08.2009, 21:02
Re: print and \n - by ledzep - 15.08.2009, 21:04
Re: print and \n - by fastblast - 15.08.2009, 21:43
Re: print and \n - by ledzep - 17.08.2009, 06:56

Forum Jump:


Users browsing this thread: 1 Guest(s)