Stats won's save on disconnect
#9

Quote:
Originally Posted by Kindred
Посмотреть сообщение
Shouldn't it be this:

pawn Код:
if(fexist(hFile))
{
I figured since there was fwrite, fclose and shit, I searched fexist and saw that those were included as-well. Figured this would make the most sense.
He's checking if the file was opened successfully, rather than if it exists.

Let's see the file path and make sure it's valid:
pawn Код:
printf("Filepath: %s", filestring);
Add that under where the format sets the path and check the output.

Also, let's be clear, the last thing that prints is "Starting to write in the file... checking if file exists.", right? Nothing else within that statement gets printed?
Reply


Messages In This Thread
Stats won's save on disconnect - by Makaveli93 - 24.06.2012, 19:20
Re: Stats won's save on disconnect - by JaTochNietDan - 24.06.2012, 19:46
Re: Stats won's save on disconnect - by Makaveli93 - 24.06.2012, 20:35
Re: Stats won's save on disconnect - by JaTochNietDan - 24.06.2012, 20:38
Re: Stats won's save on disconnect - by Dodo9655 - 24.06.2012, 20:43
Re: Stats won's save on disconnect - by Makaveli93 - 24.06.2012, 20:43
Re: Stats won's save on disconnect - by Kindred - 24.06.2012, 20:53
Re: Stats won's save on disconnect - by Makaveli93 - 24.06.2012, 21:01
Re: Stats won's save on disconnect - by JaTochNietDan - 24.06.2012, 21:05
Re: Stats won's save on disconnect - by Makaveli93 - 24.06.2012, 21:07

Forum Jump:


Users browsing this thread: 2 Guest(s)