02.08.2010, 20:47
I still use the native File functions for reading configuration files (non-player files).
You would need to make a rather large string to store all the information in the file, then open the file, then I'd use a while loop.
You would need to make a rather large string to store all the information in the file, then open the file, then I'd use a while loop.
pawn Код:
while(fread(file, THE_LARGE_STRING))
{
//Do stuff, I use sscanf, you will see an example when my jBizz is released
}
fclose(file);