SA-MP Forums Archive
How to make this.. ? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to make this.. ? (/showthread.php?tid=181313)



How to make this.. ? - The_Moddler - 04.10.2010



I wan't to make that, but it isn't a textdraw, because I tryied and the ] gives me a star

Thanks


Re: How to make this.. ? - LarzI - 04.10.2010

Add '~' infront and after the symbol

[ - ~[~


Re: How to make this.. ? - Jefff - 05.10.2010

(ID:17) gametext gives [ID:17]


Re: How to make this.. ? - The_Moddler - 06.10.2010

Mhh, okay, but how can I make it so the textdraw will be allways centered?

Because, if I have another nick, the textdraw will move and is messy, so I need it centered,
like this
Thanks.


Re: How to make this.. ? - Vince - 06.10.2010

pawn Код:
YourTextDraw = TextDrawCreate(320.0, 400.0) // Textdraws are created on 640x480, so 320 is the absolute middle.
TextDrawAlignment(YourTextDraw, 2) // 1: left, 2: center: 3: right



Re: How to make this.. ? - Rachael - 06.10.2010

That might be GameTextForPlayer type 5, with a few ~n~ before it.
I think that will centre automatically.


Re: How to make this.. ? - The_Moddler - 06.10.2010

Quote:
Originally Posted by Vince
Посмотреть сообщение
pawn Код:
YourTextDraw = TextDrawCreate(320.0, 400.0) // Textdraws are created on 640x480, so 320 is the absolute middle.
TextDrawAlignment(YourTextDraw, 2) // 1: left, 2: center: 3: right
Thanks