[Ajuda] tag mismatch
#1

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.
Reply
#2

PHP код:
new PlayerText:Textdraws0
Reply
#3

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

Reply
#4

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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)