pBlueG / SA-MP-MySQL

MySQL plugin for San Andreas Multiplayer
BSD 3-Clause "New" or "Revised" License
196 stars 80 forks source link

warning 213: tag mismatch: expected tag "MySQL", but found none ("_") #223

Closed iChiwi closed 4 years ago

iChiwi commented 4 years ago

warning 213: tag mismatch: expected tag "MySQL", but found none ("_"), Any idea on this error?

mysql_format(connectionID, queryBuffer, sizeof(queryBuffer), "UPDATE users SET fishingskill = fishingskill + 1 WHERE uid = %i", PlayerInfo[playerid][pID]);
mysql_tquery(connectionID, queryBuffer);

It's almost on every mysql_format and tquery, I'm upgrading from 39-6 to R41-4

maddinat0r commented 4 years ago

MySQL handles got a MySQL tag in R40+, so you have to change your connectionID variable definition to something like

new MySQL:connectionID;