CreateObject problem.
#4

Код:
stock Log(text[])
{
if(!fexist("Objects_log.txt")){fopen("Objects_log.txt", io_write);}
new h,m,s;
gettime(h,m,s);
new entry[256];
format(entry, sizeof(entry), "[%d:%d:%d] %s\r\n",h,m,s,text);
new File:hFile;
hFile=fopen("Objects_log.txt", io_append);
fwrite(hFile,entry);
fclose(hFile);
}
Reply


Messages In This Thread
CreateObject problem. - by Vegas. - 19.11.2012, 07:31
Re: CreateObject problem. - by Konstantinos - 19.11.2012, 07:44
Re: CreateObject problem. - by Vegas. - 19.11.2012, 07:50
Re: CreateObject problem. - by nemanjatesic - 19.11.2012, 09:27
Re: CreateObject problem. - by Vegas. - 19.11.2012, 09:38

Forum Jump:


Users browsing this thread: 1 Guest(s)