[Ajuda] tag mismatch
#1

Galera, to com esse problema й nгo consigo resolver, vocкs podem me ajudar?

PHP код:
(395) : warning 213tag mismatch
(410) : warning 217loose indentation
(912) : warning 213tag mismatch
(922) : warning 213tag mismatch
(923) : warning 213tag mismatch
(924) : warning 213tag mismatch
(938) : warning 213tag mismatch
(939) : warning 213tag mismatch
(1003) : warning 213tag mismatch
(1017) : warning 213tag mismatch
(1024) : warning 213tag mismatch
(1027) : warning 213tag mismatch
(1028) : warning 213tag mismatch
(1033) : warning 213tag mismatch
(1034) : warning 213tag mismatch
(1036) : warning 213tag mismatch
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase 
Todos as linhas desses avisos estгo dando em
PHP код:
Player 
Alguйm sabe resolver?
Reply
#2

Como estб variбvel estб declarada?
Reply
#3

Onde estб dando todos os avisos:

Quote:

Player[playerid][VIP] = false;

Quote:

Player[playerid][VIP] = true;

Quote:

Player[playerid][VIP] = true;

Й outros, estгo dando nesses de cima.
Reply
#4

Manda a vбrivel Player
Reply
#5

na sua declaraзгo de variavel faзa o seguinte:
PHP код:
new bool:Player[MAX_PLAYERS][ALGUMA_COISA]; 
True/False sгo booleanos, e vc tem de utilizar a tipagem correta, que й booleana, assim como int com int, e float com float!

Os tipo de variaveis do pawn sгo:

PHP код:
int    (-2x10^2x10^9"porem vocк nгo precisa declarar este tipo, pq ele й o padrгo do sufixo" (new, static, const, define)
bool:  (True/False) (1/0)
Float: (0.000.0005 "numeros com virgula")
Tag:   (para identificaзгo de objetos e classes"3Dlabel:, TD:, Player3DLabel:" 
Reply
#6

PHP код:
enum ALGUMA_COISA
{
    
bool:VIP
}
new 
Player[MAX_PLAYERS][ALGUMA_COISA]; 
Se jб tiver enum so botar a tag bool
Reply
#7

Valeu galera
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)