19.02.2012, 02:04
I'm creating my housing system like all the rest of my dynamic systems, why is this giving me a tag mismatch?
My enum:
My enum:
pawn Код:
enum E_houVars
{
houNam[64],
houCost,
houEnterPos[4],
houExitPos[4],
houInterior,
houVirtualWorld,
houOwner[32]
}
pawn Код:
for ( new h; h < MAX_HOUSES; h++ )
{
format(houStr, sizeof(houStr), "RPMod/Houses/%d.ini", h);
INI_ParseFile(houStr, "LoadHouse_%s", .bExtra = true, .extra = h);
if(!strcmp(houInfo[h][Owner], "None")) //Tag mismatch!
{
}
}