Raised This Month: $ Target: $400
 0% 

How to put text to the next line in file?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 08-15-2010 , 07:33   Re: How to put text to the next line in file?
Reply With Quote #5

You dont care ? Did you mean you dont know O.o
PHP Code:
new bool:IsSecond false //check if its the second return 
for(i=0;i<5;i++) // 4 returns 
{
if(
IsSecond)
{
fprint(smth)
IsSecond false
}
else 
// Its not the second return, its the first
{
fprint(smth else)
IsSecond true // so the next return is second

But this is example and its not usable for your script because it will return first the 'first return' than 'second return' so it will print only to lines multiple times.So if you want to use it only once modify it like you want.
SpeeDeeR is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode