Witam chciałbym aby w moim pluginie amxbansss był zapis do logów .
Dodałem ten oto kod , ale tutaj pokazuje tylko Jaki Admin zrobił i date a jak dodać do tego czas , czyli np Admin SysteM zrobil screeny: TrupeK data: 20150101 godzina : 17:58
"new dir[128]
new message[256]
new data[9]
get_time("%Y%m%d",data,8)
get_basedir(dir,127)
format(dir,127,"%s/logs/screeny_%s.log",dir,data)
format(message, 255, "Admin %s zrobil screeny: %s data: %s time: %s", adminname, name, data)
write_file(dir, message) "