tag mismatch
#1

pawn Код:
new Float:qu[3];
HouseInfo[id][hPosX] = dini_Float(file, "HousePosX");
HouseInfo[id][hPosY] = dini_Float(file, "HousePosY");
HouseInfo[id][hPosZ] = dini_Float(file, "HousePosZ");
       
format(hString, sizeof(hString), "{0077FF}[{FFFFFF}%s's House{0077FF}]\n{0077FF}ID: {FFFFFF}%d", HouseInfo[id][hOwner], HouseInfo[id][hID]);
HouseInfo[id][hTextLabel] = CreateDynamic3DTextLabel(hString, -1, HouseInfo[id][hPosX], HouseInfo[id][hPosY], HouseInfo[id][hPosZ], 10.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, HouseInfo[id][hVirtualWorld], HouseInfo[id][hInterior], -1, 100.0);
i am getting a tag mismatch on this line

pawn Код:
HouseInfo[id][hTextLabel] = HouseInfo[id][hTextLabel] = CreateDynamic3DTextLabel(hString, -1, HouseInfo[id][hPosX], HouseInfo[id][hPosY], HouseInfo[id][hPosZ], 10.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, HouseInfo[id][hVirtualWorld], HouseInfo[id][hInterior], -1, 100.0);
it compiles as "tag mismatch" is only a warning, i didn't try it ingame yet but i am worrying it might not work.

here my enum for the HouseInfo if you need it

pawn Код:
enum hEnum {
    hID,
    hOwner,
    Float:hPosX,
    Float:hPosY,
    Float:hPosZ,
    hRentPrice,
    hBuyable,
    hPrice,
    hRentable,
    hTextLabel[500],
    hVirtualWorld,
    hInterior,
    Float:hIntPosX,
    Float:hIntPosY,
    Float:hIntPosZ
}
please help
Reply


Messages In This Thread
tag mismatch - by SeanDenZYR - 29.04.2018, 03:40
Re: tag mismatch - by SeanDenZYR - 29.04.2018, 03:45
Re: tag mismatch - by CantBeJohn - 29.04.2018, 03:48
Re: tag mismatch - by SeanDenZYR - 29.04.2018, 03:51
Re: tag mismatch - by CantBeJohn - 29.04.2018, 03:54
Re: tag mismatch - by SeanDenZYR - 29.04.2018, 03:58
Re: tag mismatch - by GaByM - 29.04.2018, 05:30

Forum Jump:


Users browsing this thread: 1 Guest(s)