make this two textdraws in one? - 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: make this two textdraws in one? (
/showthread.php?tid=489205)
make this two textdraws in one? -
DeTix - 21.01.2014
can someone take this text with a box textdraw and make it in one textdraw?
Код:
Textdraw0 = TextDrawCreate(157.599975, 431.573486, "~w~YOU ARE NOT ON A MISSION - TYPE ~r~/WORK ~w~TO BEGIN");
TextDrawLetterSize(Textdraw0, 0.285998, 1.102222);
TextDrawAlignment(Textdraw0, 1);
TextDrawColor(Textdraw0, -1);
TextDrawSetShadow(Textdraw0, 0);
TextDrawSetOutline(Textdraw0, 0);
TextDrawBackgroundColor(Textdraw0, 51);
TextDrawFont(Textdraw0, 2);
TextDrawSetProportional(Textdraw0, 1);
Textdraw1 = TextDrawCreate(641.599975, 430.584442, "usebox");
TextDrawLetterSize(Textdraw1, 0.000000, 1.287286);
TextDrawTextSize(Textdraw1, -2.000000, 0.000000);
TextDrawAlignment(Textdraw1, 1);
TextDrawColor(Textdraw1, 0);
TextDrawUseBox(Textdraw1, true);
TextDrawBoxColor(Textdraw1, 102);
TextDrawSetShadow(Textdraw1, 0);
TextDrawSetOutline(Textdraw1, 0);
TextDrawFont(Textdraw1, 0);
liek this but that i made a own i want.. a bit fater etc
Код:
work = TextDrawCreate(315.000000, 428.000000, "Mission Text Here");
TextDrawAlignment(work, 2);
TextDrawBackgroundColor(work, 255);
TextDrawFont(work, 2);
TextDrawLetterSize(work, 0.260000, 1.100000);
TextDrawColor(work, -1);
TextDrawSetOutline(work, 1);
TextDrawSetProportional(work, 1);
TextDrawUseBox(work, 1);
TextDrawBoxColor(work, 170);
TextDrawTextSize(work, 16.000000, 657.000000);