SA-MP Forums Archive
[Ajuda] Textdraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Textdraw (/showthread.php?tid=480236)



Textdraw - BigRet - 09.12.2013

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


Re: Textdraw - CharlieBrown - 09.12.2013

https://sampwiki.blast.hk/wiki/TextDrawSetString


Re: Textdraw - Tugamars - 09.12.2013

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