04.01.2011, 13:00
Try this:
pawn Код:
new score = GetPlayerScore(playerid);
new string[256], pname[MAX_PLAYERNAME];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "scores/%s.ini",pname);
new File: scores = fopen(string, io_append);
format(string, sizeof(string), "%i",score);
fwrite(scores, string);
fclose(scores);