MySQL Tag Mismatch Error - 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: MySQL Tag Mismatch Error (
/showthread.php?tid=512552)
MySQL Tag Mismatch Error -
Tingesport - 11.05.2014
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..
Re: MySQL Tag Mismatch Error - Patrick - 11.05.2014
Make sure X, Y, Z has
Float: tag and
g_HouseInfo[HouseID][hLabel] should have
Text3D: tag, neither of those causes the error.
Re: MySQL Tag Mismatch Error -
Tingesport - 11.05.2014
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]