Posts: 395
Threads: 10
Joined: Dec 2010
Reputation:
0
Is there a way to not log what is said under OnPlayerText? I'm trying keep a clean server_log for other callbacks, I have a own file to log chatlogs.
Posts: 172
Threads: 33
Joined: Dec 2010
Reputation:
0
loop around the players, send a client message to all of the players, return 0.
Posts: 6,084
Threads: 231
Joined: Apr 2010
Reputation:
0
Not is Possible,
(Use Function HTTP for delet using PHP)
Posts: 2,593
Threads: 38
Joined: Aug 2007
Reputation:
0
It's not possible to not log what is said in OnPlayerText, best bet is to create a secondary log (into scriptfiles) and refer to that instead of "server.log"
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
I don't think it's possible... but I am not entirely sure. You may be able to "return 0;" and use "SendPlayerMessage" or a function of the sort to send it to everybody with the same design and stuff... I could be wrong, however...
Posts: 395
Threads: 10
Joined: Dec 2010
Reputation:
0
I'm returning it as 0 and using SendClientMessage(), but it still logs whatever is said under OnPlayerText. I guess I would have to create a secondary file for the chatlog and another one for server/and mysql queries.
^Thanks for the help tho
Posts: 1,466
Threads: 7
Joined: Jun 2009
Reputation:
0
It may be possible to block the whole server_log shit but not just the client messages ( Unless some hacking is done )