31.10.2013, 06:36
better thing to do, just check ur server.log in the server directory.
it shows u the time in hh:mms format.
the only down side to it is that it doesnt show u the day/date.
for that u need to make a custom log.
like under OnPlayerConnect you can make a formatted string to log...
[%d/%d/%d (date) %d:%d:%d(custom timestamp) %s (playername) %d (player ip) has logged in"
and then under OnPlayer Disconnect
(variables in a similar manner) ...........has logged off.
hope it helped.
if you didnt understand, temme which part, and ill explain till u dont. cheers
it shows u the time in hh:mms format.
the only down side to it is that it doesnt show u the day/date.
for that u need to make a custom log.
like under OnPlayerConnect you can make a formatted string to log...
[%d/%d/%d (date) %d:%d:%d(custom timestamp) %s (playername) %d (player ip) has logged in"
and then under OnPlayer Disconnect
(variables in a similar manner) ...........has logged off.
hope it helped.
if you didnt understand, temme which part, and ill explain till u dont. cheers