Textdraw boxes..
#1

Is it possible to use one textdraw to make a black box over the entire screen? (I'm sure it is), But I use an in-game textdraw editor, and it won't let me do such a thing. Could someone give me the code for it?
Reply
#2

So cover the whole screen in black?

Код:
	Textdraw1con = TextDrawCreate(661.000000, 0.000000, "_");
	TextDrawBackgroundColor(Textdraw1con, 255);
	TextDrawFont(Textdraw1con, 1);
	TextDrawLetterSize(Textdraw1con, 1000.000000, 1000.000000);
	TextDrawColor(Textdraw1con, -1);
	TextDrawSetOutline(Textdraw1con, 0);
	TextDrawSetProportional(Textdraw1con, 1);
	TextDrawSetShadow(Textdraw1con, 1);
	TextDrawUseBox(Textdraw1con, 1);
	TextDrawBoxColor(Textdraw1con, 255);
	TextDrawTextSize(Textdraw1con, -50.000000, 30.000000);
That should work (Not tested though)
Reply
#3

Quote:
Originally Posted by Xx_OutLawZ_xX
Посмотреть сообщение
So cover the whole screen in black?

Код:
	Textdraw1con = TextDrawCreate(661.000000, 0.000000, "_");
	TextDrawBackgroundColor(Textdraw1con, 255);
	TextDrawFont(Textdraw1con, 1);
	TextDrawLetterSize(Textdraw1con, 1000.000000, 1000.000000);
	TextDrawColor(Textdraw1con, -1);
	TextDrawSetOutline(Textdraw1con, 0);
	TextDrawSetProportional(Textdraw1con, 1);
	TextDrawSetShadow(Textdraw1con, 1);
	TextDrawUseBox(Textdraw1con, 1);
	TextDrawBoxColor(Textdraw1con, 255);
	TextDrawTextSize(Textdraw1con, -50.000000, 30.000000);
That should work (Not tested though)
Yes, that works. Thank you very much.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)