[SOLVED] Create log
#1

Well this is come coding i have done
Код:
stock CreateLog(fname[], string[], {float,_}:...)
{
	new str[256], File:hfile;
	format(str, sizeof(str), string);
	hfile = fopen(fname, io_append);
	fwrite(hfile, str);
	fclose(hfile);
}
I want it so i can do something like this.

CreateLog("test1.log", "%s %s\r\n", GetServerTime(), string);
Reply


Messages In This Thread
[SOLVED] Create log - by kevin974 - 25.07.2009, 04:06
Re: Create log - by kevin974 - 25.07.2009, 05:40
Re: Create log - by abhinavdabral - 25.07.2009, 06:03

Forum Jump:


Users browsing this thread: 2 Guest(s)