04.01.2011, 12:56
im having a problem it saves the score, but it saves it like 0.000.000.000
and yes there more before this this is just the line itself
pawn Код:
new score = GetPlayerScore(playerid);
new string[256];
new pname[24];
GetPlayerName(playerid, pname, 24);
format(string,256,"scores/%s.ini",pname);
new File:scores=fopen(string, io_append);
GetPlayerName(playerid, pname, 24);
format(string, 256, "%s", score);
fwrite(scores, string);
fclose(scores);
return 1;
}