[Ajuda] Textdraw
#1

Eu criei um Textdraw So que nгo aparece

Код:
	ServerLogo1 = TextDrawCreate(244.000000,378.000000,"~w~~w~Brasil~r~Life~w~Hard");
	TextDrawFont(ServerLogo1, 1);
	TextDrawColor(ServerLogo1, 0xFFFFFFFF);
	TextDrawSetOutline(ServerLogo1, 1);
	TextDrawSetProportional(ServerLogo1, 1);
	TextDrawAlignment(ServerLogo1, 1);
	TextDrawBackgroundColor(ServerLogo1, 0x000000FF);
	TextDrawSetShadow(ServerLogo1, 1);
	TextDrawLetterSize(ServerLogo1, 0.600000, 2.999999);

	gettime(ClockTime[tHour], ClockTime[tMinute], ClockTime[tSecond]);
	getdate(ClockTime[dYear], ClockTime[dMonth], ClockTime[dDay]);

	new str[128];
	format(str,128, "%s~n~%02d:%02d:%02d - %02d/%02d ~n~%d/%d",SITE_URL, ClockTime[tHour], ClockTime[tMinute], ClockTime[tSecond], ClockTime[dDay], ClockTime[dMonth], Online, GetMaxPlayers());

  	ServerLogo2 = TextDrawCreate(309.000000,405.000000, str);
	TextDrawFont(ServerLogo2, 1);
	TextDrawColor(ServerLogo2, 0xE5E5E5FF);
	TextDrawLetterSize(ServerLogo2, 0.210000, 1.300000);
 	TextDrawSetOutline(ServerLogo2, 1);
  	TextDrawSetProportional(ServerLogo2, 1);
  	TextDrawAlignment(ServerLogo2, 2);
  	TextDrawBackgroundColor(ServerLogo2, 0x000000FF);
  	TextDrawSetShadow(ServerLogo2, 1);
    new Float:txtbar = 36.0;
Olha o textdraw
Reply
#2

https://sampwiki.blast.hk/wiki/TextDrawSetString
Reply
#3

E tbm falta ai o TextDrawShowForPlayer nгo ? O.o
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)