05.06.2011, 21:16
You don't have to use Dini for those things...
Use this:
Use this:
pawn Код:
stock ChatLog(string[])
{
new ptext[255];
format(ptext, sizeof(ptext), "%s\r\n", string);
new File:chatFile;
chatFile = fopen( "YourRandomFile", io_append);
fwrite(chatFile, entry);
fclose(chatFile);
}

