I got a porblem with a functioon i made (GetMonth)
#5

No try this;
pawn Код:
stock GetMonth(month)
{
* * new monthname[20];
* * switch(Month)
* * {
* * * * case 1: *monthname = "January";
* * * * case 2: *monthname = "February";
* * * * case 3: *monthname = "March";
* * * * case 4: *monthname = "April";
* * * * case 5: *monthname = "May";
* * * * case 6: *monthname = "June";
* * * * case 7: *monthname = "July";
* * * * case 8: *monthname = "August";
* * * * case 9: *monthname = "September";
* * * * case 10: monthname = "October";
* * * * case 11: monthname = "November";
* * * * case 12: monthname = "December";
        default: monthname = 'invalid month'; *
 }
* * return monthname;
}
Reply


Messages In This Thread
I got a porblem with a functioon i made (GetMonth) - by Unknown123 - 12.02.2011, 22:41
Re: I got a porblem with a functioon i made (GetMonth) - by iggy1 - 12.02.2011, 23:28
Re: I got a porblem with a functioon i made (GetMonth) - by Antonio [G-RP] - 12.02.2011, 23:36
Re: I got a porblem with a functioon i made (GetMonth) - by iggy1 - 12.02.2011, 23:40
Re: I got a porblem with a functioon i made (GetMonth) - by jameskmonger - 12.02.2011, 23:42
Re: I got a porblem with a functioon i made (GetMonth) - by iggy1 - 12.02.2011, 23:46
Re: I got a porblem with a functioon i made (GetMonth) - by Unknown123 - 12.02.2011, 23:47
Re: I got a porblem with a functioon i made (GetMonth) - by jameskmonger - 12.02.2011, 23:55

Forum Jump:


Users browsing this thread: 3 Guest(s)