30.04.2009, 20:23
Quote:
Originally Posted by MoroJr™
so there's no posibility to show me the Day?
|
DaysOfTheWeek.ini
1=Sunday
2=Monday
3=Tuesday
4=Wednesday
5=Thursday
6=Friday
7=Saturday
CurrentYear=2009
CurrentMonth=4
CurrentDay=30
CurrentDayOfWeek=5
---------------------------------------
Than all you have to do is compare dates in OnGameModeInit/OnFilterScriptInit
It would just take a little bit of thinking, not too hard to do. I think i'll make a script of this right now and release it :P
You could make it yourself or wait a bit and i'll release it
EDIT: There are a bunch of factors I didn't think about, and really don't want to bother with so. But that concept could kind of work. Either that or map out the days of the week according to the actual month day with a calender.
Unless someone else has an idea, it would probably take a long time and would be easier to get the day from a server if you have linux your could probably do that with Boyletts socket thing in plugins or hopefully they can add a function to read the day off the windows clock.