how to save text in chat with Dini ?
#2

You don't have to use Dini for those things...
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);
}
Reply


Messages In This Thread
how to save text in chat with Dini ? - by will-56 - 05.06.2011, 21:10
Re: how to save text in chat with Dini ? - by xRyder - 05.06.2011, 21:16
Re : how to save text in chat with Dini ? - by will-56 - 05.06.2011, 21:32

Forum Jump:


Users browsing this thread: 1 Guest(s)