SA-MP Forums Archive
[Ajuda]Coordenadas da Tela - 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]Coordenadas da Tela (/showthread.php?tid=278405)



[Ajuda]Coordenadas da Tela - Night_Fire - 22.08.2011

Olб pessoal,Preciso saber como mudar as coordenadas de um TextDrawUseBox por exemplo. Esse й o meu script
Код:
public OnPlayerConnect(playerid)

	Textdraw0 = TextDrawCreate(17.000000,7.000000,"- - -");
	Textdraw1 = TextDrawCreate(15.000000,5.000000,"- - -");
	Textdraw2 = TextDrawCreate(19.000000,121.000000,"LeChatbox");
	TextDrawUseBox(Textdraw0,1);
	TextDrawBoxColor(Textdraw0,0x00000066);
	TextDrawTextSize(Textdraw0,442.000000,395.000000);
	TextDrawUseBox(Textdraw1,1);
	TextDrawBoxColor(Textdraw1,0xffffff66);
	TextDrawTextSize(Textdraw1,445.000000,395.000000);
	TextDrawAlignment(Textdraw0,0);
	TextDrawAlignment(Textdraw2,0);
	TextDrawAlignment(Textdraw1,0);
	TextDrawBackgroundColor(Textdraw0,0x00000000);
	TextDrawBackgroundColor(Textdraw2,0x00000099);
	TextDrawBackgroundColor(Textdraw1,0xff000000);
	TextDrawFont(Textdraw0,1);
	TextDrawLetterSize(Textdraw0,1.000000,14.100000);
	TextDrawFont(Textdraw2,0);
	TextDrawLetterSize(Textdraw2,0.899999,2.400000);
	TextDrawFont(Textdraw1,3);
	TextDrawLetterSize(Textdraw1,0.899999,14.599998);
	TextDrawColor(Textdraw0,0x00000000);
	TextDrawColor(Textdraw2,0xffffffff);
	TextDrawColor(Textdraw1,0xff000000);
	TextDrawSetOutline(Textdraw0,1);
	TextDrawSetOutline(Textdraw2,1);
	TextDrawSetOutline(Textdraw1,1);
	TextDrawSetProportional(Textdraw0,1);
	TextDrawSetProportional(Textdraw2,1);
	TextDrawSetProportional(Textdraw1,1);
	TextDrawSetShadow(Textdraw2,1);
	TextDrawSetShadow(Textdraw1,1);
	TextDrawShowForPlayer(playerid, Text:Textdraw0);
	TextDrawShowForPlayer(playerid, Text:Textdraw1);
	TextDrawShowForPlayer(playerid, Text:Textdraw2);
Ele adiciona um ChatBox segue o print

Preciso saber como mudar as coordenadas do box e botar ele em outro lugar da tela,como faзo isso?


Re: [Ajuda]Coordenadas da Tela - Macintosh - 22.08.2011

Zamaroth's TextDraw Editor


Re: [Ajuda]Coordenadas da Tela - Night_Fire - 22.08.2011

Quote:
Originally Posted by Shickcard
Zamarothґs TextDraw Editor
Ja tentei usar esse FS mais nao ajudo,pq nao sei usa-lo pra criar box.mas vlw


Re: [Ajuda]Coordenadas da Tela - Macintosh - 22.08.2011

Bem, tem alguns tutoriais de como usar ele, basta ver posteriormente. Acho que uma das formas mais faceis de se criar textdraw й com ele entгo...


Re: [Ajuda]Coordenadas da Tela - BrunoBSF - 23.08.2011

esse Zamaroth's TextDraw Editor e muito massa ajuda pakas