14.12.2009, 21:25
Код:
stock printc(const format[], {Float,_}:...) { new Hour, Minute, Second; gettime(Hour, Minute, Second); new cf[100]; format(cf, 100, format, {Float,_}:...); if( fexist(CmdFile) ) { new File:cmdf=fopen(CmdFile, io_append); fwrite(cmdf, cf); fclose(cmdf); } return 1; }