How do I make it read from bottem to top of a file?
I tried this...
Code:
public filereadtest(id){
new readdata[127], file = fopen(filename, "r")
while(fgets(file, readdata, 127) {
fseek(file, 0, SEEK_END)
fgets(file, readdata, 127)
parse(readdata, parsedstuff, 127)
client_print(id, print_chat, "%s", parsedstuff)
}
fclose(filename)
}
But it still only reads the top line.
__________________