SA-MP Forums Archive
Problems with textdraws - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problems with textdraws (/showthread.php?tid=589338)



Problems with textdraws - MinDex - 18.09.2015

Hello. I want to create /tele command with textdraw.

It's okay, but when I write TextDrawSetSize it's bad..

Код HTML:
	vteles4 = TextDrawCreate(257.000000, 133.875000, "~y~E~w~l ~y~Q~w~ebrados");
	TextDrawLetterSize(vteles4, 0.272000, 1.236874);
	TextDrawAlignment(vteles4, 1);
	TextDrawColor(vteles4, -1);
	TextDrawSetShadow(vteles4, 0);
	TextDrawSetOutline(vteles4, 1);
	TextDrawBackgroundColor(vteles4, 51);
	TextDrawFont(vteles4, 2);
	TextDrawSetProportional(vteles4, 1);
	TextDrawTextSize(vteles4, 0.3, 1.3);

	vteles5 = TextDrawCreate(251.500000, 152.375000, "~y~L~w~as ~y~P~w~aydasas");
	TextDrawLetterSize(vteles5, 0.272000, 1.236874);
	TextDrawAlignment(vteles5, 1);
	TextDrawColor(vteles5, -1);
	TextDrawSetShadow(vteles5, 0);
	TextDrawSetOutline(vteles5, 1);
	TextDrawBackgroundColor(vteles5, 51);
	TextDrawFont(vteles5, 2);
	TextDrawSetProportional(vteles5, 1);
	TextDrawTextSize(vteles5, 0.3, 1.3);

	vteles6 = TextDrawCreate(269.000000, 170.875000, "~y~B~w~ay ~y~S~w~ide");
	TextDrawLetterSize(vteles6, 0.272000, 1.236874);
	TextDrawAlignment(vteles6, 1);
	TextDrawColor(vteles6, -1);
	TextDrawSetShadow(vteles6, 0);
	TextDrawSetOutline(vteles6, 1);
	TextDrawBackgroundColor(vteles6, 51);
	TextDrawFont(vteles6, 2);
	TextDrawSetProportional(vteles6, 1);
	TextDrawTextSize(vteles6, 0.3, 1.3);
foto

Код HTML:
http://www.part.lt/img/50508e7828a030bea634d9944f5a5d6c745.png
no TextDrawTextSize

Код HTML:
http://www.part.lt/img/1ac61d1722a6ac870d46d7b965761da9984.png



Re: Problems with textdraws - SpikY_ - 18.09.2015

how you have added the coordinates of TextDrawTextSize? by editor or what?
I mean you have created the textdraw by any editor?


Re: Problems with textdraws - MinDex - 18.09.2015

Quote:
Originally Posted by SpikY_
Посмотреть сообщение
how you have added the coordinates of TextDrawTextSize? by editor or what?
I mean you have created the textdraw by any editor?
iPleomax textdraw editor.

I simply put "TextDrawTextSize" under code.


Re: Problems with textdraws - SpikY_ - 18.09.2015

so thats mean you have added those TextDrawTextSize by your own approximation?
Use the TextSize option in iPleomax textdraw editor