MySQL Tag Mismatch Error
#1

Quote:

C:\Users\Zac\Desktop\SA-MP\gamemodes\mysql.pwn(760 -- 761) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

pawn Код:
format(query, sizeof(query), "INSERT INTO `Houses` (ID, Owner, Owned, OwnerID, EnPosX, EnPosY, EnPosZ, \
                    Interior, World, Pickup, Price, Locked, StreetName, LabelID) \
ERROR STARTS HERE    >  VALUES('%i', The State, 1, 499, '%f', '%f', '%f', 0, '%d', 1273, 500000, 1, Default, '%d')"
,
                    HouseID, x, y, z, g_HouseInfo[HouseID][hWorld], g_HouseInfo[HouseID][hLabel]);
Can't seem to find a solution..
Reply
#2

Make sure X, Y, Z has Float: tag and g_HouseInfo[HouseID][hLabel] should have Text3D: tag, neither of those causes the error.
Reply
#3

Yea, they have these tags already.

EDT: Something is wrong with the Label enum. The tag is already added and I had no problems with it before..

EDIT: found the solution.. It should be
pawn Код:
_:g_HouseInfo[HouseID][hLabel]
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)