31.07.2012, 17:10
Hi!
This is my main problem
https://sampforum.blast.hk/showthread.php?tid=364406
But now, I'm interested in that, after using the fread() or fwrite() functions, the cursor in file is taken to the end of the current line, or the beginning to the next line?
In a file the lines are separated with enter characters, the enters are the "\r\n" chars (I use windows). If I run my gamemode on Linux, can it make any problems if I format the lines with "\r\n"? Ot i use just "\n" on linux?
Thank you,
Zuckerman
This is my main problem
https://sampforum.blast.hk/showthread.php?tid=364406
But now, I'm interested in that, after using the fread() or fwrite() functions, the cursor in file is taken to the end of the current line, or the beginning to the next line?
In a file the lines are separated with enter characters, the enters are the "\r\n" chars (I use windows). If I run my gamemode on Linux, can it make any problems if I format the lines with "\r\n"? Ot i use just "\n" on linux?
Thank you,
Zuckerman