08.07.2010, 13:05
See, I have a code:
The problem is that he sais that ALWAYS the file isnt exsits, and recreate it again, BUT THE FILE IS EXSISTS!!!
Код:
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");
}

