How to build second log
#1

A good log information can help the servers that do not have enough admin.

However, if the log information is very large. Admin will be difficult to find the information they need.

So, the script can build other log? how to build anf work?
Reply
#2

Hi there billy4601,

I took a quick search,

maybe this could benefit you: http://forum.sa-mp.com/index.php?topic=73748.0

Let us know how you get on,

TJ
Reply
#3

Quote:
Originally Posted by TTJJ
Hi there billy4601,

I took a quick search,

maybe this could benefit you: http://forum.sa-mp.com/index.php?topic=73748.0

Let us know how you get on,

TJ
Well, I guess you may misunderstood what I mean. I mean can build other types of log?

like a ban log, kicklog, reportlog ... etc. But this This may be helpful
Reply
#4

Anyone can help me? or, can teach me how to Planning a good log.
Reply
#5

Hey,
I understand what you want. The normal log can get very big and it becomes very hard to find what you want.
My best solution for you is using printtofile:
Код:
printtofile(filename[],string[])
{
	if(!fexist(filename)) fcreate(filename);
	new File:FTW=fopen(filename,io_append);
	fwrite(FTW,string);
	fclose(FTW);
	return 1;
}
Reply
#6

Use SQL database to make logs. It's easy to search in them.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)