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

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] warning 213: tag mismatch (/showthread.php?tid=577723)



warning 213: tag mismatch - cicinho - 13.06.2015

Boa tarde, estou com esses avisos ao compilar o mode, e o que ta causando isso sгo as TextDraw

Aviso: "warning 213: tag mismatch"

Informaзхes da TextDraw

No topo do GM
Код:
 new Textdraw0;
Criada na public OnGameModeInit()
Код:
 Textdraw0 = TextDrawCreate (185.0, 330.0, "Warning  Chato");
TextDrawColor(Textdraw0, 0xFF2B2BFF);
TextDrawFont (Textdraw0, 2);
 TextDrawSetOutline (Textdraw0, 1);
TextDrawBackgroundColor (Textdraw0, 0xFFFFFFAA);
TextDrawLetterSize (Textdraw0, 0.3, 2.0);



Re: warning 213: tag mismatch - iTakelot - 13.06.2015

Quote:

Boa tarde, estou com esses avisos ao compilar o mode, e o que ta causando isso sгo as TextDraw
Aviso: "warning 213: tag mismatch"

Coloque assim no topo do seu GM
Код:
new text:Textdraw0;



AW: Re: warning 213: tag mismatch - cicinho - 13.06.2015

Quote:
Originally Posted by iTakelot
Посмотреть сообщение
Coloque assim no topo do seu GM
Код:
new text:Textdraw0;
Ja pesquisei muito sobre esse aviso, ja encontrei isso que vocк falou "text:" em outro topico, e tentei mais nгo resultou em nada, ainda continua os warning


Re: warning 213: tag mismatch - iTakelot - 13.06.2015

Tenta assim
PHP код:
new Text:Textdraw2
Код:
    Textdraw2 = TextDrawCreate(185.0, 330.0, "Warning  Chato");
    TextDrawColor(Textdraw2, 0xFF2B2BFF);
    TextDrawFont(Textdraw2, 2);
    TextDrawSetOutline(Textdraw2, 1);
    TextDrawBackgroundColor(Textdraw2, 0xFFFFFFAA);
    TextDrawLetterSize(Textdraw2, 0.3, 2.0);



AW: warning 213: tag mismatch - cicinho - 13.06.2015

Quote:
Originally Posted by iTakelot
Посмотреть сообщение
Tenta assim
PHP код:
new Text:Textdraw2
Код:
    Textdraw2 = TextDrawCreate(185.0, 330.0, "Warning  Chato");
    TextDrawColor(Textdraw2, 0xFF2B2BFF);
    TextDrawFont(Textdraw2, 2);
    TextDrawSetOutline(Textdraw2, 1);
    TextDrawBackgroundColor(Textdraw2, 0xFFFFFFAA);
    TextDrawLetterSize(Textdraw2, 0.3, 2.0);
Achei parceiro com sua ajuda, й so renomear a TextDraw, tirando Textdraw.
Ex.:
Код:
 new Text:logo;



Re: warning 213: tag mismatch - iTakelot - 13.06.2015

Isso