SA-MP Forums Archive
Is there a way? - Deleting line of file. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Is there a way? - Deleting line of file. (/showthread.php?tid=168225)



Is there a way? - Deleting line of file. - Jeffry - 15.08.2010

Hello community!

Is there any way to remove one line out of a file?
I mean, there is a "fwrite" a "fopen" ... "fremove" <= Removes the full file.
Is there a way how I can only remove, or overwrite a line in a file with a pawn code?


Jeffry


Re: Is there a way? - Deleting line of file. - Jefff - 15.08.2010

Yes search fdeleteline


Re: Is there a way? - Deleting line of file. - ikey07 - 15.08.2010

sry, off-topic

Jeffry and Jefff


Re: Is there a way? - Deleting line of file. - Jeffry - 15.08.2010

Jeffry - Jefff - and ikey07 with his nice girl.

--------------------------------------------------------------------------------

Thanks Jefff, works perfectly.
To whom do I give credits? You? Or did someone else made it?


Re: Is there a way? - Deleting line of file. - Jefff - 15.08.2010

Topic with Butilka ? if yes then is my funtion


Re: Is there a way? - Deleting line of file. - Jeffry - 15.08.2010

Yes. This one.
Oky, /credits for you then. I need it for a Property FS. I'll release a big one. (First I have to start, LOL).