Dini saving to file
#2

Код:
if(!fexist(file))
{
  printf("FindBug: File: %s  Kills: %d  Deaths: %d",file,PlayerInfo[playerid][Kills],,PlayerInfo[playerid][Deaths]);
  dini_IntSet(file, "Kills",PlayerInfo[playerid][Kills]);
  dini_IntSet(file, "Deaths",PlayerInfo[playerid][Deaths]);
}
From looking at your code, I don't see a problem. But your code is just part of the problem, try printing (above example) to make sure the file exists, to check the file name, to check kills and to check deaths. Printing helps you fix your own problems.
Reply


Messages In This Thread
Dini saving to file - by Ironboy500 - 20.12.2009, 06:53
Re: Dini saving to file - by Rac3r - 20.12.2009, 06:59
Re: Dini saving to file - by Ironboy500 - 20.12.2009, 07:04
Re: Dini saving to file - by Ironboy500 - 20.12.2009, 07:09
Re: Dini saving to file - by Deat_Itself - 20.12.2009, 08:09
Re: Dini saving to file - by Ironboy500 - 20.12.2009, 10:20
Re: Dini saving to file - by Deat_Itself - 20.12.2009, 10:42
Re: Dini saving to file - by LarzI - 20.12.2009, 10:56
Re: Dini saving to file - by Rac3r - 20.12.2009, 10:57

Forum Jump:


Users browsing this thread: 1 Guest(s)