04.11.2007, 22:30
Just looked the source...
Just a question: do you have tested it with more than one player? You say 'put time() under OnPlayerSpawn' .. lol.
Also, why not simply SetWorldTime(hour); ? And you can do %02d instead of checking if hour < 10, same for month etc..
Last thing: what about players who aren't in the same timezone of the server location ? You should do a /gmt command or something. And what about players who may want to set it to 12h format, and month.day instead of day.month ?
Just a question: do you have tested it with more than one player? You say 'put time() under OnPlayerSpawn' .. lol.
Also, why not simply SetWorldTime(hour); ? And you can do %02d instead of checking if hour < 10, same for month etc..
Last thing: what about players who aren't in the same timezone of the server location ? You should do a /gmt command or something. And what about players who may want to set it to 12h format, and month.day instead of day.month ?