Posts: 3,351
Threads: 780
Joined: Jan 2010
Hello, i know this would sound impossible but i need to know if there is a way to create a single file log for every single player and every single action they do.
Something like:
[CHAT]LoggedPlayer: hi
[PM]LoggedPlayer:
And so on.
Is possible?
Posts: 484
Threads: 49
Joined: Feb 2011
Join Date: Jan 2010
Posts: 2,859
Reputation: 180
Scripting for $$ - Pm me for more info.
And you are asking is that posible? Of course it is, and it's very easy, just think about it a little......
Posts: 368
Threads: 24
Joined: Feb 2012
Create stock LogPlayerAction or something, name the file after the playername and write your logs.
Posts: 3,351
Threads: 780
Joined: Jan 2010
Quote:
Originally Posted by Richie©
Create stock LogPlayerAction or something, name the file after the playername and write your logs.
|
I'll try.
Quote:
Originally Posted by Dragony92
Join Date: Jan 2010
Posts: 2,859
Reputation: 180
Scripting for $$ - Pm me for more info.
And you are asking is that posible? Of course it is, and it's very easy, just think about it a little......
|
I know it's very easy because i tried and i wanna know if there are different ways then mine.
Posts: 973
Threads: 10
Joined: Sep 2012
Reputation:
0
Yes you can, but it will consume alot of space.
OnPlayerText should take care of the PMs and chat, and you could get the executed commands via OnPlayerCommandReceived.
After that comes the saving part.