problem with textdraw
#1

I make 4 textdraws and after I connect it disapear........
Код:
//------------------------------------------------------------------------------
	new Hour, Minute, Second;new time[20]; gettime(Hour, Minute, Second);
	format(time, sizeof(time), "%d:%d:%d",time);
	TextdrawTime = TextDrawCreate(551.000000, 4.000000, time);
	TextDrawBackgroundColor(TextdrawTime, 65535);
	TextDrawFont(TextdrawTime, 2);
	TextDrawLetterSize(TextdrawTime, 0.420000, 2.099999);
	TextDrawColor(TextdrawTime, -1);
	TextDrawSetOutline(TextdrawTime, 1);
	TextDrawSetProportional(TextdrawTime, 1);
	
//------------------------------------------------------------------------------
	new year,month,day;new date[20];getdate(year, month, day);
	format(date, sizeof(date), "%d-%d",day,month);
	TextdrawDate = TextDrawCreate(490.000000, 5.000000, date);
	TextDrawBackgroundColor(TextdrawDate, 16777215);
	TextDrawFont(TextdrawDate, 2);
	TextDrawLetterSize(TextdrawDate, 0.430000, 2.000000);
	TextDrawColor(TextdrawDate, -1);
	TextDrawSetOutline(TextdrawDate, 1);
	TextDrawSetProportional(TextdrawDate, 1);
	
	for(new i; i < MAX_PLAYERS; i ++)
	{
		if(IsPlayerConnected(i))
		{
			TextDrawShowForPlayer(i, TextdrawTime);
			TextDrawShowForPlayer(i, TextdrawDate);
		}
	}
Reply


Messages In This Thread
problem with textdraw - by _ReloadeD_ - 10.02.2012, 19:26
Re: problem with textdraw - by MP2 - 10.02.2012, 20:00
Re: problem with textdraw - by _ReloadeD_ - 10.02.2012, 20:03
Re: problem with textdraw - by Nuke547 - 10.02.2012, 20:04
Re: problem with textdraw - by _ReloadeD_ - 10.02.2012, 20:12
Re: problem with textdraw - by _ReloadeD_ - 10.02.2012, 20:26
Re: problem with textdraw - by Twinki1993 - 10.02.2012, 20:26
Re: problem with textdraw - by RootKiller - 10.02.2012, 20:34
Re: problem with textdraw - by _ReloadeD_ - 10.02.2012, 22:12
Re: problem with textdraw - by MP2 - 10.02.2012, 22:17

Forum Jump:


Users browsing this thread: 2 Guest(s)