SA-MP Forums Archive
Text draw help/ question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Text draw help/ question (/showthread.php?tid=615735)



Text draw help/ question - zerotobey - 26.08.2016


Could someone code this for me real quick, thanks. It's a text draw that always displays.


Re: Text draw help/ question - Quinncell - 26.08.2016

Have a look at this filterscript by iPLEOMAX >> https://sampforum.blast.hk/showthread.php?tid=376758
Be sure to download and install it correctly.It makes it easier for you to make textdraws without having a hard time with the positions, text sizes..etc


Re: Text draw help/ question - IFilip - 26.08.2016


Code:
new Text:Textdraw0;

Textdraw0 = TextDrawCreate(635.000000, 7.000000, "www.sitehere.com");
TextDrawAlignment(Textdraw0, 3);
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 3);
TextDrawLetterSize(Textdraw0, 0.230000, 1.200000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetSelectable(Textdraw0, 0);
I've created the TD.
You can create for yourself the TD using an editor such as:
Zamaroht's Textdraw Editor >> https://sampforum.blast.hk/showthread.php?pid=2320034#pid2320034
iPLEOMAX >> https://sampforum.blast.hk/showthread.php?tid=376758