23.11.2012, 16:23
hmmm if that what you mean i only know how to write in file
Use this:
Use this:
pawn Код:
new File:File1,PATH[256],string[128];
public OnPlayerSpawn(playerid)
{
format(PATH,126,"Users/%s.sav",PlayerName(playerid));
File1 = fopen(PATH,io_append);
format(string,128,"Money: %d\r\n",GetPlayerMoney(playerid));
fwrite(File1,string);
format(string,128,"Score: %d\r\n",GetPlayerScore(playerid));
fwrite(File1,string);
fclose(File1);
return 1;
}