SA-MP Forums Archive
Warning 213: tag mismatch - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Warning 213: tag mismatch (/showthread.php?tid=419892)



Warning 213: tag mismatch - Noles2197 - 02.03.2013

Why do I get two 'tag mismatch' warnings from this line?

pawn Код:
GetPlayerPos(playerid,x,y,z);
h_Bit8_Data[houseid][h_World] = GetPlayerVirtualWorld(playerid);
Enter[houseid] = CreateDynamicPickup(1273,1,x,y,z,h_Bit8_Data[houseid][h_World]); // tag mismatch



Re: Warning 213: tag mismatch - Scrillex - 02.03.2013

Show please enum for house system.


Re: Warning 213: tag mismatch - Noles2197 - 02.03.2013

pawn Код:
new houseid,
    Bit1: Enter <MAX_HOUSES>;


enum h_Bit8_Houses
{
    h_Float:EnX,
    h_Float:EnY,
    h_Float:EnZ,
    h_World
}

new h_Bit8_Data[MAX_HOUSES][h_Bit8_Houses];



Re: Warning 213: tag mismatch - Vince - 02.03.2013

Because the Float tag isn't equal to the h_Float tag. Personally I think the rBits system is super retarded. There are better ways to optimize things.


Re: Warning 213: tag mismatch - Scrillex - 02.03.2013

Quote:
Originally Posted by Vince
Посмотреть сообщение
Because the Float tag isn't equal to the h_Float tag. Personally I think the rBits system is super retarded. There are better ways to optimize things.
True..

But need to try to help him out if he wants to make it with rBits...

And that could be true try just float them.


Re: Warning 213: tag mismatch - Noles2197 - 02.03.2013

Getting some help from Scrillex. Thanks!