Add line to the top of the file
#2

I haven't used the 'file' functions in a while, but, you can try "reading" the updates in a string ( https://sampwiki.blast.hk/wiki/Fread ), and then formatting it like this:
pawn Код:
format(string, sizeof(string), "%s\r\n%s", inputtext, buf);
or w.e
Reply


Messages In This Thread
Add line to the top of the file - by ahmedkoki - 20.02.2015, 12:50
Re: Add line to the top of the file - by Kyance - 20.02.2015, 12:59
Re: Add line to the top of the file - by Vince - 20.02.2015, 14:57
Re: Add line to the top of the file - by ahmedkoki - 21.02.2015, 20:26
AW: Add line to the top of the file - by Nero_3D - 21.02.2015, 22:32

Forum Jump:


Users browsing this thread: 1 Guest(s)