Tag Mismatch Help Please
#1

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.
Reply
#2

Find your enum for PlayerInfo

Then change
pawn Код:
XX
to
pawn Код:
Float:XX
And same with the other enum vars.

Good luck
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)