Error Question (Simple, but I'm a begginer) -
jakejohnsonusa - 14.11.2012
I get this warning: "warning 213: tag mismatch" on the line of my flying test that I am scripting.
The line I get it on is:
Код:
if(PlayerInfo[playerid][FlyingTest] == 1)
I have added this to my GM:
Код:
enum Info
{
FlyingTest,
};
So... what does this error mean? And how can I fix it?
Thanks: jakejohnsonusa
Re: Error Question (Simple, but I'm a begginer) -
Veeco - 14.11.2012
Warning its not liek dangerous as errors :P If you have error your gm not work. warnings then yuor gm works. but its best to fix warnings
Respuesta: Error Question (Simple, but I'm a begginer) -
ThePhenix - 14.11.2012
There is missing a tag like:
Re: Error Question (Simple, but I'm a begginer) -
jakejohnsonusa - 14.11.2012
What would I put... this is just for starting a flying test...
Re: Error Question (Simple, but I'm a begginer) -
tyler12 - 14.11.2012
new PlayerInfo[MAX_PLAYERS][Info];
Respuesta: Re: Error Question (Simple, but I'm a begginer) -
ThePhenix - 14.11.2012
Quote:
Originally Posted by tyler12
new PlayerInfo[MAX_PLAYERS][Info];
|
Obviously he has that variable otherwise he'll receive.
Код:
Undefined Symbol "PlayerInfo".
Re: Error Question (Simple, but I'm a begginer) -
jakejohnsonusa - 14.11.2012
Actually I do have that, but it''s way bellow the enub part
Respuesta: Error Question (Simple, but I'm a begginer) -
ThePhenix - 14.11.2012
I tried to compile such as thing, I don't get any error.
Re: Error Question (Simple, but I'm a begginer) -
jakejohnsonusa - 14.11.2012
I think the problem is is that the new PlayerInfo[MAX_PLAYERS][Info]; is bellow the enum Info part, I'm about to compile now...
Respuesta: Error Question (Simple, but I'm a begginer) -
ThePhenix - 14.11.2012
IT doesn't matter.
Where the variable is located.