SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 21/01/2020, 04:23 AM   #1
Grave
Little Clucker
 
Join Date: Oct 2018
Posts: 4
Reputation: 0
Default [Ajuda] - Warning 213: tag mismatch

Bom, o código que fiz.. funfa normalmente.. só que aparece esses warnings.. alguém pode me ajudar? Desde já, Agradeço.

Código:
Code:
(19752) : if(AreaPst == true  || AreaPst1 == true || AreaPst2 == true || AreaPst3 == true || AreaPst4 == true
(19753) : || AreaPst5 == true  || AreaPst6 == true || AreaPst7 == true || AreaPst8 == true
(19754 : || AreaPst9 == true || AreaPst10 == true || AreaPst11 == true || AreaPst12 == true || AreaPst13 == true
(19755) : || AreaPst14 == true || AreaPst15 == true){

Warnings:
Code:
(19752) : warning 213: tag mismatch
(19752) : warning 213: tag mismatch
(19752) : warning 213: tag mismatch
(19752) : warning 213: tag mismatch
(19753) : warning 213: tag mismatch
(19753) : warning 213: tag mismatch
(19753) : warning 213: tag mismatch
(19753) : warning 213: tag mismatch
(19754) : warning 213: tag mismatch
(19754) : warning 213: tag mismatch
(19754) : warning 213: tag mismatch
(19754) : warning 213: tag mismatch
(19754) : warning 213: tag mismatch
(19755) : warning 213: tag mismatch
(19755) : warning 213: tag mismatch
(19755) : warning 213: tag mismatch
Grave is offline   Reply With Quote
Old 21/01/2020, 04:36 AM   #2
Nyft
Big Clucker
 
Nyft's Avatar
 
Join Date: Dec 2019
Location: Patrocínio MG
Posts: 71
Reputation: 5
Default Re: [Ajuda] - Warning 213: tag mismatch

PHP Code:
new bool:AreaPst;
new 
bool:AreaPst1;
new 
bool:AreaPst2;

... 
Te recomendo fazer isso:

PHP Code:
new bool:AreaPst[15];

//

if(AreaPst[0] | AreaPst[1] | AreaPst[2] | AreaPst[3] == true)
{
    
//

__________________
Nyft#4330
Nyft is offline   Reply With Quote
Old 21/01/2020, 10:33 AM   #3
ipsLuan
High-roller
 
ipsLuan's Avatar
 
Join Date: Feb 2013
Location: Ilhéus, BA
Posts: 4,452
Reputation: 327
Default Re: [Ajuda] - Warning 213: tag mismatch

pawn Code:
new bool: AreaPst[15];

for(new id = 0; id < sizeof(AreaPst); id++) {
    if(AreaPst[id] == true) {
        //true
    }
}
__________________
Brasil New Style
172.106.11.138:7777
ipsLuan is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[AJUDA] Eu Quero Ajuda Para Fazer Comando De Cargos. Alguem Pode Me Ajudar? RodrigoScripter1 Português/Portuguese 4 03/06/2016 02:36 AM
[AJUDA] Colete para quem está perto! AJUDA!!!!! armandodo Português/Portuguese 7 30/11/2011 01:33 PM
[ajuda]Problema no sistema de VBemail,acho que é facil resolve me ajuda aki O_O' Sonic Hero Português/Portuguese 14 21/11/2011 06:31 PM
[ajuda] ng me ajuda a resolver este problema dos carros ? porfavor [Dk]TuReTOo Português/Portuguese 4 09/02/2011 10:31 PM
[AJUDA] Ajuda Alugns Comandos Aki ? Podem Ajuda eu e Alguns tbm pedro Português/Portuguese 7 06/05/2010 06:12 PM


All times are GMT. The time now is 04:39 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.