11.12.2011, 14:36
You have to open the file with fopen before you can read it.
Like you can see here, the first parameter in fread is the file handle, not a string.
pawn Код:
native File:fopen(const name[], filemode: mode = io_readwrite);
pawn Код:
native fread(File: handle, string[], size = sizeof string, bool: pack = false);