Please help, Small Saving problem.
#6

Well I don't know exactly know what
pawn Код:
if(oFile)
    {
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
pawn Код:
if(oFile > 0)
    {
Another thing,
pawn Код:
fclose(oFile);
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
Reply


Messages In This Thread
Please help, Small Saving problem. - by Swiftz - 28.04.2011, 04:34
Re: Please help, Small Saving problem. - by Anteino - 28.04.2011, 09:37
Re: Please help, Small Saving problem. - by Swiftz - 28.04.2011, 11:49
Re: Please help, Small Saving problem. - by Anteino - 28.04.2011, 12:08
Re : Please help, Small Saving problem. - by Swiftz - 28.04.2011, 12:19
Re: Please help, Small Saving problem. - by Anteino - 28.04.2011, 12:30
Re: Please help, Small Saving problem. - by MadeMan - 28.04.2011, 13:03

Forum Jump:


Users browsing this thread: 3 Guest(s)