Posts: 3,351
Threads: 780
Joined: Jan 2010
Hi all,i need a log system.
I need to log:
reports and chat
Thanks
Posts: 3,351
Threads: 780
Joined: Jan 2010
Posts: 166
Threads: 16
Joined: Jan 2010
Reputation:
0
chat is logged as a default. Do you want to make a separate log for only chat and reports? it's easy to just include all in main log by using printf()
Posts: 3,351
Threads: 780
Joined: Jan 2010
Yes,separate log..how i can?Sorry im a beginner scripter
Posts: 3,351
Threads: 780
Joined: Jan 2010
Posts: 3,351
Threads: 780
Joined: Jan 2010
Come on man..u are not heling..
Posts: 166
Threads: 16
Joined: Jan 2010
Reputation:
0
Create a file and append player messages to it from OnPlayerText callback and /report command. Very easy stuff.
Posts: 2,628
Threads: 32
Joined: Apr 2007
Reputation:
0
Read upon File Functions at wiki.sa-mp.com, that about covers it.
@thomas..: Enough with that attitude.