16.06.2009, 18:56
pawn Код:
new
Day, Month, Year,
string[20],
File:LogFile;
getdate(Year, Month, Day);
format(string, sizeof(string), "%d-%d-%d.txt", Year, Month, Day);
LogFile = fopen(string, io_readwrite);
fwrite(LogFile, "Your tosh goes here\n\r");
fclose(LogFile);