Error Question (Simple, but I'm a begginer)
#1

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

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
Reply
#3

There is missing a tag like:

Код HTML:
Float:

Bool:
Reply
#4

What would I put... this is just for starting a flying test...
Reply
#5

new PlayerInfo[MAX_PLAYERS][Info];
Reply
#6

Quote:
Originally Posted by tyler12
Посмотреть сообщение
new PlayerInfo[MAX_PLAYERS][Info];
Obviously he has that variable otherwise he'll receive.
Код:
Undefined Symbol "PlayerInfo".
Reply
#7

Actually I do have that, but it''s way bellow the enub part
Reply
#8

I tried to compile such as thing, I don't get any error.
Reply
#9

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

IT doesn't matter.
Where the variable is located.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)