28.04.2011, 12:30
Well I don't know exactly know what
does but I read on the wiki page it can have several values, not just 0 or 1, but the filehandling. I think that is an integer, but I'm not sure so try
Another thing,
is a bit nasty located. It only closes the file if the statement above is true, so if that isn't true the file will be opened but not closed. If you execute the command again the script will want to open a file which is allready opened. This means oFile must allways be true for the server not to crash. So reposition that file closing
pawn Код:
if(oFile)
{
pawn Код:
if(oFile > 0)
{
pawn Код:
fclose(oFile);