View Single Post
headline
SourceMod Moderator
Join Date: Mar 2015
Old 10-19-2016 , 19:55   Re: Plugin that automaatically delete old logs?
Reply With Quote #3

This is more of a plugin request so it should be moved there, but this should work


It automatically deletes files that are older than a week. If you want to increment the time change this line. It's in weeks
Code:
#define WEEKS_TO_DELETE 1
As usual, SourceMod 1.7+
Spoiler
Attached Files
File Type: sp Get Plugin or Get Source (hl_logcleaner.sp - 244 views - 2.2 KB)

Last edited by headline; 10-19-2016 at 20:05.
headline is offline