Error 35 - Argument mismatch [MySQL]
#1

Hi, I'm having trouble with this piece of code:

pawn Код:
new name[MAX_PLAYER_NAME], query[70];
    GetPlayerName(playerid, name, sizeof(name));
    format(query, sizeof(query), "SELECT * FROM Players WHERE pName = '%s'", name);
    mysql_query(query, THREAD_CONNECTINGPLAYER, playerid);

The last line is giving me the error. It says the first argument is an argument mismatch.
Reply


Messages In This Thread
Error 35 - Argument mismatch [MySQL] - by Mado - 01.04.2014, 20:56
Re: Error 35 - Argument mismatch [MySQL] - by Tingesport - 11.05.2014, 10:07
Re: Error 35 - Argument mismatch [MySQL] - by Konstantinos - 11.05.2014, 10:10

Forum Jump:


Users browsing this thread: 1 Guest(s)