Textdraw string
#1

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:
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);
Can somebody help me because I tried everything, but I can't fix my problem. Thank you.
Reply


Messages In This Thread
Textdraw string - by dominik523 - 29.09.2013, 10:25
Re: Textdraw string - by Konstantinos - 29.09.2013, 10:30
Re: Textdraw string - by dominik523 - 29.09.2013, 10:40
Re: Textdraw string - by Konstantinos - 29.09.2013, 11:01
Re: Textdraw string - by dominik523 - 29.09.2013, 11:14

Forum Jump:


Users browsing this thread: 1 Guest(s)