09.02.2019, 22:08
Crie-os manualmente ou substitua o cуdigo por isso:
PHP код:
WriteLog(const file[], string[], maxlength = sizeof(string))
{
if(!fexist(file))
{
new File: logFile = fopen(file, io_write);
fclose(logFile);
}
new stringLog[600], File: logFile = fopen(file, io_append);
format(stringLog, maxlength + 27, "[ %s бs %s ] %s\r\n", gData(), gHora(), string);
fwrite(logFile, stringLog);
fclose(logFile);
return 1;
}