Some questions about Textdraws...
#1

Hello...So I've been wondering about how can I Make a large textdraw like this:

Or a small one like this:

I Just want to know how to adjust their sizes and the background color.
Reply
#2

pawn Код:
TextDrawTextSize(Text:text, Float:x, Float:y)
You can read more about it here:https://sampwiki.blast.hk/wiki/TextDrawTextSize
Reply
#3

For an empty box, use an underscore for text. Use the BoxSize native to adjust the width. Use the LetterSize native to adjust the height. Alternatively, you can use a small square sprite in combination with TextSize, like so:

pawn Код:
textdraw0 = TextDrawCreate(320.0, 320.0, "LD_BUM:blkdot");
TextDrawFont(textdraw0 , 4);
TextDrawColor(textdraw0, 0x00000066);
TextDrawTextSize(textdraw0, 20.0, 20.0);
The disadvantage for this method is that you're limited to 100 sprites only.
Reply
#4

Quote:
Originally Posted by Vince
Посмотреть сообщение
For an empty box, use an underscore for text. Use the BoxSize native to adjust the width. Use the LetterSize native to adjust the height. Alternatively, you can use a small square sprite in combination with TextSize, like so:

pawn Код:
textdraw0 = TextDrawCreate(320.0, 320.0, "LD_BUM:blkdot");
TextDrawFont(textdraw0 , 4);
TextDrawColor(textdraw0, 0x00000066);
TextDrawTextSize(textdraw0, 20.0, 20.0);
The disadvantage for this method is that you're limited to 100 sprites only.
Could You explain a bit more?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)