Log error
#3

Basically, it cannot find the function 'Log' anywhere.

pawn Код:
stock Log(file[], info[])
{
    if(fexist(file))
    {
        new finalContent[200];
       
        strcat(finalContent, info);
        strcat(finalContent, "\r\n");

        new File:handle = fopen(file, io_append);

        fwrite(handle, finalContent);
        fclose(handle);
    }
    return 1;
}
I made that function quickly, add to the bottom of your script, please tell me if it gives any errors.
Reply


Messages In This Thread
Log error - by Zumba - 12.03.2013, 21:14
Re: Log error - by Zumba - 12.03.2013, 21:50
Re: Log error - by Bicentric - 12.03.2013, 21:55
Re: Log error - by Calabresi - 12.03.2013, 21:55

Forum Jump:


Users browsing this thread: 1 Guest(s)