2 questions.
#2

1- idk

2-
pawn Код:
stock GetWeekDay()
{
    new WeekDay[20];
    switch(((gettime()+334800)/86400-(gettime()+334800)/86400/7*7))
    {
        case 0: WeekDay = "Sunday";
        case 1: WeekDay = "Monday";
        case 2: WeekDay = "Tuesday";
        case 3: WeekDay = "Wednesday";
        case 4: WeekDay = "Thursday";
        case 5: WeekDay = "Friday";
        case 6: WeekDay = "Saturday";
    }
    return WeekDay;
}
Reply


Messages In This Thread
2 questions. - by ZeQualX - 15.11.2011, 04:10
Re: 2 questions. - by Pharrel - 15.11.2011, 04:24
Re: 2 questions. - by wumpyc - 15.11.2011, 04:50
Re: 2 questions. - by ZeQualX - 15.11.2011, 16:41

Forum Jump:


Users browsing this thread: 1 Guest(s)