Trying to convert mysql r5 to r39
#1

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 CheckPlayerAccountplayerid )
{
    new 
query[15];
    
mysql_formatgsQueryquerysizeof(query), "SELECT `IP` FROM `accounts` WHERE `Name` = '%s'"PlayerNameplayerid ));
    
mysql_tquerygsQueryquery,"CheckPlayerAccount""i"playerid);

This line
Код:
mysql_format( gsQuery, query, sizeof(query), "SELECT `IP` FROM `accounts` WHERE `Name` = '%s'", PlayerName( playerid ));
Reply
#2

mysql_format(connectionHandle, query, sizeof(query), "");

connectionHandle being...
whatever = mysql_connect(...);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)