Smaling this textdraw?
#1

Hello! I think a textdraw with a box can be smaller...

What do i need here?

Код:
InfoText = TextDrawCreate(112.500000, 433.125000, "  ");
	TextDrawLetterSize(InfoText, 0.379999, 1.500000);
	TextDrawAlignment(InfoText, 1);
	TextDrawColor(InfoText, -1);
	TextDrawSetShadow(InfoText, 0);
	TextDrawSetOutline(InfoText, 1);
	TextDrawBackgroundColor(InfoText, 255);
	TextDrawFont(InfoText, 2);
	TextDrawSetProportional(InfoText, 1);

	InfoBox = TextDrawCreate(644.000000, 434.187500, "usebox");
	TextDrawLetterSize(InfoBox, 0.000000, 1.836111);
	TextDrawTextSize(InfoBox, -9.500000, 0.000000);
	TextDrawAlignment(InfoBox, 1);
	TextDrawColor(InfoBox, 0);
	TextDrawUseBox(InfoBox, true);
	TextDrawBoxColor(InfoBox, 102);
	TextDrawSetShadow(InfoBox, 0);
	TextDrawSetOutline(InfoBox, 0);
	TextDrawFont(InfoBox, 0);
Also InfoText is the text that should be inside the box.

This is a text with box, also i want that above this smaller.
Код:
new work = TextDrawCreate(315.000000, 428.000000, "  ");
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);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)