Tag mismatch HELP! please?
#1

I get a tag mismatch with this....

TextDrawShowForPlayer(playerid, Private);
TextDrawShowForPlayer(playerid, PrivateFirstClass);
TextDrawShowForPlayer(playerid, Cernal);
TextDrawShowForPlayer(playerid, CernalFirstClass);
TextDrawShowForPlayer(playerid, Corpral);
TextDrawShowForPlayer(playerid, CorpralFirstClass);

if(gPlayerLogged[playerid] == 0) {
TextDrawHideForPlayer(playerid, Private);
TextDrawHideForPlayer(playerid, PrivateFirstClass);
TextDrawHideForPlayer(playerid, Cernal);
TextDrawHideForPlayer(playerid, CernalFirstClass);
TextDrawHideForPlayer(playerid, Corpral);
TextDrawHideForPlayer(playerid, CorpralFirstClass);
}
return 1;
}

Warnings:

C:\Users\Ross\Desktop\G2x andreas\gamemodes\UltimatePwnage.pwn(189) : warning 213: tag mismatch
C:\Users\Ross\Desktop\G2x andreas\gamemodes\UltimatePwnage.pwn(190) : warning 213: tag mismatch
C:\Users\Ross\Desktop\G2x andreas\gamemodes\UltimatePwnage.pwn(197) : warning 213: tag mismatch
C:\Users\Ross\Desktop\G2x andreas\gamemodes\UltimatePwnage.pwn(19 : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Warnings.
Reply
#2

BUMP: I need bad help please?
Reply
#3

Which lines?
Reply
#4

Text draws use the Text: tag to define a variable.
pawn Код:
new Text: Private;
Reply
#5

all of them :/

Well TextDrawShowForPlayer and TextDrawHideForPlayer All of them
Reply
#6

Change this

pawn Код:
new Private;
new PrivateFirstClass;
to

pawn Код:
new Text:Private;
new Text:PrivateFirstClass;
Reply
#7

i have new Text:Private ETC but it still comes up with this :/
Reply
#8

2 things, post code and use the [pawn] things
Reply
#9

Quote:
Originally Posted by sansko
Посмотреть сообщение
2 things, post code and use the [pawn] things
with yah buddie
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)