Tag mismatch on a variable?
#1

Hey ahh, I am getting a tag mismatch warning on my clear menu variable

error
Код:
warning 213: tag mismatch
code
pawn Код:
stock ClearHouseMenu(playerid)
{
    House[playerid][hLabelID] = 0;// <- warning 213: tag mismatch
}
Reply
#2

should work.. happened to me today..
pawn Код:
stock ClearHouseMenu(playerid)
{
    House[playerid][hLabelID] == 0;
}
Reply
#3

Assuming that's a 3D text label, something like

pawn Код:
House[playerid][hLabelID] = Text3D:INVALID_3DTEXT_ID;
might work. If my assumption is wrong, please post your House enum.
Reply
#4

Quote:
Originally Posted by XtremeR
Посмотреть сообщение
should work.. happened to me today..
pawn Код:
stock ClearHouseMenu(playerid)
{
    House[playerid][hLabelID] == 0;
}
Do you have "hLabelID" in your enum? show your enum.
Reply
#5

Ahh wicked, Once again mkr saves the day haha.

Cheers mate.

Also thanks for everyone else too, greatly appreciated.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)