SA-MP Forums Archive
How to create texdraws - 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: How to create texdraws (/showthread.php?tid=338839)



How to create texdraws - AMEENAMEEN - 01.05.2012

How to create texdraws thats the question


Re: How to create texdraws - newbienoob - 01.05.2012

pawn Код:
new Text:Myfirsttextdraw; // at the top of your script

Under OnGameModeInit
Myfirsttextdraw = TextDrawCreate(x,y,"Text"); // To get x,y coords = http://samp.nsg-page.de/textdraw.php

Under OnPlayerConnect
TextDrawShowForPlayer(playerid,Myfirsttextdraw);
To customize your textdraw, check this links

https://sampwiki.blast.hk/wiki/TextDrawColor
https://sampwiki.blast.hk/wiki/TextDrawBoxColor
https://sampwiki.blast.hk/wiki/TextDrawBackgroundColor
https://sampwiki.blast.hk/wiki/TextDrawAlignment
https://sampwiki.blast.hk/wiki/TextDrawFont
https://sampwiki.blast.hk/wiki/TextDrawLetterSize