I want to log my /ar commands
#1

Guys, I got a report system.
When a player use /report xxxxx
it's coming to my screen with an ID
"sam_heffe reported (ID:43) ReportID:503 : xxxxx"
I can accept it with /ar 503
But I want to save it.
I mean I want to learn who is working ..
How can I write this command.I mean
I want to see this log

--
adminar.txt (logs)
xx Admin accepted 23 report
xx Admin accepted 34 report

bla bla bla

Thanks
Reply
#2

https://sampwiki.blast.hk/wiki/Fwrite
Example in it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)