warning 213: tag mismatch
#3

Quote:
Originally Posted by HY
Посмотреть сообщение
Well, I think that TPInfo[playerid][StartX] it's an float. So you need to specified this, X, Y, Z [StartX, StartY, StartZ are floats]. So here's the code:

pawn Код:
#define MAX_TELEPORTS 300

enum
e_TPInfo
{
    Float:StartX,
    Float:StartY,
    Float:StartZ,
    EndX,
    EndY,
    EndZ
}
new TPInfo[MAX_TELEPORTS][e_TPInfo], tpid;
And you should use this too for EndZ, EndX, EndY because I think them are too position, so them are floats.

If all of them represent one position, then the correct code it's:

pawn Код:
#define MAX_TELEPORTS 300

enum
e_TPInfo
{
    Float:StartX,
    Float:StartY,
    Float:StartZ,
    Float:EndX,
    Float:EndY,
    Float:EndZ
}
new TPInfo[MAX_TELEPORTS][e_TPInfo], tpid;
Oh, you right. Thank you mate.
Reply


Messages In This Thread
warning 213: tag mismatch - by Lirbo - 12.12.2014, 18:48
Re: warning 213: tag mismatch - by HY - 12.12.2014, 19:09
Re: warning 213: tag mismatch - by Lirbo - 12.12.2014, 20:46

Forum Jump:


Users browsing this thread: 1 Guest(s)