11.09.2016, 12:30
Hi, whats wrong here?
Shows me this error:
Line 4219 is : mysql_query("SELECT id FROM playerdata WHERE user = '%s'",pname)
Код:
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();
Код:
(4219): error 035: argument type mismatch (argument 2)