[HELP] Dini Exists
#1

See, I have a code:
Код:
	format(file,sizeof(file),"CarSys/Users/%s.txt",PlayerName);

	if(!dini_Exists(file))
	{
		dini_Create(file);
		dini_IntSet(file,"CarID",0);
		dini_IntSet(file,"OwnCar",0);
	}
	else if(dini_Exists(file))
	{
		PlayerInfo[playerid][CarID] = dini_Int(file,"CarID");
		PlayerInfo[playerid][OwnCar] = dini_Int(file,"OwnCar");
	}
The problem is that he sais that ALWAYS the file isnt exsits, and recreate it again, BUT THE FILE IS EXSISTS!!!
Reply


Messages In This Thread
[HELP] Dini Exists - by sTreTcheD - 08.07.2010, 13:05
Re: [HELP] Dini Exists - by Miikkel - 08.07.2010, 13:12
Re: [HELP] Dini Exists - by sTreTcheD - 08.07.2010, 13:55

Forum Jump:


Users browsing this thread: 2 Guest(s)