10.04.2012, 10:39
I have a textdraw bug, i have 1 space and it shows 2/3 space if you can see at 10 and april
format(MessageText, sizeof(MessageText), "Date: %d %s %d", day, month, year);
format(MessageText, sizeof(MessageText), "Date: %d%s%d", day, month, year);
if(month == 1) { monthtext = "January"; SetWeather(winterrand); }
else if(month == 2) { monthtext = "February"; SetWeather(winterrand); }
else if(month == 3) { monthtext = "March"; if(day <21) { SetWeather(WinterWeather[winterrand]); } else { SetWeather(SpringWeather[springrand]); } }
else if(month == 4) { monthtext = "April"; SetWeather(SummerWeather[summerrand]); }
else if(month == 5) { monthtext = "May"; SetWeather(SpringWeather[springrand]); }
else if(month == 6) { monthtext = "June"; if(day <21) { SetWeather(SpringWeather[springrand]); } else { SetWeather(SummerWeather[summerrand]); } }
else if(month == 7) { monthtext = "July"; SetWeather(SummerWeather[summerrand]); }
else if(month == 8) { monthtext = "August"; SetWeather(SummerWeather[summerrand]); }
else if(month == 9) { monthtext = "September"; if(day <21) { SetWeather(SummerWeather[summerrand]); } else { SetWeather(AutumnWeather[autumnrand]); } }
else if(month == 10) { monthtext = "October"; SetWeather(AutumnWeather[autumnrand]); }
else if(month == 11) { monthtext = "November"; SetWeather(AutumnWeather[autumnrand]); }
else if(month == 12) { monthtext = "December"; if(day <21) { SetWeather(AutumnWeather[autumnrand]); } else { SetWeather(WinterWeather[winterrand]); } }
strdel(month, 0, 1);