SA-MP Forums Archive
[Ajuda] 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] tag mismatch (/showthread.php?tid=632124)



tag mismatch - Scorpion659 - 09.04.2017

Gente nгo sei mais oque fazer, jб pesquisei em varios tуpicos e nгo consigo resolver, deve ser um problema simples mas..:

Quote:

C:\Users\welli\Desktop\area de trabalho 2\samp037_svr_R2-1-1_win32\gamemodes\GM.pwn(244) : warning 213: tag mismatch
C:\Users\welli\Desktop\area de trabalho 2\samp037_svr_R2-1-1_win32\gamemodes\GM.pwn(245) : warning 213: tag mismatch

codigo do erro:

Quote:

public statusdoplayer(playerid)
{
new msgtext[64];
format(msgtext, sizeof(msgtext), "%i", qSemente);
PlayerTextDrawSetString(playerid, Textdraws0, msgtext);
PlayerTextDrawShow(playerid, Textdraws0);
return 1;
}

variaveis:

Quote:

new Text:Textdraws0;
forward statusdoplayer(playerid);

e sim, estб sendo criados os textdraws no gamemodeinit, me ajudem pls.


Re: tag mismatch - IlanZ - 09.04.2017

PHP код:
new PlayerText:Textdraws0



Re: tag mismatch - Scorpion659 - 09.04.2017

Quote:
Originally Posted by IlanZ
Посмотреть сообщение
PHP код:
new PlayerText:Textdraws0
nгo deu, agora tem 10 avisos:

Quote:

C:\Users\welli\Desktop\area de trabalho 2\samp037_svr_R2-1-1_win32\gamemodes\GM.pwn(84) : warning 213: tag mismatch
C:\Users\welli\Desktop\area de trabalho 2\samp037_svr_R2-1-1_win32\gamemodes\GM.pwn(85) : warning 213: tag mismatch
C:\Users\welli\Desktop\area de trabalho 2\samp037_svr_R2-1-1_win32\gamemodes\GM.pwn(86) : warning 213: tag mismatch
C:\Users\welli\Desktop\area de trabalho 2\samp037_svr_R2-1-1_win32\gamemodes\GM.pwn(87) : warning 213: tag mismatch
C:\Users\welli\Desktop\area de trabalho 2\samp037_svr_R2-1-1_win32\gamemodes\GM.pwn(8 : warning 213: tag mismatch
C:\Users\welli\Desktop\area de trabalho 2\samp037_svr_R2-1-1_win32\gamemodes\GM.pwn(89) : warning 213: tag mismatch
C:\Users\welli\Desktop\area de trabalho 2\samp037_svr_R2-1-1_win32\gamemodes\GM.pwn(90) : warning 213: tag mismatch
C:\Users\welli\Desktop\area de trabalho 2\samp037_svr_R2-1-1_win32\gamemodes\GM.pwn(91) : warning 213: tag mismatch
C:\Users\welli\Desktop\area de trabalho 2\samp037_svr_R2-1-1_win32\gamemodes\GM.pwn(92) : warning 213: tag mismatch
C:\Users\welli\Desktop\area de trabalho 2\samp037_svr_R2-1-1_win32\gamemodes\GM.pwn(227) : warning 213: tag mismatch




Re: tag mismatch - HoodScript - 09.04.2017

vocк nгo definiu a variavel qSemente e o setstring ta errado pois nгo й uma playertext e sim uma text global



Код:
public statusdoplayer(playerid)
{
    new msgtext[128];
    format(msgtext, sizeof(msgtext), "%s", "TEXTO AQUI");
    TextDrawSetString(Textdraws0, msgtext);   
    TextDrawShowForPlayer(playerid, Textdraws0);
    return 1;
}