INVALID_TEXT_DRAW problem
#1

https://sampwiki.blast.hk/wiki/Textdraw this tutorial recomends to initialize textdraw variables with Text:INVALID_TEXT_DRAW.

So if i set to:
pawn Код:
enum textdrawdata
{
Text:TextdrawTAXI1 = Text:INVALID_TEXT_DRAW,
Text:TextdrawTAXI2 = Text:INVALID_TEXT_DRAW,
Text:TextdrawTAXI3 = Text:INVALID_TEXT_DRAW,
Text:TextdrawTAXI4 = Text:INVALID_TEXT_DRAW,
Text:TextdrawTAXI5 = Text:INVALID_TEXT_DRAW,
Text:TextdrawTAXI6 = Text:INVALID_TEXT_DRAW
}
new textdraws[textdrawdata];
i can't see any textdraws. But if i create variables without Text:INVALID_TEXT_DRAW like:

pawn Код:
enum textdrawdata
{
Text:TextdrawTAXI1,
Text:TextdrawTAXI2,
Text:TextdrawTAXI3,
Text:TextdrawTAXI4,
Text:TextdrawTAXI,
Text:TextdrawTAXI6
}
new textdraws[textdrawdata];
Then they work fine and i can see them ;/.

What's the problem?
Reply


Messages In This Thread
INVALID_TEXT_DRAW problem - by ajwar - 16.06.2013, 19:11
Re: INVALID_TEXT_DRAW problem - by Jefff - 16.06.2013, 20:16
Re: INVALID_TEXT_DRAW problem - by ajwar - 16.06.2013, 22:33
Re: INVALID_TEXT_DRAW problem - by Pottus - 16.06.2013, 22:43

Forum Jump:


Users browsing this thread: 1 Guest(s)