Just a simple question
#1

Will the function :

getdate(year, month, day);
gettime(hour, minute, second);

Also get's the other player's date and time according to their Computer System?
Reply
#2

I beleive it just gets a timestamp from the server nothing to do with players.
Reply
#3

Errno, only the one of the server, as there's no "playerid" parameter. You could use the GeoIP plugin (I've heard a few things about it, not everything) which comes with the GetPlayerTimeZone function to retrieve their local time.
Reply
#4

It gets the UNIX time from your host computer and converts it into time and date. But like Hiddos said, there might be other ways of getting the information you're looking for. One would be to retrieve the country the player is from and count the timezones.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)