Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
You would need random access to change a specific line only, but fwrite does only support sequential.
A possibility (without plugins, if there are some for RA) would be to read the whole file line-by-line, look for the players alive line, change it (the variable containing it) and rewrite the whole file.
You could also use a ini fs, it does almost the same.
Posts: 246
Threads: 13
Joined: Aug 2010
Reputation:
0
But how does iClone it? He doesn't change a string anywhere :P
Posts: 2,896
Threads: 11
Joined: Sep 2008
Reputation:
0
Not dini, djSon seeing how it's much faster and stable (And seeing how it was made as "dini2").