Trying to convert mysql r5 to r39 - 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: Trying to convert mysql r5 to r39 (
/showthread.php?tid=613262)
Trying to convert mysql r5 to r39 -
kampuman - 26.07.2016
Help. I'm trying to convert a gamemode from r5 to r39 but it I got no luck.
It says
Код:
error 035: argument type mismatch (argument 1)
PHP код:
stock CheckPlayerAccount( playerid )
{
new query[15];
mysql_format( gsQuery, query, sizeof(query), "SELECT `IP` FROM `accounts` WHERE `Name` = '%s'", PlayerName( playerid ));
mysql_tquery( gsQuery, query,"CheckPlayerAccount", "i", playerid);
}
This line
Код:
mysql_format( gsQuery, query, sizeof(query), "SELECT `IP` FROM `accounts` WHERE `Name` = '%s'", PlayerName( playerid ));
Re: Trying to convert mysql r5 to r39 -
itsCody - 26.07.2016
mysql_format(connectionHandle, query, sizeof(query), "");
connectionHandle being...
whatever = mysql_connect(...);