SA-MP Forums Archive
warning 213: tag mismatch - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: warning 213: tag mismatch (/showthread.php?tid=350232)



warning 213: tag mismatch - jamax - 11.06.2012

I have 14 warning from which 13 are warning 213: tag mismatch

In some of these lines are warnings 213 : tag mismatch
Код:
TextDrawAlignment(play,0);
TextDrawAlignment(Textdraw35,0);
TextDrawBackgroundColor(Textdraw34,0x000000ff);
TextDrawBackgroundColor(tri,0x000000ff);
TextDrawBackgroundColor(play,0x000000ff);
TextDrawBackgroundColor(Textdraw35,0x00000066);
TextDrawFont(Textdraw34,3);
TextDrawFont(tri,3);
TextDrawFont(play,3);
TextDrawLetterSize(Textdraw34,0.399999,1.400000);
TextDrawLetterSize(play,0.399999,1.400000);
TextDrawLetterSize(tri,0.411111,1.400000);
TextDrawFont(Textdraw35,1);
TextDrawLetterSize(Textdraw35,0.499999,1.900000);
TextDrawColor(Textdraw34,0x00ffff99);
TextDrawColor(play,0x00ffff99);
TextDrawColor(tri,0x000000FF);
TextDrawColor(Textdraw35,0xFF8000FF);
TextDrawSetOutline(Textdraw34,1);
TextDrawSetOutline(play,1);
TextDrawSetOutline(tri,1);
TextDrawSetOutline(Textdraw35,1);
TextDrawSetProportional(play,1);
TextDrawSetProportional(tri,1);
TextDrawSetProportional(Textdraw34,1);
TextDrawSetProportional(Textdraw35,1);
TextDrawSetShadow(Textdraw34,1);
TextDrawSetShadow(Textdraw35,1);
TextDrawSetShadow(play,1);
TextDrawSetShadow(tri,1);



Re: warning 213: tag mismatch - ReneG - 11.06.2012

https://sampwiki.blast.hk/wiki/TextDraws

Check that each textdraw function matches the parameters. Or at least post what lines have the warnings.


Re: warning 213: tag mismatch - AndreT - 11.06.2012

How are these variables created? Do you have a Text: tag in front of them, e.g.
pawn Код:
new Text:play,
    Text:tri;



Re: warning 213: tag mismatch - jamax - 11.06.2012

Quote:
Originally Posted by AndreT
Посмотреть сообщение
How are these variables created? Do you have a Text: tag in front of them, e.g.
pawn Код:
new Text:play,
    Text:tri;
yes it has