TextDraw Overlap/Bunk
#1

Hi, I have a problem with a TextDraw sometimes not always when changing or time overlaps minutes old time instead set properly. Excuse my bad English.
http://postimg.org/image/r3q3pn2tx/

http://postimg.org/image/yc4cipqol/ - Normal
http://postimg.org/image/gyfeiusw9/ - Overlap



Код:
	//Data		
		txtDateDisp[playerid] = TextDrawCreate(546.296203, 9.333327, "  ");
TextDrawLetterSize(txtDateDisp[playerid], 0.338023, 1.564998);
TextDrawAlignment(txtDateDisp[playerid], 1);
TextDrawColor(txtDateDisp[playerid], -1);
TextDrawSetShadow(txtDateDisp[playerid], 0);
TextDrawSetOutline(txtDateDisp[playerid], 1);
TextDrawBackgroundColor(txtDateDisp[playerid], 255);
TextDrawFont(txtDateDisp[playerid], 3);
TextDrawSetProportional(txtDateDisp[playerid], 1);
//Clock
txtTimeDisp[playerid] = TextDrawCreate(546.295898, 20.416660, "  ");
TextDrawLetterSize(txtTimeDisp[playerid], 0.627569, 2.585828);
TextDrawAlignment(txtTimeDisp[playerid], 1);
TextDrawColor(txtTimeDisp[playerid], 0x358AD4FF);
TextDrawSetShadow(txtTimeDisp[playerid], 1);
TextDrawSetOutline(txtTimeDisp[playerid], 1);
TextDrawBackgroundColor(txtTimeDisp[playerid], 255);
TextDrawFont(txtTimeDisp[playerid], 3);
TextDrawSetProportional(txtTimeDisp[playerid], 1);

TextDrawShowForPlayer(playerid,txtTimeDisp[playerid]);
TextDrawShowForPlayer(playerid,txtDateDisp[playerid]);
And timer of 10 milliseconds:

new hours,day,year,minutes,month;
gettime(hours, minutes);
getdate(year, month, day);
format(datestr,128,"~w~%02d.%02d.%d", day, month, year);
format(timestr,32,"~g~%02d:%02d",hours,minutes);
foreach(Player, i)
{
TextDrawSetString(txtTimeDisp[i],timestr);
TextDrawSetString(txtDateDisp[i],datestr);
}
Reply


Messages In This Thread
TextDraw Overlap/Bunk - by w3b - 27.12.2015, 13:22
Re: TextDraw Overlap/Bunk - by ikey07 - 27.12.2015, 14:11
Re: TextDraw Overlap/Bunk - by w3b - 27.12.2015, 14:24
Re: TextDraw Overlap/Bunk - by w3b - 27.12.2015, 14:41
Re: TextDraw Overlap/Bunk - by Vince - 27.12.2015, 14:57
Re: TextDraw Overlap/Bunk - by PrO.GameR - 27.12.2015, 18:53
Re: TextDraw Overlap/Bunk - by w3b - 27.12.2015, 19:41

Forum Jump:


Users browsing this thread: 1 Guest(s)