29.09.2013, 10:25
Hey! I got a strange problem with my textdraw. I have created a textdraw which shows to a player when he typed command for any animation. String of the textdraw is "SPACE to stop animation", but when I write in game, for example /sit command, I got textdraw with text "/REPORT". I don't have any textdraw created which contains text /report and I really don't know why is this happening.This is the code:
Can somebody help me because I tried everything, but I can't fix my problem. Thank you.
pawn Код:
new Text:txtAnimHelper;
.
.
.
txtAnimHelper = TextDrawCreate(610.0, 400.0, "~r~SPACE ~w~to stop the animation");
TextDrawUseBox(txtAnimHelper, 0);
TextDrawFont(txtAnimHelper, 2);
TextDrawSetShadow(txtAnimHelper,0);
TextDrawSetOutline(txtAnimHelper,1);
TextDrawBackgroundColor(txtAnimHelper,0x000000FF);
TextDrawColor(txtAnimHelper,0xFFFFFFFF);
TextDrawAlignment(txtAnimHelper,3);