Warning 213: tag mismatch
#2

Variable that stores a text label has to have different tag:
pawn Код:
enum hinfo
{
    id,
    Cost,
    Owner[MAX_PLAYER_NAME],
    bool:hBought,
    VW,
    Interior,
    Float:extX,
    Float:extY,
    Float:extZ,
    Float:intX,
    Float:intY,
    Float:intZ,
    hpickup,
    Text3D:htext   <---
};

new pHouse[MAX_HOUSES][hinfo];
And when you want to empty that variable, you will have to store '0' inside, not "NULL".
pawn Код:
pHouse[i][Owner]= Text3D:0; <-- Let's say 0 doesn't have a tag (actually it has, and it is _: ) and you want to store it inside of a variable with Text3D:, so you will have to add a tag to the 0 so you won't get tag mismatch
EDIT: Oops, sorry I didn't see you were emptying pHouse[i][Owner] which is a string. I thought you were setting your htext to a 0.
Reply


Messages In This Thread
Warning 213: tag mismatch - by TheRaGeLord - 26.07.2015, 07:37
Re: Warning 213: tag mismatch - by dominik523 - 26.07.2015, 07:55
Re: Warning 213: tag mismatch - by TheRaGeLord - 26.07.2015, 08:06
Re: Warning 213: tag mismatch - by kloning1 - 26.07.2015, 08:10
Re: Warning 213: tag mismatch - by TheRaGeLord - 26.07.2015, 08:13
Re: Warning 213: tag mismatch - by kloning1 - 26.07.2015, 08:19
Re: Warning 213: tag mismatch - by TheRaGeLord - 26.07.2015, 08:21
Re: Warning 213: tag mismatch - by kloning1 - 26.07.2015, 08:46
Re: Warning 213: tag mismatch - by TheRaGeLord - 26.07.2015, 08:48
Re: Warning 213: tag mismatch - by xVIP3Rx - 26.07.2015, 09:35

Forum Jump:


Users browsing this thread: 1 Guest(s)