How to change a textdraw's text with a command?
#1

Hi. This is my textdraw:

Код:
Textdraw2 = TextDrawCreate(542.000000, 391.000000, "000000");
	TextDrawAlignment(Textdraw2, 2);
	TextDrawBackgroundColor(Textdraw2, 255);
	TextDrawFont(Textdraw2, 3);
	TextDrawLetterSize(Textdraw2, 0.399994, 1.399999);
	TextDrawColor(Textdraw2, -1);
	TextDrawSetOutline(Textdraw2, 0);
	TextDrawSetProportional(Textdraw2, 1);
	TextDrawSetShadow(Textdraw2, 1);
I want to be able to change it by typing a command, for example, when I type /setdraw [input], the textdraw changes to my input, how should I be able to do this?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)