Tag Mismatch Help Please - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Tag Mismatch Help Please (
/showthread.php?tid=114715)
Tag Mismatch Help Please -
notec100 - 20.12.2009
Ok so I have spent quite awhile trying to convert a car system into a mysql saving process all seems to work well, but I keep getting tag mismatch errors on these lines:
Код:
(1873) : warning 213: tag mismatch == MySQLUpdatePlayerIntSingle(PlayerInfo[playerid][sqlid],"cx",PlayerInfo[playerid][XX]);
(1874) : warning 213: tag mismatch == MySQLUpdatePlayerIntSingle(PlayerInfo[playerid][sqlid],"cy",PlayerInfo[playerid][YY]);
(1875) : warning 213: tag mismatch == MySQLUpdatePlayerIntSingle(PlayerInfo[playerid][sqlid],"cz",PlayerInfo[playerid][ZZ]);
(1876) : warning 213: tag mismatch == MySQLUpdatePlayerIntSingle(PlayerInfo[playerid][sqlid],"crot",PlayerInfo[playerid][Rotation]);
(6078) : warning 213: tag mismatch == MySQLUpdatePlayerIntSingle(PlayerInfo[p][sqlid],"cx",PlayerInfo[p][XX]);
(6080) : warning 213: tag mismatch == MySQLUpdatePlayerIntSingle(PlayerInfo[p][sqlid],"cy",PlayerInfo[p][YY]);
(6082) : warning 213: tag mismatch == MySQLUpdatePlayerIntSingle(PlayerInfo[p][sqlid],"cz",PlayerInfo[p][ZZ]);
(6084) : warning 213: tag mismatch == MySQLUpdatePlayerIntSingle(PlayerInfo[p][sqlid],"crot",PlayerInfo[p][Rotation]);
I have tried everything I can think of including aadding the Float: with it but then I receive errors. I have used the PlayerInfo[playerid][XX] etc successfully elsewhere in script as well as it is defined. I would greatly appreciate some help, as I may have overlooked something very simple due to my fatigue. Thank you in advance any other questions you have if I have not described enough please ask.
Re: Tag Mismatch Help Please -
LarzI - 20.12.2009
Find your enum for PlayerInfo
Then change
to
And same with the other enum vars.
Good luck