14.05.2014, 16:30
pawn Код:
kick(event[])
{
new File:log = fopen("/Admin/Logs/commands/kick.txt", io_append);
if (log)
{
new Hour, Minute, Second, szTime[11];
gettime(Hour, Minute, Second);
format(szTime, sizeof (szTime), "[%02d:%02d:%02d]", Hour, Minute, Second);
fwrite(log, szTime);
fwrite(log, event);
fwrite(log, "\r\n");
fclose(log);
}
}