31.07.2012, 04:33
Hey guys, I've been doing some tests and fseek was always returning 0, although by the samp-wiki it should return the new pos in the file.
//TEST CODE
main()
{
new File:test = fopen("test.txt",io_readwrite);
fwrite(test,"I will seek to first '5th position' in file.");
printf("Returned value is %d",fseek(test,5,seek_start));
fclose(test);
}