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=639217)



warning 213: tag mismatch - ScripitrFaunu - 13.08.2017

Alguйm mim ajuda? nгo estou achando o erro para o aviso aparecer.

Como variavel estб definida:

PHP код:
new Text:Text[72]; 
PHP код:
    Text[37] = TextDrawCreate(210.000000168.000000"1");
    
TextDrawBackgroundColor(Text[37], 255);
    
TextDrawFont(Text[37], 2);
    
TextDrawLetterSize(Text[37], 0.4699991.200000);
    
TextDrawColor(Text[37], -1);
    
TextDrawSetOutline(Text[37], 0);
    
TextDrawSetProportional(Text[37], 1);
    
TextDrawSetShadow(Text[37], 1);
    
TextDrawSetSelectable(Text[37], 1); 
OnPlayerClickTextDraw (no modulo)

PHP код:
hook OnPlayerClickTextDraw(playeridclickedid)
{
    if(
clickedid == Text[37]) // local do warning
    
{
        
     }    
    return 
1;

Nгo era para dar warning, e nгo estou entendo. alguem ajuda?


Re: warning 213: tag mismatch - DelK - 13.08.2017

Tente assim.
PHP код:
OnPlayerClickTextDraw(playeridText:clickedid

    if(
clickedid == Text[37]) // local do warning 
    

         
     }     
    return 
1




Re: warning 213: tag mismatch - ScripitrFaunu - 13.08.2017

Quote:
Originally Posted by DelK
Посмотреть сообщение
Tente assim.
PHP код:
OnPlayerClickTextDraw(playeridText:clickedid

    if(
clickedid == Text[37]) // local do warning 
    

         
     }     
    return 
1

Putz, que vacilo. Obrigado irmгo!


Re: warning 213: tag mismatch - DelK - 13.08.2017

De nada, isso significa que funcionou nй ? rsrs