05.02.2013, 00:49
pawn Код:
WritePlayer(text[],playerid, bool:filestart)
{
new string[MAX_PLAYER_NAME+15];
GetPlayerName(playerid,string,sizeof(string));
format(string,sizeof(string),"Players/%s.ini",string);
new File:player = fopen(string, io_append);
if(!filestart) format(text,256,"\n%s",text);
fclose((fwrite(player,text),player));
//return text;
}