01.04.2014, 20:56
Hi, I'm having trouble with this piece of code:
The last line is giving me the error. It says the first argument is an argument mismatch.
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.