warning: tag mismatch
#1

Hello,

pawn Код:
enum gHouses
{
    //other stuff
    Label,
}

new House[MAX_HOUSES][gHouses];
pawn Код:
public OnGameModeInit()
{
    House[1][Label] = Create3DTextLabel("House for sale!", COLOUR_RED, 2186.0200,1113.7500,12.6484, 40.0, 0, 0); //WARNING HERE
    return 1;
}
pawn Код:
public OnPlayerBuyHouse(playerid, houseid)
{
    Update3DTextLabelText(House[houseid][Label], COLOUR_WHITE, "House Not For Sale!"); //WARNING HERE
    return 1;
}
This code gives me "Tag Mismatch" warnings. I guess using enumerations isn't a good idea... What is a better way to approach this problem?

Thanks in advance!
Reply


Messages In This Thread
warning: tag mismatch - by BpX - 07.11.2014, 16:26
Re: warning: tag mismatch - by Sabur - 07.11.2014, 16:53
Re: warning: tag mismatch - by BpX - 07.11.2014, 16:54

Forum Jump:


Users browsing this thread: 1 Guest(s)