Error
#1

Hi, whats wrong here?

Код:
new pname[MAX_PLAYER_NAME];
        GetPlayerName(playerid,pname,MAX_PLAYER_NAME);
        mysql_free_result();
        mysql_query("SELECT id FROM playerdata WHERE user = '%s'",pname);
        mysql_store_result();
        new uid = mysql_num_rows();
        mysql_free_result();
Shows me this error:

Код:
(4219): error 035: argument type mismatch (argument 2)
Line 4219 is : mysql_query("SELECT id FROM playerdata WHERE user = '%s'",pname)
Reply


Messages In This Thread
Error - by RuNBoY - 11.09.2016, 12:30
Re: Error - by Stuntff - 11.09.2016, 12:34
Re: Error - by Konstantinos - 11.09.2016, 12:49
Re: Error - by RuNBoY - 11.09.2016, 12:51
Re: Error - by Konstantinos - 11.09.2016, 12:52

Forum Jump:


Users browsing this thread: 1 Guest(s)